992ca82d545f63c1123dccbacb9fd5e69702bde1
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
2
3 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
4
5 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6
7 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
8 and "add_tests" are not at the same address.
9
10 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
11
12 * gdb.base/ptype.exp: Use gdb_test.
13
14 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
15
16 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
17 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
18 left in. No longer expect them to fail.
19
20 * gdb.stabs/*.mt; Deleted, no longer used.
21 * gdb.stabs/configure.in: Remove references to target makefile
22 frags.
23 * gdb.stabs/configure: Rebuilt.
24
25 * gdb.disasm/*.mt: Deleted, no longer used.
26 * gdb.disasm/configure.in: Remove references to target makefile
27 frags. Use "sh3.s" as the unique filename for this directory.
28 * gdb.disasm/configure: Rebuilt.
29
30 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
31 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
32 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
33
34 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
35
36 * config/udi.exp: Use mondfe,name instead of remote_host.
37
38 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
39
40 * gdb.base/watchpoint.exp: Don't expect a failure when calling
41 a function with a watchpoint enabled on the mn10200.
42
43 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
44 before trying to create it!
45
46 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
47
48 * config/vx.exp: Use hostname instead of netport.
49
50 * config/vxworks.exp: New file.
51
52 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
53
54 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
55 gdb before assuming everything worked. Send a ^C if a timeout
56 occurs.
57
58 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
59 $gdb_spawn_id directly.
60 (gdb_run_cmd): Try _start as well as start. Use the target feature
61 gdb,start_symbol as the symbol to start from when jumping.
62
63 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
64
65 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
66 redundant) test.
67
68 * gdb.base/recurse.exp: Relax final value test for 'b' so that
69 it doesn't lose for 16bit integer systems.
70
71 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
72
73 * gdb.fortran/types.exp: If the target doesn't support "double"
74 data types, then expect "real" types to only be 4 bytes.
75
76 * gdb.c++/virtfunc.exp: Expect failure for virtual function
77 call tests if the target doesn't support inferior function calls.
78
79 * gdb.base/printcmds.exp: Allow minor deviation in FP values
80 in printf tests.
81
82 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
83
84 * gdb.base/help.exp: Disable "help set", "help show", and
85 "help support". Simplify regexp for "help stack".
86
87 * gdb.base/default.exp: Set match_max to 5000 and the timeout
88 to 60 seconds. Temporarily set match_max to 15000 around the
89 "info copying" test.
90
91 * gdb.base/nodebug.exp: Don't try to do an inferior function
92 call if the target doesn't support them.
93 * gdb.base/printcmds.exp: Likewise.
94 * gdb.base/setvar.exp: Likewise.
95 * gdb.base/structs.exp: Likewise.
96 * gdb.c++/templates.exp: Likewise.
97 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
98
99 * gdb.base/recurse.exp: Enable for the mn10200.
100
101 * configure.in: Do configure gdb.stabs directory for *-*-elf
102 targets.
103 * configure: Rebuilt.
104
105 * gdb.base/break.exp: Check for gdb,noresults before testing
106 exit status and/or results from the target.
107 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
108 * lib/gdb.exp: Remove old (now bogus) initialization of
109 noinferior, noargs, noresults and nosignals.
110
111 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
112
113 * config/sh.exp: New file.
114
115 * config/slite.exp: Try to connect multiple times to the board
116 before rebooting. Only send a "monitor run" if need_monitor_run
117 is set.
118
119 * gdb.base/break.exp: Don't do the "stub continue" test if
120 the target has gdb_stub set.
121
122 * gdb.base/callfuncs.exp: Increase the timeout.
123
124 * gdb.base/interrupt.exp: Don't even try to compile the testcase
125 if the target has gdb,noinferiorio set.
126
127 * gdb.base/list.exp: Increase match_max to 10000 characters.
128
129 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
130
131 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
132 target.
133
134 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
135
136 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
137
138 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
139 trying to delete the copy of gdb. Catch the file delete so we
140 don't die if the delete fails; also, the file should be copied to
141 the host, not to the build.
142
143 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
144
145 * lib/gdb.exp(gdb_test): Surround the result pattern with
146 parenthesis in case it contains multiple regexps separated
147 with |.
148
149 * gdb.base/watchpoint.exp: Use gdb_test.
150 * gdb.base/default.exp: Ditto.
151
152 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
153
154 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
155
156 * gdb.base/scope.exp: Use gdb_test.
157 * gdb.c++/classes.exp: Ditto.
158 * gdb.c++/inherit.exp: Ditto.
159
160 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
161
162 * gdb.base/crossload.exp: Don't use execute_anywhere, use
163 remote_exec instead.
164 * gdb.base/corefile.exp: Don't be ridiculous.
165 * gdb.base/*.c: Add missing stub invocations.
166
167 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
168
169 * config/slite.exp: Miscellaneous fixes.
170
171 * lib/gdb.exp: Fix runto.
172
173 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
174 the target.
175
176 * gdb.base/watchpoint.exp: Fix regexp.
177
178 * lib/gdb.exp(default_gdb_exit): Add a catch to the
179 close and wait commands, as the descriptor may now be
180 invalid. Always call "remote_close host".
181
182 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
183
184 Major rewrite for testsuite revision.
185
186 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
187 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
188 instead of relying on spawn_id to always contain a valid
189 spawn id.
190 (get_compiler_info): New procedure to build the ${binfile}.ci
191 file, instead of replicating this in N different places.
192 (gdb_compile): New procedure.
193
194 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
195 appropriate arguments) instead of compile. Use gdb_test in a lot
196 more places. Use send_gdb instead of send. Always run gdb_start
197 at the start of a testcase, as this is no longer done magically.
198
199 config/*-gdb.exp: Rename without the -gdb suffix.
200
201 config/mips.exp: Use remote_close instead of exit_remote_shell.
202 config/monitor.exp: Use target_info instead of looking at
203 baud, timeout, etc.
204 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
205
206 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
207
208 * gdb.c++/templates.exp (test_ptype_of_templates),
209 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
210 Update expect patterns for destructors and assignment operators
211 to match corresponding c-typeprint.c changes.
212 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
213 to destructor breakpoint test, GDB should be able to set the
214 destructor breakpoint without specifying arguments.
215
216 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@ninemoons.com>
217
218 * gdb.threads/pthreads.exp: Change result for failure to compile due
219 to lack of pthreads runtime support from an error to simply an
220 unsupported test, per dejagnu standards.
221
222 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
223
224 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
225 where GDB exits to reduce pattern match time.
226 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
227
228 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
229
230 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
231
232 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
233 * gdb.base/default.exp: ditto.
234 * gdb.base/nodebug.exp: ditto.
235 * gdb.base/printcmds.exp: ditto.
236 * gdb.base/ptype.exp: ditto.
237 * gdb.base/setvar.exp: ditto.
238 * gdb.base/structs.exp: ditto.
239 * gdb.base/setshow.c: Guard against uninitialized values of argc.
240
241 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
242
243 * configure, */configure: Rebuild with autoconf 2.12.
244
245 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
246
247 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
248 use new i*86-pc-linux*-gnu quads.
249 * gdb.base/corefile.exp: Ditto.
250 * gdb.base/signals.exp: Ditto.
251 * gdb.base/sigall.exp: Ditto.
252 * gdb.base/interrupt.exp: Ditto.
253
254 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
255 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
256 RedHat 4.0.
257
258 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
259 linux. This allows the test case to at least compile on latest
260 linux, but still not run due to missing the threads runtime library.
261
262 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
263
264 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
265 directory to search gdb directory. Accept and step over conditional
266 stack alignment code. Consume $prompt in failure cases.
267 Reset timeout to $oldtimeout instead of some arbitrary value.
268 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
269 timeout problems with infinite stack backtraces.
270 * gdb.base/ptype.exp (ptype struct link, union tu_link):
271 Accept function parameters for linkfunc member.
272
273 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
274
275 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
276 (CXXFLAGS): Remove, unreferenced.
277 (B_OPTIONS): Add for -B options and add code to initialize with
278 previous -B options and also add -B option to pick up cross compiled
279 runtime.
280 (TARGET_INCLUDES): Add for -I options and add code to initialize when
281 doing cross compiles.
282 (target_alias): Declare global.
283 (xgcc): Set variable to full path of gcc in build tree. Use findfile
284 to verify that gcc exists in build tree, and if so set CC to that
285 gcc and to use B_OPTIONS and TARGET_INCLUDES.
286
287 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
288
289 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
290 ptype test for anonymous union. Fixup testcase to match
291 current gcc debug output.
292
293 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
294
295 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
296 force argument to an unsigned long type.
297
298 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
299
300 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
301 tests and anonymous union print/ptype tests.
302 * gdb.base/list.exp (test_forward-search): Increase timeout by
303 5 minutes for the "search extremely long line" case.
304 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
305 completely optional and that the pass/fail messages use the command as
306 the message if that third arg is a null string.
307 (gdb_test_exact): Arrange that a null string pattern means match a
308 null string output rather than any output, which might include random
309 errors.
310 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
311 backtrace test.
312 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
313 always failing and failure is now exposed by gdb.exp changes.
314
315 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
316
317 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
318 weren't being noted.
319
320 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
321
322 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
323 * gdb.stabs/weird.exp: Remove v_comb xfails.
324
325 start-sanitize-m32r
326 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
327
328 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
329 list.exp scope.exp watchpoint.exp]
330 Make all timeout error msgs explicitly say "(timeout)".
331
332 end-sanitize-m32r
333 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
334
335 * config/monitor.exp: Increase download timeout to 1000 seconds.
336
337 start-sanitize-m32r
338 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
339
340 * config/m32r.exp: Increase timeout to 120 seconds.
341
342 end-sanitize-m32r
343
344 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
345
346 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
347 and accept older ordering as obsolescent gcc or gdb.
348 * gdb.c++/templates.exp: Ditto.
349 * gdb.c++/virtfunc.exp: Ditto.
350
351 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
352
353 * gdb.base/coremaker.c: Add code to mmap some data so we
354 can check that it ends up in the core file.
355 * gdb.base/corefile.exp: Add test to read mmapped data
356 from core file.
357
358 start-sanitize-m32r
359 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
360
361 * config/m32r.exp: New file.
362 end-sanitize-m32r
363
364 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
365
366 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
367 that cflags can contains -gstabs, and work correctly for other tests.
368
369 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
370
371 * gdb.base/setshow.exp: New file, tests show and set.
372 * gdb.base/setshow.c: New file, tests show and set.
373 * gdb.base/help.exp: Add test for help set|show annotate.
374 * gdb.base/default.exp: Add test for set|show annotate.
375
376 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
377
378 * testsuite/gdb.base/break.exp: Make backtrace from factorial
379 errors unique.
380 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
381 explicitly.
382
383 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
384
385 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
386 and width commands. This is done elsewhere.
387 * (gdb_start): Don't call gdb_start_sim here. That's already
388 done in gdb_load. This fixes lots of failures in default.exp.
389
390 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
391
392 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
393 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
394 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
395 in the same we we treat other failures (since it may be an expected
396 condition), rather than as an error.
397 * gdb.base/signals.exp (test_handle_all_print): Revert back to
398 old test format.
399
400 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
401
402 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
403 (distclean maintainer-clean realclean): No need to remove files
404 twice. Nuke the duplicates.
405 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
406 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
407 Remove config.h along with other config files.
408
409 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
410
411 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
412 "p func1 ()" and note that rests of tests are skipped.
413 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
414 setup_xfails for "print func2::coremaker_local".
415 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
416 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
417 affected by the previous run test.
418 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
419 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
420 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
421 "pass int powerset tuple" and "pass modeless int powerset tuple".
422 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
423 "real write 4" and "real write 8".
424 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
425 setup_xfails for "print vs1 after tuple assign 2",
426 "print \$i after tuple assign 2", and
427 "print vs2 after tuple assign 2".
428 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
429 meaningful error message and return -1 so the caller can
430 suppress further tests and avoid a cascade of errors.
431
432 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
433
434 * gdb.base/a1-selftest.exp: Tweak tests to account for new
435 format for printing version.
436 * gdb.base/default.exp: Ditto.
437 * gdb.base/interrupt.exp: Fix problem with cascade of
438 errors if child process dies while calling a function.
439
440 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
441
442 * Makefile.in (VPATH): Add
443 * Makefile.in (Makefile, config.status): Fix rules so things get
444 remade when necessary.
445
446 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
447
448 * Makefile.in (just-check): Add path to sibling expect dir
449 to environment variable specified by RPATH_ENVVAR.
450
451 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
452
453 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
454 (just-check): Add shared library paths for libstdc++, tk,
455 tcl, bfd, and opcodes to the environment variable specified
456 in RPATH_ENVVAR.
457 * configure.in: Add support to recognize --enable-shared flag
458 and generate correct value for RPATH_ENVVAR.
459 * configure: Regenerated with autoconf.
460
461 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
462
463 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
464 include all osf versions.
465 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
466 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
467 when target is linux. When failing to build pthreads test
468 executable, give more meaningful message.
469 * gdb.threads/pthreads.c: Hpux also uses old definition of second
470 arg for pthread_create.
471
472 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
473
474 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
475 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
476 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
477 and -lpthreads (everybody else).
478 (test_startup): Fail gracefully if threads are not supported.
479 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
480 "p/c array_index("abcdef",2)" when not gcc compiled.
481 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
482 "print func2::coremaker_local" when not gcc compiled.
483 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
484 "ptype on opaque struct tagname (statically)",
485 "ptype on opaque struct tagname (dynamically) 1", and
486 "ptype on opaque struct tagname (dynamically) 2"
487 for not compiled with gcc.
488 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
489 backtrace when compiled with gcc.
490 * lib/gdb.exp (runto_main): Return result of "runto main" rather
491 than always return success.
492
493 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
494
495 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
496
497 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
498
499 * gdb.base/structs.exp: Undo last change.
500
501 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
502
503 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
504 encapsulate all the steps/nexts done during self test, starting
505 at main, and makes them less sensitive to optimization issues.
506 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
507 signal handler" test.
508 * gdb.threads/pthreads.exp: Only run this for native configs.
509 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
510 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
511 tests.
512 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
513 for "runto test_calls(void)" test.
514
515 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
516
517 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
518 and don't expect address info in breakpoint confirmations.
519
520 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
521
522 * gdb.base/list.exp (test_forward_search): Increase timeout
523 temporarily by 60 seconds for searching extremely long line,
524 and then reset to old value when done. Increase expect input
525 buffer to 10000.
526
527 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
528
529 * gdb.base/list.exp (test_forward_search): Fix to handle very
530 long source line without overflowing expect's input buffer.
531
532 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
533
534 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
535 "buffer_full".
536
537 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
538 "buffer_full".
539
540 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
541 "buffer_full".
542
543 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
544 "buffer_full".
545
546 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
547
548 * configure.in (configdirs): Add gdb.threads.
549 * configure: Regenerated with autoconf.
550 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
551 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
552 * gdb.threads/configure: New, generated with autoconf.
553
554 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
555
556 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
557
558 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
559
560 * gdb.base/signals.exp (test_handle_all_print): Test separately for
561 each signal's status in the output of "handle all print".
562 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
563 the \r\n sequence that immediately precedes the gdb prompt.
564 * gdb.base/a1-selftest.exp: Save original timeout and restore
565 after test.
566
567 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
568
569 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
570 symbol.
571
572 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
573
574 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
575
576 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
577
578 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
579 timeout by 60 seconds.
580
581 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
582
583 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
584 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
585 error return.
586
587 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
588
589 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
590 gdb initialization, also report how long dejagnu waited. Restore
591 old timeout before doing error return. Temporarily increase timeout
592 by 3 minutes to allow for slow startups over heavy NFS use.
593
594 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
595
596 * lib/gdb.exp: Report timeout value for verbosity level 2.
597 * config/gdbserver.exp: Ditto.
598 * config/hppro.exp: Ditto.
599 * config/mips-gdb.exp: Ditto.
600 * config/monitor.exp: Ditto.
601 * config/netware.exp: Ditto.
602 * config/sim-gdb.exp: Ditto.
603 * config/slite-gdb.exp: Ditto.
604 * config/udi-gdb.exp: Ditto.
605 * config/unix-gdb.exp: Ditto.
606 * config/vx-gdb.exp: Ditto.
607 * gdb.base/a1-selftest.exp: Ditto.
608 * gdb.base/a2-run.exp: Ditto.
609 * gdb.base/break.exp: Ditto.
610 * gdb.base/corefile.exp: Ditto.
611 * gdb.base/list.exp: Ditto.
612 * gdb.base/recurse.exp: Ditto.
613 * gdb.base/scope.exp: Ditto.
614 * gdb.base/signals.exp: Ditto.
615
616 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
617
618 * gdb.threads/Makefile.in (docdir): Removed.
619
620 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
621
622 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
623 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
624 @srcdir@.
625 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
626 autoconf 2.5 or higher.
627 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
628
629 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
630
631 * configure: Regenerated.
632 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
633 avoid name clashes with SunOS headers.
634
635 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
636
637 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
638
639 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
640
641 * gdb.base/callfuncs.exp: Finish last change -- make sure the
642 prototype information ends up in the compiler info file.
643
644 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
645
646 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
647 attempting to regenerate it. Eliminate use of a temporary file
648 and just generate the info file directly. Source it immediately,
649 for consistency of use.
650 * gdb.base/corefile.exp: Ditto
651 * gdb.base/exprs.exp: Ditto.
652 * gdb.base/funcargs.exp: Ditto.
653 * gdb.base/langs.exp: Ditto.
654 * gdb.base/list.exp: Ditto.
655 * gdb.base/mips_pro.exp: Ditto.
656 * gdb.base/nodebug.exp: Ditto.
657 * gdb.base/opaque.exp: Ditto.
658 * gdb.base/ptype.exp: Ditto.
659 * gdb.base/scope.exp: Ditto.
660 * gdb.base/setvar.exp: Ditto.
661 * gdb.base/signals.exp: Ditto.
662 * gdb.base/whatis.exp: Ditto.
663 * gdb.c++/templates.exp: Ditto.
664 * gdb.c++/virtfunc.exp: Ditto.
665 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
666 whether or not to add -lstdc++ to the compile command line args.
667
668 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
669
670 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
671 it got fixed by the recent lookup_minimal_symbol_by_pc change.
672 Increase timeout, a lot of single stepping might be needed if the
673 target has no hardware watchpoints.
674
675 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
676
677 * gdb.base/break.exp: Ignore compiler warnings when compiling
678 break.c.
679 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
680 * gdb.base/default.exp: Add h8300 xfails. Handle messages
681 from remote-sim.
682 * gdb.base/exprs.exp: Add h8300 xfails.
683 * gdb.base/funcargs.exp: Likewise.
684 * gdb.base/nodebug.exp: Likewise.
685 * gdb.base/printcmds.exp: Likewise.
686 * gdb.base/ptype.exp: Likewise.
687 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
688 h8300 xfails.
689 * gdb.base/return.exp: Handle float/double precision problems
690 on the h8300.
691 * gdb.base/funcargs.c: Explicitly make last constant argument to
692 call_after_alloca_subr an unsigned long type.
693 * gdb.base/return.c: Include stdio.h.
694
695 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
696
697 * config/abug.exp: New file for the older Motorola Bug monitor
698 that runs on the mvme13x series VME boards.
699 * config/monitor.exp: Use the new config array for target settings
700 if they exist.
701
702 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
703
704 * sim-gdb.exp: Make the SH simulator allocate less space when
705 it is targeted.
706
707 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
708
709 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
710 test.
711
712 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
713
714 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
715 "rs6000-*-*" for "list function in include file" when gcc compiled.
716 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
717 for "p ctable1[120]".
718 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
719 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
720 Remove setup_xfail for "rs6000-*-*" for
721 "print 'scope0.c'::filelocal before run".
722 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
723 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
724 since some compilers don't allow both options to be given
725 on the same command line. Create object file and move it.
726
727 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
728
729 * gdb.base/corefile.exp: Always regenerate the core file, since
730 we always regenerate the coremaker program. Detect special case
731 where registers cannot be read from core file.
732
733 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
734
735 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
736 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
737 * gdb.c++/templates.exp: Only match on basename of file since
738 some formats like xcoff don't encode directory information.
739 * gdb.stabs/weird.exp: Use the right sed script for powerpc
740 and rs6000 AIX xcoff targets.
741 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
742 * configure: Regenerate.
743 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
744 here, rather than in distclean.
745
746 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
747
748 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
749 defined, and use it to compile the test case with -O2. The
750 native compilation still uses no optimization.
751 * gdb.base/mips_pro.c: Remove inline assembly code since
752 it is compiled PIC by default, which results in assembler
753 warnings that make the testsuite think the compilation
754 was unsuccessful.
755
756 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
757
758 * gdb.c++/misc.exp: Add note to message for
759 "print s.a for foo struct" that this is a known gcc 2.7.2
760 and earlier bug.
761
762 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
763
764 * gdb.base/break.exp: Fix pattern for matching "Delete all
765 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
766 setup_xfail for deleting all breakpoints test. Fix various
767 timeout messages to include "(timeout)".
768 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
769 for "p t_float_values2(3.14159,float_val2)".
770 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
771 for "continue to call2g" when gcc compiled.
772 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
773 "up to foo in langs.exp", "show language at foo in langs.exp",
774 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
775 and "show language at fsub in langs.exp".
776 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
777 "list line 1 in include file", "list message for lines past EOF",
778 "list function in include file", "list list0.h:foo", and
779 "list filename:function; nonexistant function".
780 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
781 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
782 and "ptype t_char_array" to be for native cc only.
783
784 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
785
786 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
787 setup_xfail for "print coremaker_bss", "print coremaker_ro",
788 "print func2::coremaker_local", and "backtrace in corefile.exp".
789
790 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
791
792 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
793 "bt in signals.exp". This problem only appears when running
794 the testsuite, and then only intermittently.
795
796 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
797
798 * gdb.base/return.exp (return_tests): Differentiate between
799 two tests of continuing.
800
801 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
802
803 * */Makefile.in (maintainer-clean): Remove config.log.
804 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
805 * gdb.c++/Makefile.in (PROGS): Add inherit.
806 (clean): Remove *.ci.
807
808 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
809
810 * gdb.c++/misc.cc: Add test code from Mike Stump.
811 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
812
813 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
814
815 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
816 to "alpha-*-osf2*" and add comment.
817 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
818 setup_xfail for "step over execarg initialization" and
819 "step over corearg initialization".
820 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
821 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
822 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
823 gcc compiled for "print coremaker_bss", "print coremaker_ro",
824 "print func2::coremaker_local", and "backtrace in corefile.exp".
825 * gdb.base/signals.exp: Build and source signals.ci.
826 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
827 to be for gcc only.
828 * lib/gdb.exp: Move verbose statements outside conditionals.
829
830 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
831
832 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
833 Feb 3 procfs.c change.
834
835 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
836
837 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
838
839 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
840
841 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
842 from dejagnu's apparent default of 10 seconds, which gives random
843 results when running the tests over NFS on moderately loaded systems.
844 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
845
846 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
847
848 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
849 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
850 result reports.
851
852 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
853
854 * configure.in (CY_AC_PATH_TCLH): Remove.
855 * configure: Regenerate.
856
857 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
858
859 * gdb.c++/Makefile.in (clean): Add missing '{'.
860
861 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
862
863 * lib/gdb.exp: Provide a default value for noinferior.
864
865 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
866 Load libgloss.exp.
867
868 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
869
870 * gdb.disasm/hppa.exp: Compile directly into an executable, use
871 the executable, not the .o to run the tests from.
872
873 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
874
875 * gdb.base/break.exp: Don't test for program exit or exit status
876 if $noresults if nonzero.
877 * gdb.base/langs.exp: Likewise.
878 * gdb.base/watchpoint.exp: Likewise.
879
880 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
881 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
882 trying to compile the testcase.
883
884 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
885
886 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
887 * gdb.base/signals.exp (continue to handler): Likewise.
888
889 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
890
891 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
892
893 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
894
895 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
896
897 * gdb.base/corefile.exp: Recognize "not found" as failure
898 when trying to determine if a core file was generated.
899 If no core file was generate the first time, try again without
900 the ulimit -c to work around braindamaged shells.
901
902 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
903
904 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
905 [] tests with "test" and enclose string in quotes.
906 * gdb.stabs/configure: Rebuild
907
908 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
909
910 Changes in sync with expect:
911 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
912 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
913 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
914 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
915 argument to AC_REQUIRE.
916 * configure: Regenerated.
917
918 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
919
920 * gdb.base/corefile.exp: When generating a core, discard any
921 error messages about ulimit not found and the "core dumped"
922 message from the shell that runs the coredumper.
923
924 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
925
926 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
927
928 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
929 which sed script to run. Expect failure for v_comb test
930 on PA targets too.
931
932 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
933
934 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
935 "print func2::coremaker_local" and for "backtrace in corefile.exp"
936
937 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
938
939 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
940 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
941 "sparc-sun-solaris*" xfails for "p v_comb".
942 * lib/gdb.exp (default_gdb_start): Fix typo.
943 * gdb.base/corefile.exp: Allow "Core was generated by ..."
944 messages to not include the full program name that caused
945 the core dump since some systems (such as solaris) apparently
946 truncate this path to about 80 characters.
947 When generating a core file first try increasing the core file
948 size limit to unlimited since some systems may default it to
949 zero, and it is harmless to try it. Move the test for failing
950 to generate a core file to where it will actually get executed.
951 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
952 new gdb result from g++ debug info improvements and make old
953 pattern obsolescent. Also account for size_t differences
954 (may be int or long).
955 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
956 initialization before function call is placed in the delay slot
957 and thus appears to be skipped over by commands such as "next".
958
959 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
960
961 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
962
963 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
964
965 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
966 input source file; fix code to compile test to deal with this
967 convention.
968 * gdb.c++/*.exp: Likewise.
969
970 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
971
972 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
973 "bt in signals.exp".
974
975 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
976
977 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
978 "step over execarg initialization" and
979 "step over corearg initialization".
980
981 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
982
983 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
984 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
985
986 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
987
988 From Rob Savoye (rob@poseidon.cygnus.com)
989 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
990 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
991 configure.in}, gdb.disasm/{Makefile.in, configure.in},
992 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
993 configure.in}: Major reworking for autoconfig.
994 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
995 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
996 New files.
997 * config/unix-gdb.exp: Make GDB global.
998 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
999 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
1000 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
1001 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
1002 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
1003 term.exp, twice.exp, watchpoint.exp, whatis.exp},
1004 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
1005 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
1006 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
1007 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
1008 pr-8136.exp, result.exp, string.exp, tuples.exp},
1009 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
1010 to returns as necessary, arrange for test to compile own testcase
1011 executable.
1012 * lib/gdb.exp: Changes for testsuite to compile own test cases.
1013
1014 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
1015
1016 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
1017 clear_xfail at end of test which might not call either pass or fail.
1018 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
1019 "backtrace through signal handler".
1020
1021 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1022
1023 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
1024 continuing from a job control stop signal.
1025 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
1026
1027 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
1028
1029 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
1030 * gdb.base/corefile.exp: Likewise.
1031 * gdb.base/funcargs.exp: Likewise.
1032
1033 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
1034
1035 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
1036 * config/monitor.exp: Add support for setting baud rate.
1037
1038 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
1039
1040 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
1041 i*86-*-linux* xfails for "backtrace through signal handler".
1042 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
1043 "print func2::coremaker_local".
1044 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
1045 alpha-dec-osf2* xfail for
1046 "delete all breakpoints when none".
1047
1048 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
1049
1050 * gdb.base/break.exp: Change test that deletes all breakpoints
1051 when no user breakpoints are installed. A post 4.15 change
1052 causes gdb to no longer prompt in this case.
1053
1054 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
1055
1056 * gdb.base/return.exp (return_tests): Change xfail for test
1057 "correct value returned double test" to stop xfailing at
1058 Solaris 2.5. Apparently the bug has been fixed.
1059
1060 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
1061
1062 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
1063 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1064
1065 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
1066
1067 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
1068 * gdb.disasm/hppa.s: Corresponding changes.
1069
1070 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
1071
1072 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
1073 makefile fragment.
1074 * config/mt-hpux: Deleted.
1075
1076 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
1077
1078 * Many files: When warning about suppressed tests due to a
1079 nonexistant test binary, avoid incrementing the warning count.
1080
1081 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
1082
1083 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
1084
1085 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1086
1087 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
1088 "sparc-*-solaris2*".
1089
1090 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1091
1092 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
1093 Add global and local variables and initialize them.
1094 * gdb.base/corefile.exp: Test correct mapping of corefile sections
1095 by printing variables. Remove rs6000 and powerpc xfails, BFD now
1096 extracts the file name and terminating signal from the core file.
1097 * TODO: Remove note about tests for correct mapping of corefile.
1098 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
1099 from optimizing it away.
1100 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
1101 handles common blocks.
1102
1103 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
1104
1105 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
1106 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
1107
1108 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
1109
1110 * Makefile.in (maintainer-clean): New target, synonym for
1111 realclean.
1112 * gdb.base/Makefile.in (maintainer-clean): Likewise.
1113 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
1114 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
1115 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
1116 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
1117 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
1118
1119 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
1120
1121 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
1122 xfails when not gcc compiled for "print foo::funclocal".
1123 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
1124 "print foo::funclocal at foo",
1125 "print 'scope1.c'::foo::funclocal at foo",
1126 "print foo::funclocal_bss at foo",
1127 "print 'scope1.c'::foo::funclocal_bss at foo",
1128 "print foo::funclocal_ro at foo",
1129 "print 'scope1.c'::foo::funclocal_ro at foo",
1130 "print bar::funclocal at foo" and
1131 "print 'scope1.c'::bar::funclocal at foo".
1132 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
1133 gcc compiled for "print foo::funclocal at bar".
1134 Expand all messages to ensure that they identify that
1135 the test is at bar().
1136 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
1137 gcc compiled for:
1138 "ptype on opaque struct pointer (statically)",
1139 "ptype on opaque struct tagname (statically)",
1140 "ptype on opaque struct pointer (dynamically) 1",
1141 "ptype on opaque struct tagname (dynamically) 1",
1142 "ptype on opaque struct pointer (dynamically) 2" and
1143 "ptype on opaque struct tagname (dynamically) 2
1144 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
1145 gcc compiled for:
1146 "p datalocal"
1147 "whatis datalocal",
1148 "ptype datalocal",
1149 "p bsslocal",
1150 "whatis bsslocal", and
1151 "ptype bsslocal".
1152 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
1153 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
1154 when not gcc compiled.
1155 * gdb.base/funcargs.exp (float_and_integral_args): Add
1156 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
1157 compiled.
1158 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
1159 "backtrace from call6a" when not gcc compiled.
1160 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
1161 "backtrace from call7a" when not gcc compiled.
1162 * gdb.base/callfuncs.exp (do_function_calls):
1163 Add "hppa*-*-hpux*" xfail when not gcc compiled for
1164 "p t_char_array_values(char_array_val2,char_array_val1)",
1165 "p t_char_array_values(char_array_val1,char_array_val2)",
1166 "p t_char_array_values("carray 1","carray 2")",
1167 "p t_char_array_values("carray 1",char_array_val2)",
1168 "p t_char_array_values(char_array_val1,"carray 2")",
1169 "p sum_args(1,{2})",
1170 "p sum_args(2,{2,3})",
1171 "p sum_args(3,{2,3,4})",
1172 "p sum_args(4,{2,3,4,5})"
1173 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
1174 "backtrace in corefile.exp" when not gcc compiled.
1175
1176 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1177
1178 * gdb.base/signals.exp: Rewrite `handle all print' test as
1179 a procedure. Accept blanks or TABs as whitespace, increase
1180 timeout and expect input buffer size for the large output
1181 from the command. Remove "i*86-*-bsdi2.0" xfail.
1182
1183 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1184
1185 * gdb.base/setvar.exp: Add new testcases for truncation when
1186 assigning invalid values to bitfields.
1187
1188 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
1189
1190 * gdb.base/callfuncs.exp (do_function_calls): Remove
1191 mips-sgi-irix* xfail for
1192 "call inferior func with struct - returns char *"
1193 and fix test so that an optional (unsigned char *) cast is
1194 accepted in the result.
1195
1196 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
1197
1198 * gdb.base/funcargs.exp (float_and_integral_args): Remove
1199 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1200 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
1201 * gdb.base/signals.exp: Remove duplicate "handle all print" test
1202 that accidentally got checked in.
1203
1204 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
1205
1206 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
1207 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
1208 compiled test.
1209 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
1210 Add mips-sgi-irix5* xfail for not gcc compiled.
1211 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
1212 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
1213 "p top", "whatis top", "p middle", and "whatis middle".
1214 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
1215 "whatis signed char" for not gcc compiled.
1216 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
1217 "set variable signed char=-1 (-1)" and
1218 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
1219 * gdb.base/funcargs.exp (float_and_integral_args):
1220 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
1221 Add mips-sgi-irix* xfail when not gcc compiled for
1222 "continue to call2b".
1223 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
1224 "continue to call2g".
1225 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
1226 "backtrace from call6a"
1227 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
1228 "backtrace from call7k".
1229 Add mips-sgi-irix5* xfail when not gcc compiled for
1230 "backtrace from call7a".
1231 (localvars_after_alloca): Fix gdb_test cmds for
1232 "print * after runto ...".
1233 Remove rs6000-*-* xfails for
1234 "print i after runto localvars_after_alloca" and
1235 "print l after runto localvars_after_alloca"
1236 for all compilers.
1237 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
1238 when not compiled with gcc, for:
1239 "print signed char == (minus)",
1240 "print signed char != (minus)",
1241 "print signed char < (minus)",
1242 "print signed char > (minus)".
1243 * gdb.base/callfuncs.exp (do_function_calls):
1244 Add mips-sgi-irix* xfail, when compiled with native compiler, for
1245 "call inferior func with struct - returns char *".
1246 * gdb.base/return.exp (return_tests): Change xfail for
1247 "correct value returned double test" to include Solaris 2.4.
1248 * gdb.base/funcargs.exp (float_and_integral_args):
1249 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1250
1251 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1252
1253 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
1254 enumeration bitfields if compiling with GNU C.
1255 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
1256 to empty' prompt.
1257
1258 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
1259
1260 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
1261 test for PRO targets.
1262
1263 * gdb.base/funcargs.exp: Avoid ever setting more than 8
1264 breakpoints in the inferior at any given time by making
1265 two groups of breakpoints for call2*, call6* and call7*
1266 tests.
1267
1268 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1269
1270 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
1271 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
1272 from optimizing it away.
1273 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
1274 "call inferior func with struct".
1275
1276 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
1277
1278 * configure.in: Only configure gdb.chill for particular targets.
1279
1280 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
1281
1282 * gdb.base/Makefile.in: Add action to .c.o transformation
1283 rule that generates a .ci file for each .o file and remove
1284 explicit .c.o rules except for callfuncs.o.
1285 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
1286 generates a .ci file for each .o file and remove explicit
1287 .cc.o rules.
1288 (clean): Remove *.tmp *.ci files.
1289 (EXECUTABLES): Remove templ-info.exp.
1290 * gdb.base/compiler.c: New file.
1291 * gdb.c++/compiler.cc: New file
1292 * gdb.base/scope.exp: Source gdb.base/scope.ci.
1293 Change rs6000-*-* xfail for
1294 "print 'scope0.c'::filelocal_ro" and
1295 "print 'scope1.c'::filelocal" and
1296 "print 'scope1.c'::filelocal_bss" and
1297 "print 'scope1.c'::filelocal_ro" and
1298 "print 'scope1.c'::foo::funclocal" and
1299 "print 'scope1.c'::foo::funclocal_ro" and
1300 "print 'scope1.c'::bar::funclocal" and
1301 "print 'scope0.c'::filelocal_ro" and
1302 "print 'scope1.c'::filelocal at foo" and
1303 "print 'scope1.c'::filelocal_bss at foo" and
1304 "print 'scope1.c'::filelocal_ro at foo" and
1305 "print 'scope1.c'::foo::funclocal at foo" and
1306 "print 'scope1.c'::foo::funclocal_bss at foo" and
1307 "print 'scope1.c'::foo::funclocal_ro at foo" and
1308 "print 'scope1.c'::bar::funclocal at foo" and
1309 "print 'scope0.c'::filelocal_ro" and
1310 "print 'scope1.c'::filelocal" and
1311 "print 'scope1.c'::filelocal_bss" and
1312 "print 'scope1.c'::filelocal_ro" and
1313 "print 'scope1.c'::foo::funclocal" and
1314 "print 'scope1.c'::foo::funclocal_bss" and
1315 "print 'scope1.c'::foo::funclocal_ro" and
1316 "print 'scope1.c'::bar::funclocal" and
1317 "print 'scope1.c'::bar::funclocal_bss"
1318 to only be xfail'd when not compiled with gcc.
1319 Add rs6000-*-* xfail for
1320 "print 'scope0.c'::filelocal_bss before run"
1321 when compiled with gcc.
1322 (test_at_main): Add rs6000-*-* xfail for
1323 "print filelocal_ro in test_at_main"
1324 when compiled with gcc.
1325 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
1326 Add rs6000-*-aix* xfail for
1327 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
1328 "ptype t_char_array", not compiled with gcc.
1329 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
1330 xfail for "list foo (in include file)" when gcc compiled.
1331 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
1332 (integral_args): Add rs6000-*-* xfail for
1333 "run to call0a" if not compiled with gcc.
1334 (unsigned_integral_args): Add rs6000-*-* xfail for
1335 "run to call1a" if not compiled with gcc.
1336 (float_and_integral_args): Add rs6000-*-* xfail for
1337 "run to call2a" if not compiled with gcc and for
1338 "continue to call2b" for any compiler.
1339 Add rs6000-*-* xfail to
1340 "print f1 after run to call2a" for gcc compiled.
1341 (discard_and_shuffle): Add rs6000-*-* xfail for
1342 "run to call6a".
1343 (shuffle_round_robin): Add rs6000-*-* xfail for
1344 "backtrace from call7a" if not compiled with gcc.
1345 Add rs6000-*-* xfail for
1346 "backtrace from call7b" if compiled with gcc.
1347 (call_after_alloca): Add rs6000-*-* xfail for
1348 "print c in call_after_alloca" and
1349 "print s in call_after_alloca" and
1350 "backtrace from call_after_alloca_subr"
1351 if not compiled with gcc.
1352 (localvars_in_indirect_call): Add rs6000-*-* xfail for
1353 "print c in localvars_in_indirect_call" and
1354 "print c in localvars_in_indirect_call" and
1355 "backtrace in indirectly called function" and
1356 "stepping into indirectly called function"
1357 if not compiled with gcc.
1358 (localvars_after_alloca): Add rs6000-*-* xfail for
1359 "print c after runto localvars_after_alloca" and
1360 "print s after runto localvars_after_alloca" and
1361 "print i after runto localvars_after_alloca" and
1362 "print l after runto localvars_after_alloca"
1363 for all compilers.
1364 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
1365 than whatis-info.exp.
1366 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
1367 than opaque-info.exp.
1368 Setup rs6000-*-* xfail for
1369 "ptype on opaque struct pointer (statically)" and
1370 "ptype on opaque struct pointer (dynamically)" when
1371 not compiled with gcc.
1372 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
1373 rather than callf-info.exp.
1374 (do_function_calls): Add clear_xfail for rs6000-*-* for
1375 "p t_float_values2(3.14159,float_val2)". Seems to work
1376 fine there, both with xlc and gcc. Need to find out what
1377 it is doing right and fix other platforms.
1378 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
1379 "call inferior func with struct - returns int",
1380 "call inferior func with struct - returns long",
1381 "call inferior func with struct - returns float",
1382 "call inferior func with struct - returns double",
1383 "call inferior func with struct - returns char *",
1384 but only if not gcc compiled (presumes xlc compiled).
1385 Change rs6000-*-* xfails for
1386 "call inferior func with struct - returns char" and
1387 " call inferior func with struct - returns short" to only
1388 xfail if not using gcc.
1389 (clean mostlyclean): Remove *.ci and *.tmp files.
1390 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
1391 than templ-info.exp.
1392 * gdb.base/langs.exp: Source gdb.base/langs.ci.
1393 Add rs6000-*-* xfail for "up to foo in langs.exp"
1394 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
1395 when not gcc compiled.
1396
1397 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1398
1399 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
1400 * gdb.base/corefile.exp: Likewise.
1401 * gdb.base/list.exp: Likewise.
1402 * gdb.base/scope.exp: Likewise.
1403 * gdb.base/siganls.exp: Likewise.
1404
1405 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
1406 compiler output.
1407 * gdb.base/whatis.exp: Likewise.
1408
1409 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
1410
1411 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
1412 failure (opcode table has been fixed to match reality).
1413
1414 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
1415
1416 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
1417 "call inferior func with struct - returns char",
1418 "call inferior func with struct - returns short"
1419
1420 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
1421 "print 'scope0.c'::filelocal at main",
1422 "print 'scope0.c'::filelocal_bss in test_at_main",
1423 "print 'scope0.c'::filelocal at foo",
1424 "print 'scope0.c'::filelocal_bss in test_at_foo",
1425 "print 'scope0.c'::filelocal at bar",
1426 "print 'scope0.c'::filelocal_bss in test_at_bar"
1427
1428 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
1429 in source file 1". This bug seems to have been fixed with both
1430 gcc and native cc (was native assembler bug?).
1431
1432 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
1433
1434 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
1435 "backtrace through signal handler" to "i*86-*-sysv4*".
1436 * gdb.base/signals.exp: Add xfail for "'next' behaved as
1437 continue" case. Add "known SVR4 bug" to fail message.
1438 Add "i*86-*-bsdi2.0" xfail for "handle all print".
1439 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
1440 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
1441 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
1442 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
1443 "up to foo in langs.exp", "show language at foo in
1444 langs.exp", "up to cppsub_ in langs.exp", "show
1445 language at cppsub_ in langs.exp", "up to fsub in
1446 langs.exp", and "show language at fsub in langs.exp".
1447 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
1448 "bactrace in corefile.exp".
1449 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
1450 "call inferior function with struct - returns float" and
1451 "call inferior function with struct - returns double".
1452
1453 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
1454
1455 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
1456 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
1457 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
1458 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
1459
1460 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
1461
1462 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
1463 (or overriden) "CHILL" macro rather then bare "gcc".
1464 Also look for ../../gcc/xgcc since that is what we will
1465 actually need, not "Makefile". Remove following assignment
1466 of CHILL to CHILL_FOR_TARGET because that results in
1467 recursive definition.
1468
1469 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
1470
1471 * gdb.base/corefile.exp: Change xfail for backtrace in
1472 corefile.exp from linuxaout to all linux.
1473 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
1474 cases where we miss the breakpoint at the signal handler
1475 for some reason. Setup xfail for linuxoldld/linuxaout and
1476 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
1477 hitting SIGURG breakpoint.
1478 * gdb.base/signals.exp: Setup xfail for "next" acting like
1479 continue to add linuxoldld. Setup xfail for all linux for
1480 "next to handler in signals_tests_1", "backtrace in
1481 signals_tests_1", "continue to func1", "pass SIGUSR1",
1482 and continue to handler".
1483
1484 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1485
1486 * Update all FSF addresses except those in COPYING* files.
1487
1488 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
1489
1490 * gdb.base/a2-run.exp: Change messages to be more explicit about
1491 the status of args, and quote binfile in results.
1492
1493 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
1494
1495 * gdb.base/callfuncs.exp: Add tests for passing structs to
1496 inferior functions and return various types.
1497 * gdb.base/callfuncs.c: Add functions to receive a struct
1498 and return a member of the struct, in various types.
1499
1500 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1501
1502 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
1503
1504 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
1505
1506 * config/vxworks29k.exp: New file, sources vxworks.exp.
1507
1508 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1509
1510 * config/gdbremote.exp: New file. Testing framework using
1511 gdbserver.
1512
1513 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
1514
1515 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
1516 "call function when asleep" and "send end of file".
1517 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
1518 for "backtrace in corefile.exp".
1519 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
1520 for "backtrace through signal handler".
1521 * gdb.base/corefile.exp: Make sure we actually generate a core file
1522 before trying the core tests. Some systems allow the user to suppress
1523 generation of core files and default to that (linux for example).
1524 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
1525 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
1526
1527 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1528
1529 * gdb.threads: New directory with some crude multi-threaded
1530 gdb tests (step.exp and step2.exp).
1531 * config/mt-lynx (STEP_EXECUTABLE): Define.
1532 (THREADFLAGS): Define.
1533
1534 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
1535
1536 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
1537
1538 * gdb.base/signals.exp: Disable whole file for lynx until
1539 further notice.
1540
1541 * gdb.base/signals.exp: xfail test where "next" acts like
1542 "continue" for lynx.
1543
1544 * gdb.base/interrupt.exp: xfail test for calling function while
1545 inferior is asleep for lynx.
1546
1547 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
1548 than one cr-lf after each command.
1549
1550 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1551
1552 * configure.in: Reinstate setting of stabsdirs variable, fix
1553 typo in setting up configdirs for native builds.
1554
1555 * gdb.base/return.exp: Fix typo in return double test.
1556 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
1557 compiler from optimizing them away.
1558
1559 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
1560
1561 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
1562 sequences to be echo'd by gdb when using gdb_test.
1563 * gdb.chill/chexp.exp: Likewise.
1564 * gdb.fortran/exprs.exp: Likewise
1565
1566 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1567
1568 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
1569 after the inferior gdb has started.
1570
1571 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
1572 after each command.
1573 * gdb.base/funcargs.exp: Likewise.
1574 * gdb.base/gdbvars.exp: Likewise.
1575 * gdb.base/interrupt.exp: Likewise.
1576 * gdb.base/list.exp: Likewise.
1577 * gdb.base/watchpoint.exp: Likewise.
1578 * gdb.c++/demangle.exp: Likewise.
1579 * gdb.c++/inherit.exp: Likewise.
1580 * gdb.chill/chexp.exp: Likewise.
1581 * gdb.fortran/exprs.exp: Likewise.
1582
1583 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
1584 test if we can't handle IO to/from the inferior.
1585
1586 * gdb.c++/misc.exp: Always check for a program already being
1587 started after sending a "run" command to gdb.
1588
1589 * gdb.base/twice.exp: Start with a fresh gdb.
1590
1591 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
1592 only depend on gdb's expression code, not the chill runtime.
1593
1594 * gdb.base/return.c: Put return values into variables so we
1595 can have gdb print them rather than depending on the program
1596 to print them.
1597 * gdb.base/return.exp: Corresponding changes.
1598
1599 * lib/gdb.exp: Provide default value for noinferiorio.
1600 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
1601 the inferior.
1602
1603 * gdb.base/break.exp: Always check for a program already being
1604 started after sending a "run" command to gdb.
1605 (text_next_with_recursion): Don't check the output from the
1606 program's printf statement. Instead just make sure the program
1607 exited.
1608
1609 * gdb.base/commands.exp: Protect tests which need arguments with
1610 $noargs conditionals.
1611
1612 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1613
1614 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
1615 of structure member arrays to match gdb/valops.c:value_addr change.
1616
1617 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
1618
1619 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
1620 cases.
1621
1622 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
1623
1624 * configure.in (configdirs): Remove gdb.chill from default list
1625 of subdirs and then add it back in only if doing a native build.
1626 The current chill compiler does not yet work in any cross build.
1627 * Revert all signal changes from Jul 6.
1628 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
1629 for sh-hms targets, allowing these tests to link, with no other
1630 changes. Testing is suppressed by setting "nosignals" in site.exp.
1631
1632 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
1633
1634 * configure.in (signaldirs): Define and add to configdirs for all
1635 targets except some specific ones that are known to not support signals.
1636 Also clean up formatting.
1637 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
1638 (signals, sigall): Remove rules to build.
1639 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
1640 Moved to new gdb.signals directory.
1641 * gdb.signals: New test directory.
1642 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
1643 signals.c signals.exp}: New or moved files.
1644
1645 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
1646
1647 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
1648
1649 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
1650
1651 * gdb.base/return.exp: Xfail `return double' test failure
1652 on at least Solaris 2.3 and handle future/past versions on
1653 a case by case basis as appropriate. Also update message
1654 to include i*86 failures.
1655
1656 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1657
1658 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
1659
1660 * lib/gdb.exp: Fix comment which erroneously identified
1661 gdb_file_cmd as gdb_load (the 19 May change was in fact to
1662 gdb_file_cmd not gdb_load).
1663 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1664
1665 * gdb.base/setvar.exp: Make test names consistent between pass and
1666 fail cases. Use gdb_test more.
1667
1668 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1669
1670 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
1671
1672 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1673
1674 * gdb.base/help.exp: Fix expected help string for `show commands'.
1675
1676 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1677
1678 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
1679
1680 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
1681 of a text section.
1682
1683 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
1684
1685 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
1686 that loop eventually terminates. Fix Connection refused logic so
1687 that testsuite will expire nicely.
1688
1689 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
1690
1691 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
1692 config/rom68k.exp: New tcl glue for the appropriate monitors.
1693 These all just end up calling monitor.exp.
1694 * config/monitor.exp (gdb_target_monitor): Handle `Connection
1695 refused' by retrying. Cleanup some timeout issues.
1696 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
1697 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
1698 callers don't have to set/restore global timeout variable.
1699
1700 * The following set of changes centralizes management of the global
1701 timeout variable. This way, it can be set in one target dependent
1702 place instead of dozens of places scattered throughout the test suite.
1703 If you need to lengthen a timeout, then you should either set timeout
1704 in one of the config/{target}.exp files, or multiply it by a factor.
1705 Setting it to an absolute value is always going to lose for some
1706 targets.
1707 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
1708 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
1709 * gdb.base/funcargs.exp: Don't set timeout.
1710 * gdb.base/list.exp (test_forward_search): Only use local timeout.
1711 * gdb.base/printcmds.exp (test_print_string_constants
1712 test_print_array_constants): Don't set timeout.
1713 * gdb.base/ptype.exp: Don't set timeout.
1714 * gdb.base/recurse.exp: Don't set timeout.
1715 * gdb.base/return.exp: Don't set timeout.
1716 * gdb.base/watchpoint.exp: Don't set timeout.
1717 * gdb.c++/classes.exp (do_tests): Don't set timeout.
1718 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
1719
1720 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
1721
1722 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
1723
1724 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1725
1726 * lib/gdb.exp: Disable chill tests for irix5.
1727
1728 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1729
1730 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
1731 each test pass or fail.
1732
1733 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1734
1735 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
1736 xlc not gcc.
1737
1738 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
1739
1740 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
1741
1742 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
1743
1744 * config/est.exp: Fix copyright and comments. Remove dead code.
1745 Use targetname, serialport and baud variables instead of fixed
1746 constants.
1747 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
1748 * config/cpu32bug.exp: New file to support cpu32bug monitors.
1749
1750 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1751
1752 * gdb.base/watchpoint.exp: Don't run
1753 test_watchpoint_triggered_in_syscall for sunos.
1754
1755 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1756
1757 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
1758 they don't seem to exist. Do include stdio.h.
1759
1760 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1761
1762 * gdb.base/a1-selftest.exp: Add alpha xfail.
1763
1764 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1765
1766 * gdb.base/watchpoint.c (main): Prompt before calling read().
1767 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
1768 Revise accordingly. Remove cruft about sending "123" several
1769 times, until it gets noticed. Clean up the "print buf[0]" stuff
1770 so that it passes or fails, and waits for prompts in the usual way.
1771
1772 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1773
1774 * gdb.base/recurse.exp: Fix comment.
1775
1776 * TODO: Remove item about printing variables in nodebug.exp. Add
1777 item about enabling tests which are only run on some targets.
1778
1779 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
1780 fail, make test names unique, use new gdb_test convention
1781 regarding pattern, use gdb_test more, etc.).
1782
1783 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
1784 fail, make test names unique, etc.).
1785
1786 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1787
1788 * gdb.base/nodebug.c: Change return type of top and middle to
1789 short.
1790 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
1791 are fixed by the recent mdebugread.c changes. Allow `short ()'
1792 as type for top and middle.
1793
1794 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1795
1796 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
1797 nearly as I can tell, the whole thing was an accident in Stu's
1798 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
1799 to replace a send/expect pair with gdb_test, but ended up only
1800 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
1801 of 30 Mar 1995 took care of it, but left this vestigial comment
1802 which I am now nuking.
1803
1804 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1805
1806 * gdb.base/break.exp: Look for different line number for
1807 breakpoint at main depending on usestubs.
1808
1809 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1810
1811 * gdb.base/list.exp: Adjust some alternate expect patterns to
1812 match recent list0.c change. Add alternate expect pattern for
1813 output from `list default lines around main' for optimizing
1814 compilers.
1815
1816 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1817
1818 * lib/gdb.exp: If nosignals is not set, set it to 0.
1819
1820 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
1821
1822 * config/slite-gdb.exp: Responds to load symbol table prompt.
1823 * gdb.base/break.exp: Adjust line number, fix rerun.
1824 * gdb.base/langs0.c: Add #ifdef usestubs.
1825
1826 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
1827
1828 * gdb.base/list.exp: Adjust line contents after adding new lines in
1829 list0.c. Also fix a syntax error.
1830
1831 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
1832 * gdb.base/break.exp: ditto.
1833 * gdb.base/list.exp: ditto.
1834 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
1835 * gdb.base/run.c: ditto.
1836 * gdb.base/list0.c: ditto.
1837 * gdb.base/funcargs.c: ditto.
1838
1839 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
1840
1841 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
1842 $targetname, $serialport and $baud instead of hardwired variables.
1843 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
1844 target doesn't support signals.
1845
1846 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
1847
1848 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
1849
1850 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1851
1852 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
1853 Don't rely on the value of an auto variable before it has been
1854 initialized. Use gdb_test more.
1855
1856 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1857
1858 * lib/gdb.exp (default_gdb_version): A version number must start
1859 with a digit, but other than that contains all characters up to
1860 the first whitespace character.
1861
1862 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1863
1864 * gdb.base/commands.exp (breakpoint_command_test): New tests.
1865
1866 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1867
1868 * gdb.c++/*.exp: Warn if executable does not exist. The original
1869 reason for skipping the warning was that configure.in sometimes
1870 intentionally skipped building the executables but the tcl code
1871 had no way of knowing. That (a) was always bogus with respect to
1872 error handling, (b) is no longer true (right now there is no way
1873 to skip C++ tests).
1874
1875 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
1876
1877 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1878
1879 * gdb.base/list.exp: Add expect patterns for output from
1880 SunPRO compiled executables.
1881 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
1882 types.
1883
1884 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1885
1886 * gdb.base/break.exp (test_next_with_recursion): Accept any line
1887 number (we are already testing that the correct source line text
1888 gets printed).
1889
1890 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
1891 that is what is intended, but something needed to be done to get
1892 sunos4 native working again.
1893
1894 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
1895
1896 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
1897 apparently went with a (very) old xfail.
1898
1899 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
1900
1901 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
1902 runto_main is a proc in gdb.exp that will do 'step' for target use
1903 stubs.
1904 * gdb.base/exprs.exp: ditto.
1905 * gdb.base/interrupt.exp: ditto.
1906 * gdb.base/opaque.exp: ditto.
1907 * gdb.base/printcmds.exp: ditto.
1908 * gdb.base/ptype.exp: ditto.
1909 * gdb.base/scope.exp: ditto.
1910 * gdb.base/setvar.exp: ditto.
1911 * gdb.base/signals.exp: ditto.
1912 * gdb.base/twice.exp: ditto.
1913 * gdb.c++/classes.exp: ditto.
1914 * gdb.c++/inherit.exp: ditto.
1915 * gdb.c++/templates.exp: ditto.
1916 * gdb.base/break.exp: no run and hit main for stubs. Change line
1917 numbers for breakpoints and info breakpoint.
1918 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
1919 breakpoint().
1920 * gdb.base/callfuncs.c: ditto.
1921 * gdb.base/exprs: ditto.
1922 * gdb.base/interrupt.c: ditto.
1923 * gdb.base/opaque0.c: ditto.
1924 * gdb.base/printcmds.c: ditto.
1925 * gdb.base/ptype.c: ditto.
1926 * gdb.base/scope0.c: ditto.
1927 * gdb.base/setvar.c: ditto.
1928 * gdb.base/signals.c: ditto.
1929 * gdb.base/twice.c: ditto.
1930 * gdb.c++/misc.cc: ditto.
1931 * gdb.c++/templates.cc: ditto.
1932
1933 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1934
1935 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
1936
1937 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
1938 somewhere between `read' and `main.c'. I'm pretty sure the
1939 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
1940 and it isn't particularly useful.
1941
1942 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
1943
1944 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1945
1946 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
1947
1948 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
1949
1950 * config/mt-slite: add LIBS and -nostdlib.
1951 * config/slite-gdb.exp: add this new file to support sparclite target.
1952
1953 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
1954
1955 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
1956
1957 * gdb.base/a2-run.exp: Change argument to istarget from
1958 "*-*-vxworks" to "*-*-vxworks*".
1959 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
1960
1961 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
1962
1963 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
1964 will not runto main but do a 'step' to step out of breakpoint().
1965 * config/mt-slite: add -Dusestubs.
1966
1967 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1968
1969 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
1970 instead of just @.
1971
1972 * gdb.base/signals.exp: Add test for "handle all print".
1973 * TODO: Remove "handle all print". Also remove item about
1974 checking copyright date (I don't like the idea of a spurious FAIL
1975 based on when we run the tests).
1976
1977 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
1978 for SunOS4 (reason for failure not investigated). Remove
1979 redundant test for $binfile.
1980
1981 * gdb.base/nodebug.c (array_index): Call malloc.
1982
1983 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
1984
1985 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
1986
1987 * gdb.base/recurse.exp: Update gdb_test invocation to use new
1988 conventions and slightly simplify the matching regexp.
1989
1990 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1991
1992 * gdb.base/break.exp: Update gdb_test invocation to use new
1993 convention.
1994
1995 * lib/gdb.exp: If noargs is not set, set it to 0.
1996
1997 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
1998 tests unique.
1999
2000 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
2001
2002 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2003
2004 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
2005 one argument of type "<non-float parameter>".
2006
2007 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
2008
2009 * config/rom68k.exp: New file to support Motorola IDP board.
2010 * gdb.base/a2-run.exp: Skip this file if noargs is set.
2011 * gdb.base/break.c: Change things around so that this program
2012 doesn't depend upon args. This is necessary to make remote
2013 targets work (in general, they can't take args).
2014 * gdb.base/break.exp: Don't try to send args to program. Don't
2015 expect output. Also, replace lots of code with gdb_test.
2016
2017 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2018
2019 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
2020 printing of '\'' (which is what the comment says we are testing,
2021 even though we were not), not '''.
2022 (test_integer_literals_rejected): Test that printing ''' is an error.
2023
2024 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2025 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
2026 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
2027 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
2028 Use gdb_test not test_print_accept.
2029 * lib/gdb.exp: Remove test_print_accept.
2030
2031 * gdb.base/signals.exp (signal_tests_1): Make pass message
2032 consistent with fail message.
2033
2034 * gdb.base/whatis.exp: Remove xfails for printing char vs.
2035 unsigned char; the bug (PR 1821) is fixed.
2036
2037 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
2038
2039 * gdb.base/scope.exp (test_at_localscopes): Call pass for
2040 successful tests--makes xfailing them work right.
2041
2042 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2043
2044 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
2045 only \r\n, not .*. The test can pass .* as the last thing in
2046 $pattern if that is what it wants. In addition to providing this
2047 flexibility, this change should speed up pattern matching in cases
2048 where the pattern already ended with .* (there were a number of
2049 them). This change also helps catch bad patterns--in the old
2050 scheme the typo "char \*" instead of "char \\*" would pass. Now
2051 it is caught.
2052 * Many .exp files: Update callers.
2053
2054 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
2055 clearer and does not spuriously match multiple ('s. Likewise for
2056 ) and *.
2057
2058 * gdb.base/nodebug.exp: Test ability to call a function and pass
2059 it a string (even with no debugging info).
2060
2061 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
2062 "p '\'", which is the same as "p ''" once tcl gets done with
2063 quoting, to "p '\\'", which I suspect is what is intended (one
2064 backslash gets sent to GDB).
2065
2066 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
2067
2068 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2069
2070 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
2071 1817) was fixed literally years ago.
2072
2073 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2074
2075 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
2076 test, it causes stepping out of call_after_alloca_subr with
2077 optimizing compilers.
2078 (localvars_in_indirect_call): Consume GDB prompt if `finish'
2079 fails.
2080
2081 * gdb.c++/templates.exp: Source templ-info.exp only if
2082 the templates executable exists.
2083
2084 * gdb.c++/misc.cc (class Contains_static_instance,
2085 class Contains_nested_static_instance),
2086 gdb.c++/classes.exp (test_static_members): Test printing of
2087 a class that contains a static instance of the class.
2088
2089 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2090
2091 * gdb.base/langs2.c (cppsub_): Don't prototype.
2092 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
2093 only, I believe).
2094
2095 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2096
2097 * lib/gdb.exp (skip_chill_tests): New procedure.
2098
2099 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
2100
2101 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
2102
2103 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
2104 each expect pattern. Cuts runtime from 12 to about 4 seconds.
2105
2106 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2107
2108 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
2109
2110 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
2111 disassemble 8, not 16, instructions for part 4.
2112
2113 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
2114 support the latter anymore.
2115
2116 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
2117 -DNO_PROTOTYPES.
2118 * gdb.base/callfuncs.c: Control use of prototypes based on
2119 NO_PROTOTYPES, not __STDC__.
2120 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
2121 t_float_values2 tests if prototypes in use.
2122
2123 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
2124 t_double_values): When checking differences against DELTA, check
2125 that difference is within the range (-DELTA,DELTA), not just
2126 (-infinity,DELTA).
2127
2128 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
2129
2130 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
2131 'file' command firts, then 'target', then 'load', this is due to gdb
2132 target set up.
2133 * config/mips-gdb.exp: Fix a couple regular exp bugs.
2134
2135 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
2136
2137 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
2138 FP load/store variants.
2139 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
2140
2141 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2142
2143 * gdb.base/term.exp: Do not give a warning if not native, it is
2144 not an abnormal condition.
2145
2146 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
2147
2148 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
2149 t_char_array".
2150
2151 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2152
2153 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
2154 are getting the version number.
2155
2156 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
2157 if not native, it is not an abnormal condition.
2158
2159 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2160
2161 * lib/gdb.exp: Just use "file exists", rather than undocumented
2162 dejagnu procedure "findfile".
2163
2164 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2165
2166 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
2167 (LDFLAGS): Set to -Xlinker -Ur.
2168
2169 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
2170 Removed, these values are set by lib/gdb.exp.
2171
2172 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
2173
2174 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2175
2176 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
2177 of replicating gdb startup code.
2178
2179 * config/mt-vxworks (LDFLAGS): Set to -r.
2180 (CFLAGS_FOR_TARGET): Removed.
2181
2182 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
2183 (gdb) and gdb for vxworks uses (vxgdb).
2184
2185 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
2186 executable is not in the tree and host != target, use sed and
2187 program_transform_name to determine the gdb name used by the
2188 target.
2189
2190 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
2191 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
2192
2193 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2194
2195 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
2196 floats, chars, and shorts where there are ANSI-style function
2197 definitions.
2198
2199 * gdb.base/langs.exp, gdb.base/langs*: New test.
2200 * gdb.base/Makefile.in: Build it.
2201 * TODO: Remove item about checking that C names don't get C++
2202 demangling applied; this test tests it.
2203
2204 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2205
2206 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
2207 went with the const70 xfail. The xfail went away a year ago.
2208
2209 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
2210
2211 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
2212 for hp300.
2213
2214 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
2215
2216 * gdb.base/a1-selftest.exp: Don't run on hp300.
2217
2218 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2219
2220 * Makefile.in (site.exp): Set host_alias and target_alias as well
2221 as host_triplet and target_triplet.
2222
2223 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2224
2225 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
2226
2227 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
2228 places as other ecoff systems).
2229
2230 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
2231 ultrix.
2232
2233 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2234
2235 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
2236 remove them.
2237 * gdb.base/nodebug.exp: Accept "function" in addition to "text
2238 variable and "variable" in addition to "data variable".
2239 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
2240
2241 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
2242 2.
2243 * gdb.base/list1.c (long_line): Add additional statement at start
2244 of function.
2245 * gdb.base/list.exp (test_forward_search): Update line number to
2246 reflect new statement.
2247
2248 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2249
2250 * gdb.base/signals.exp: Reinitialize searched source directories
2251 after gdb_start call.
2252
2253 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
2254
2255 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
2256 * gdb.stabs/Makefile.in: Likewise.
2257
2258 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
2259 change. Instead split the tests into smaller pieces.
2260 * gdb.disasm/hppa.s: Corresponding changes.
2261
2262 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2263
2264 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2265 Quote ^C when passing it to stty. For some shells ^ is a pipe.
2266
2267 * gdb.base/funcargs.exp: Modify many tests so that every test
2268 either passes or fails. Make some test names unique.
2269
2270 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2271
2272 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2273 Call stty to set interrupt character.
2274
2275 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
2276 for HP assembler versus GNU assembler based on actual behavior of
2277 $(CC), rather than assuming that $(AS) is always the GNU assembler.
2278
2279 * TODO: Suggest a few more stepping tests.
2280
2281 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
2282
2283 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
2284 restart GDB for h8300 after a continue.
2285 (return): Add pattern to match a29k-udi behavior.
2286 * gdb.base/nodebug.exp: Remove obsolete comment.
2287 * gdb.base/regs.exp: New file, testing of register displays.
2288 * gdb.base/return.exp: Fix typo in reference to $objdir.
2289 * gdb.base/whatis.exp: Always start with a fresh GDB.
2290
2291 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2292
2293 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
2294 higher, these tests generate a lot of output.
2295
2296 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2297
2298 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
2299 code following the catch silently ignored some errors; without the
2300 catch they should be thrown like any other tcl error. Also, the
2301 catch used "" instead of {} which meant all the callers who wanted
2302 to include one of the characters "[]$ had to quote it an extra time.
2303 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
2304 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
2305 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
2306 Remove extra quoting.
2307
2308 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
2309
2310 * gdb.base/commands.exp: Make test names unique; every test either
2311 passes or fails. Update some comments.
2312
2313 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
2314
2315 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2316
2317 The following fixes a FAIL caused by the fact that the alpha stabs
2318 configuration didn't use the ".if alpha" code in weird.def.
2319 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
2320 bit pointer, so the 32 bit version works even on the alpha.
2321 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
2322 Remove the stuff which allowed us to have separate versions for
2323 alpha and everything else.
2324
2325 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
2326 regexp which "info func operator\[\](" is supposed to match. Fix
2327 string to send to GDB. Note that GDB still doesn't work right. Add a
2328 new test for "info func .perator\[\](" which GDB does handle correctly.
2329
2330 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
2331
2332 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2333
2334 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
2335 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
2336 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
2337 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
2338 it makes the tests harder to understand and confuses test-o-matic.
2339 The preferred style is that each test provides a PASS or a FAIL,
2340 and has a unique message (e.g. "continue #54" not just "continue")
2341 which is the same for the pass and the fail.
2342 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2343 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
2344 to lib/gdb.exp.
2345 * gdb.base/printcmds.exp: Use test_print_accept. Remove
2346 prt_accept which was basically the same thing. Likewise for
2347 test_print_reject and prt_reject.
2348 * lib/gdb.exp (test_print_reject): Add some more error message
2349 patterns to match from the former printcmds.exp (prt_reject).
2350 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
2351 One defect of the passcount stuff is that some of it failed to
2352 report XPASS where appropriate.
2353 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
2354 stuff before and after arg in expected pattern.
2355 (test_paddr_operator_functions): Re-do test without print_addr_of;
2356 this is the only test which seems to want extra stuff there.
2357
2358 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2359
2360 * gdb.base/nodebug.exp: Update new tests to reflect improved
2361 wording of gdb output.
2362
2363 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
2364 and "ptype" work on variables in files compiled without -g.
2365 Replaces commented out "maint print msymbol" tests.
2366
2367 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2368
2369 * gdb.base/setvar.c (dummy): Call malloc.
2370
2371 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
2372 losing with the irix4 sed.
2373
2374 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
2375 ALRM" on irix4.
2376
2377 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2378
2379 * TODO: Remove items about corefile.exp testing new exec-file and
2380 backtrace; both are now done. Add items about printing enums.
2381
2382 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2383
2384 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
2385 "get signal $thissig" test fails.
2386
2387 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
2388
2389 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2390
2391 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
2392 compiler warning with dec alpha compiler.
2393
2394 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
2395 extra \n from gdb_test call (this explains why the prompt test
2396 that I removed yesterday was there).
2397 (user_defined_command_test): Remove extra \n and prompt test.
2398
2399 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
2400 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
2401 doesn't exist.
2402 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
2403 Also remove alpha workaround, which turns out to be because
2404 SIGABRT == SIGLOST.
2405
2406 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
2407
2408 * gdb.base/help.exp: Don't test "help show".
2409
2410 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2411
2412 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
2413 "set print address" is on.
2414 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
2415 pass prompt to gdb_test; gdb_test already looks for the prompt.
2416
2417 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
2418
2419 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
2420 was a vestige of the manual TESTSTRATEGY, and the purpose of it
2421 was to make sure that gdb can read a core file. But (a) the "read
2422 the corefile" part didn't make it to a1-selftest.exp, we just
2423 delete the corefile after creating it, and (b) we test reading
2424 corefiles in corefile.exp anyway. Also, this test left around a
2425 xgdb process on Solaris.
2426
2427 * gdb.base/corefile.exp: Also test backtrace.
2428
2429 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
2430
2431 * gdb.base/commands.exp: Test a simple user defined command with
2432 arguments and if/while statements; verify the full user command is
2433 printed by "show user".
2434
2435 * gdb.base/commands.exp: Test if/while commands as part of a
2436 breakpoint command list; verify they appear in breakpoint
2437 information.
2438
2439 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2440
2441 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
2442 than by dividing by zero.
2443
2444 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
2445
2446 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
2447 performing an inferior call with watchpoints enabled.
2448 * gdb.base/watchpoint.c (main): Delete second unnecessary read
2449 call.
2450
2451 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2452
2453 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
2454 of "file" command.
2455
2456 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
2457 Add additional pattern for when "int operator int(void);" appears
2458 in a different order.
2459
2460 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2461
2462 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
2463
2464 * gdb.base/help.exp: Replace most of docstrings for "info signals"
2465 and "signal" with ".*".
2466
2467 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2468
2469 * TODO: Add note about "handle all nostop".
2470
2471 * gdb.base/{sigall.c, sigall.exp}: New test.
2472 * gdb.base/Makefile.in: Add it.
2473
2474 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
2475
2476 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
2477 when invoking GDB, suppresses any windowing interface.
2478
2479 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
2480
2481 * config/sim-gdb: New file, simulator testing support.
2482
2483 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
2484
2485 * gdb.base/interrupt.exp: Test calling func1 twice.
2486
2487 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
2488
2489 * gdb.base/list.exp (test_forward_search): Set timeout higher
2490 when we'll be getting lots of output from gdb.
2491
2492 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
2493 "init_malloc" to after the expect statement. Run it if that
2494 regexp is taken, but also for two others which happen if source
2495 cannot be found.
2496
2497 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2498
2499 * gdb.base/printcmds.exp: New test, for printing register before
2500 program is running.
2501
2502 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2503
2504 * gdb.base/list.exp: Correct some alternate expect patterns
2505 to reflect changes in list1.c.
2506
2507 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2508
2509 * TODO: Add item regarding large frames.
2510
2511 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
2512
2513 * TODO: Remove item about enabling return.exp; it
2514 is enabled. Suggest a few more "return" tests.
2515
2516 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2517
2518 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
2519 anonymous unions.
2520
2521 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2522
2523 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
2524 and pr-5646.o, so "make" is the same as "make all", not "make
2525 pr-4975.o".
2526
2527 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
2528
2529 * gdb.base/list.exp: Adjust expectations to reflect changes in
2530 list1.c.
2531 (test_forward_search): New test proc.
2532 * gdb.base/list1.c (long_line): New function, has long source line.
2533
2534 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
2535
2536 * gdb.base/a1-selftest.exp: Change initial stepping to know about
2537 additional line of code that was added.
2538
2539 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
2540
2541 * gdb.disasm/hppa.s: Break the large branching tests into smaller
2542 tests so as not to overflow expect's input buffers.
2543 * gdb.disasm/hppa.exp: Corresponding changes.
2544
2545 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2546
2547 Beginnings of template debugging tests.
2548 * gdb.c++/templ-info.cc: New file to test for template
2549 debugging capability of the compiler.
2550 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
2551 templ-info.cc.
2552 * gdb.c++/templates.cc: Add explicit template instantiations
2553 to enable compiling with -fno-implicit-templates. Add destructor
2554 and 'value' method to T5 class for template tests.
2555 * gdb.c++/templates.exp: Add testcases for printing of template
2556 types, setting breakpoints on template methods and calling a
2557 template method.
2558
2559 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
2560
2561 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
2562 branch target since some assemblers (gas-2.5) may emit a
2563 relocation for the branch instead of resolving it in the
2564 assembler.
2565
2566 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2567
2568 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
2569 through signal handler.
2570
2571 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2572
2573 * configure.in (*-*-netware): Use config/mt-netware.
2574
2575 * config/mt-netware: New file.
2576 * config/mt-i386-netware: Removed, separate configs for different
2577 netware architectures are no longer needed now that we have
2578 --with-headers.
2579
2580 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2581
2582 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
2583 by the recent changes to use ANSI C arithmetic conversions.
2584
2585 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2586
2587 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
2588 bug involving using inferior_pid to figure out whether to select a
2589 frame.
2590
2591 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
2592
2593 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
2594 match the current disassembler output.
2595
2596 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
2597
2598 * gdb.fortran/exprs.exp: Expect VOID instead of void.
2599 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
2600 types, expect "int" as type of integer values (for now).
2601
2602 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
2603
2604 * gdb.base/commands.exp: New tests for if/while commands.
2605
2606 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
2607
2608 * lib/gdb.exp (runto): Replace sub-pattern for hex value
2609 by .*, since hex values have different syntax in Chill mode.
2610
2611 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2612
2613 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
2614 linefeed from expect pattern for repeated types with indices > 9.
2615
2616 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
2617
2618 First part of Fortran test suite.
2619 * gdb.fortran: New directory.
2620 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
2621
2622 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2623
2624 * gdb.base/default.exp: Update expect pattern for load command
2625 without arguments.
2626
2627 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2628
2629 * configure.in: Change i386 to i[345]86.
2630 * gdb.base/configure.in: Likewise.
2631 * gdb.c++/configure.in: Likewise.
2632 * gdb.chill/configure.in: Likewise.
2633
2634 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2635
2636 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
2637 patterns, since that is not a valid context for comments.
2638
2639 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
2640
2641 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
2642 repeated types and repeated types with indices > 9.
2643
2644 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
2645
2646 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
2647 2417; old bug has been fixed.
2648
2649 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
2650
2651 * gdb.base/interrupt.exp: When trying to wake up the inferior,
2652 send the newline ourselves instead of assuming gdb_test will do
2653 so when passed an empty input string.
2654
2655 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
2656 stabs testcode.
2657
2658 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2659
2660 * lib/gdb.exp (gdb_test): Don't send anything if the first
2661 argument is an empty string. This makes cases where we want to
2662 match output that is already in expect's buffers (for example,
2663 matching a breakpoint after gdb_run_cmd has been called) work
2664 reliably.
2665
2666 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2667
2668 * config/netware.exp: New file.
2669
2670 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2671
2672 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
2673 the -B and -L prefixes so we can find the debugging stub.
2674
2675 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
2676 there and we are using the gcc from the tree.
2677
2678 * gdb.base/types.c: Removed.
2679
2680 * gdb.base/configure.in: Look for makefile fragments in ../config.
2681 Recognize i386-*-netware.
2682 * gdb.c++/configure.in: Likewise.
2683
2684 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2685
2686 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
2687 the correct TCL syntax.
2688
2689 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2690
2691 * gdb.base/opaque.exp: use runto instead of messing around with
2692 breakpoints. Simplify by using gdb_test.
2693
2694 * gdb.base/bitfields.exp: restart between tests on netware targets
2695 because breakpoints aren't relocated after target death. Run
2696 processes to completion.
2697
2698 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
2699
2700 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
2701
2702 * Makefile.in: Remove extra tabs that confuse some versions
2703 of "make". Use the newly built gdb to test with by default,
2704 rather than the first one in the tester's search path.
2705
2706 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
2707
2708 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
2709
2710 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
2711 condition help.
2712
2713 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2714
2715 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
2716
2717 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
2718 running.
2719 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
2720 * gdb.base/funcargs.exp: Likewise.
2721
2722 * gdb.base/bitfields.exp: Simplify by using gdb_test.
2723 * gdb.base/funcargs.exp: Likewise.
2724
2725 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
2726 message is "".
2727
2728 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2729
2730 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
2731 return,signals,twice}.exp: Handle non-existant binaries
2732 consistantly.
2733
2734 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
2735 * gdb.base/Makefile.in: Don't try to generate a core dump, we
2736 might testing a cross development system.
2737
2738 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2739
2740 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
2741 runtest script is relative to ${srcdir}, not ${rootdir}.
2742
2743 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
2744
2745 * gdb.base/signals.exp: Allow for optionality of breakpoint
2746 address.
2747
2748 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2749
2750 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
2751
2752 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2753
2754 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
2755 for size_t definition.
2756 * gdb.c++/templates.cc: Likewise
2757
2758 * config/mt-i386-netware: New file.
2759
2760 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
2761 defined.
2762
2763 * gdb.base/Makefile.in: Added support for systems that name core
2764 files by appending "core" to the program name.
2765 * gdb.base/a1-selftest.exp: Likewise.
2766
2767 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2768
2769 * gdb.base/return.exp: Add comment and message for `return double'
2770 test failure on Sparc Solaris.
2771
2772 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
2773
2774 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
2775
2776 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2777
2778 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
2779 from optimizing them away.
2780 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
2781 patterns to include default constructors and assignment operators,
2782 to match gcc versions beyond 2.5.8. Accept any cplus demangling
2783 character in the output of the virtual base pointer.
2784
2785 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2786
2787 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
2788 expression match in print_addr_of to avoid unintented matches.
2789 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
2790 versions up to 2.5.8.
2791
2792 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2793
2794 * gdb.base/list.exp: Tweak alternate pattern for listing of an
2795 included file to run under newer versions of expect.
2796 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
2797 consecutive >'s in templates to accomodate recent cplus-dem.c change.
2798 Remove xfail for the virtual table of BDDHookV.
2799
2800 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
2801
2802 * lib/gdb.exp (string_to_regexp): Set a default result.
2803 (default_gdb_start): Fix misleading message.
2804
2805 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
2806
2807 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
2808 Remove all CC, etc definitions.
2809 * config/mt-hpux: New file.
2810 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
2811 (CFLAGS, LDFLAGS): Define.
2812 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
2813
2814 * Makefile.in (site.exp): Don't insert host_os, etc.
2815 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
2816 (distclean): Check existence of subdir.
2817 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
2818 * gdb.base/Makefile.in: General cleanup and simplification.
2819 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2820 to build executables. Use default rule to build .o files.
2821 (EXPECT, RUNTEST, CC): Fix relative pathname.
2822 (site.exp): Don't insert host_os, etc.
2823 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
2824 and/or SIGUSR1 defined.
2825 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
2826 * gdb.c++/Makefile.in: General cleanup and simplification.
2827 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2828 (CFLAGS): Remove.
2829 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
2830
2831 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
2832
2833 * gdb.base/recurse.exp: Misc changes to get tests running again
2834 after Kung's changes to the watchpoint code.
2835 * gdb.base/watchpoint.exp: Likewise.
2836
2837 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
2838
2839 * lib/gdb.exp (string_to_regexp): Convert {\} also.
2840
2841 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
2842
2843 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
2844 * lib/gdb.exp (default_gdb_start): Define.
2845 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
2846 gdb.base/funcargs.exp, gdb.base/opaque.exp,
2847 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
2848 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
2849 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
2850 Don't call gdb_target_udi in between tests.
2851
2852 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2853
2854 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
2855 (which was basically just a local version of the same thing). In
2856 addition to avoiding duplication, gdb_test_exact is faster.
2857 * lib/gdb.exp (gdb_test_exact): Fix typo.
2858
2859 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
2860 don't give an error.
2861
2862 * gdb.base/term.exp: Call delete_breakpoints before starting.
2863
2864 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
2865 (t10): Add comment.
2866
2867 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2868
2869 Reorganization of the GDB Test Suite.
2870
2871 * gdb.base: New directory, contains all the basic tests.
2872 * gdb.c++: New directory, tests specific to C++.
2873 * gdb.chill: New directory, tests specific to Chill.
2874 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
2875 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
2876 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
2877 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
2878 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
2879 t30-31 to chill).
2880 * */gdbme.*: Rename to match appropriate expect scripts.
2881 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
2882 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
2883 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
2884 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
2885 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
2886 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
2887 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
2888 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
2889 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
2890 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
2891 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
2892 gdb.c++/virtfunc.cc: New names of C++ files.
2893 * gdb.chill/chillvars.ch: New name of Chill file.
2894 * gdb.base/configure.in, gdb.c++/configure.in,
2895 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
2896 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
2897 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
2898 * configure.in (configdirs): Update to reflect directory changes.
2899 (target_abbrev): No longer define for any configuration.
2900 * Makefile.in: Cosmetic improvements to header comments.
2901
2902 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
2903
2904 Various changes to gdb.t31:
2905
2906 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
2907 * gdbme.ch: Make all key-words and predefineds be upper-case.
2908 * chillvars.exp: Expect key-words and predefinds in upper-case.
2909
2910 * chillvars.exp: Use gdb_test_exact many places.
2911 Change expected output for arrays (which now includes index labels).
2912
2913 * pr-5020.exp, gdme.ch (module PR_5020):
2914 New test, for PR-5020.
2915
2916 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
2917
2918 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
2919 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
2920
2921 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
2922
2923 * Makefile.in: Fix bit-rot in definitions of CHILL,
2924 CHILL_FOR_TARGET and Chill_LIB.
2925 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
2926 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
2927 CHILL, and CHILL_LIB.
2928
2929 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
2930
2931 * Revert the previous changes. Please see Rob's directory
2932 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
2933
2934 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
2935
2936 * Makefile.in, configure.in, config/mips-gdb.exp,
2937 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
2938 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
2939 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
2940 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
2941 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
2942 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
2943 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
2944 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
2945 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
2946 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
2947 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
2948 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
2949 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
2950 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
2951 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
2952 changes from 94Q1.
2953
2954 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
2955
2956 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
2957 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
2958 Rob's new testing fragments.
2959
2960 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
2961
2962 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
2963 lib/gdb.exp: Replace error proc calls with perror.
2964
2965 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2966
2967 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
2968 version also, match on casted version strings, and match on
2969 gdb startup case where the line numbers might be messed up.
2970
2971 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
2972
2973 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
2974 (CFLAGS): Delete it from here.
2975
2976 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
2977
2978 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
2979
2980 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
2981
2982 * Makefile.in (RUNTEST): Default to just "runtest".
2983
2984 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2985
2986 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
2987 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
2988 the code has been restructured.
2989
2990 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2991
2992 * gdb.t00/default.exp (set write): Allow any number of \r and/or
2993 \n, not just one of each.
2994
2995 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
2996 /bin/cc gives a warning if you do.
2997
2998 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
2999
3000 * gdb.t24/demangle.exp: change expect pattern of
3001 __t10ListS_link1ZUiRCUiPT0
3002
3003 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3004
3005 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
3006 on local variables in recursive functions.
3007
3008 * gdb.t07/Makefile.in: Build the new test.
3009
3010 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3011
3012 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
3013 directly. Instead compare the return values from actual calls.
3014
3015 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
3016
3017 * Makefile.in (check): Set TCL_LIBRARY for runtest.
3018
3019 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3020
3021 * From Peter Schauer with minor modifications.
3022 * gdb.t15/return.exp (return_tests): Handle targets where "return"
3023 stops in mid-line in the caller. Add xfail for returning a float
3024 value on X86 targets.
3025
3026 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3027
3028 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
3029 to avoid expect lossage.
3030 (fmem_LRbug_tests): Likewise.
3031 * gdb.disasm/hppa.s: Corresponding changes.
3032
3033 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
3034 conditions to work with latest dejagnu/expect.
3035
3036 * gdb.t15/funcargs.exp (finish from indirect call): No longer
3037 expected to fail on the PA.
3038 (backtrace in call with trampolines): Explicitly require main
3039 to be frame #1 (no trampolines should show up in backtrace).
3040
3041 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
3042 "continue -expect".
3043 * gdb.t06/break.exp: Likewise.
3044 * gdb.t07/watchpoint.exp: Likewise.
3045 * gdb.t13/bitfields.exp: Likewise.
3046 * gdb.t15/{funcargs,return}.exp: Likewise.
3047 * gdb.stabs/weird.exp: Likewise.
3048 * config/{mips,udi}-gdb.exp: Likewise.
3049
3050 * hppa.sed: Enclose comments within a sed command to avoid
3051 losing with the old OSF1 sed.
3052
3053 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3054
3055 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
3056 sequent dynix.
3057 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
3058 * gdb.t15/funcargs.exp: Conditionally step again to really
3059 finish from marker_call_with_trampolines. Handle the case where
3060 the first step from within call_with_trampolines already steps
3061 us back to main.
3062 * gdb.t15/gdbme.c: Add comment to closing brace of
3063 call_with_trampolines for funcargs.exp.
3064
3065 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3066
3067 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3068 Fix typo(s).
3069
3070 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3071
3072 * gdb.t07/gdbme.c: More code for watchpoint testing.
3073
3074 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
3075 "Hardware watchpoint" throughout file.
3076 (test_watchpoint_triggered_in_syscall): New test.
3077 (test_complex_watchpoint): New test.
3078
3079 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3080
3081 * gdbme.c (call_with_trampolines): New function to try and step
3082 into. Tests trampoline problems on the PA.
3083
3084 * funcargs.exp (localvars_in_indirect_call): No longer expect
3085 stepping into indirect call to fail on PAs.
3086 (test_stepping_over_trampolines): New test.
3087
3088 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3089
3090 * TODO: Add suggestions for static member function tests, and
3091 completion tests.
3092
3093 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3094
3095 * TODO: Add suggestions for "p/a" tests.
3096
3097 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
3098 (default_gdb_exit): Replace all the hair with sending "quit" to
3099 the process with a simple close.
3100
3101 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3102
3103 * TODO: Add suggestions for shared library tests.
3104
3105 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3106
3107 * TODO: Add suggestions for x/s tests.
3108
3109 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3110
3111 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
3112 "enable once", and "enable breakpoints once" with ".*".
3113
3114 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3115
3116 * TODO: Add suggestions about structure passing tests.
3117
3118 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3119
3120 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
3121 the primary1 test, use work around if __GNUC__ < 2.
3122 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
3123 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
3124 Test for bad output rather than waiting for timeout. Issue
3125 second continue only if first continue failed.
3126
3127 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3128
3129 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
3130 operator[] test with gdb_test because the old code didn't seem to
3131 be getting the quoting right with the new dejagnu.
3132
3133 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
3134
3135 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
3136 one from the path.
3137 * Makefile.in: Use a fresh expect if there is one, use runtest
3138 from the src tree if there is one.
3139
3140 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3141
3142 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
3143 next over recursive call. Revise the tests from that point on
3144 (which had been skipped) to match GDB's actual (correct) output.
3145
3146 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
3147 with next over a breakpoint whose condition is false.
3148
3149 * gdb.t00/help.exp: Comment out "help set print" tests just like
3150 (and for same reason as) "help set" test.
3151
3152 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3153
3154 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
3155 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
3156
3157 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3158
3159 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
3160 necessary gdb_target_udi.
3161
3162 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
3163
3164 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
3165 1838 and 2417; they are fixed.
3166
3167 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
3168 gdb.t03/ptype.exp (ptype structure, ptype union):
3169 Remove xfails; the test is looser than when the xfails were added.
3170
3171 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
3172 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
3173
3174 * gdb.t01/run.exp: Only run shell test if isnative.
3175
3176 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
3177 since "run" automatically loads if necessary. Call gdb_target_udi
3178 after the "file" since "file" kills any execution target.
3179
3180 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
3181 GDB. GDB doesn't work that way (not anymore at least) on UDI.
3182 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
3183 argument for UDI.
3184
3185 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3186
3187 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
3188
3189 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
3190
3191 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3192
3193 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
3194 properly quoting regexps. This makes the second argument to
3195 demangle a fixed string, which matches the callers, instead of a
3196 shell-style pattern which is what the previous implementation
3197 used. Update some of the callers.
3198
3199 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3200
3201 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
3202 (comib_nullified_tests): Fix typo.
3203 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
3204 strings. No longer expected to fail.
3205
3206 * gdb.disasm/hppa.s (addib_tests): Fix typo.
3207 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
3208 strings. No longer expected to fail.
3209
3210 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
3211 string. No longer expected to fail.
3212
3213 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3214
3215 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
3216 No longer expected to fail.
3217
3218 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
3219 string. No longer expected to fail.
3220
3221 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3222
3223 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
3224 only in the names (I probably got most of them). I was even
3225 generous with some which differed in underscores in names, and
3226 probably missed a few, and I *still* was able to remove almost a
3227 third of the file with almost no impact on testsuite coverage.
3228
3229 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3230
3231 * gdb.t00/default.exp: Match udi_attach error message as well as
3232 the one from child_attach.
3233
3234 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
3235
3236 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
3237
3238 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
3239 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
3240
3241 * Move test with enums and partial symbols back to
3242 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
3243 Reverts the change of 26 May 93. Per today's change to
3244 stabs.texinfo, the behavior that weird.exp was expecting was
3245 unreasonable; what is important is that the compiler+gdb get
3246 things right, which happens with a recent gcc. Also fix the test
3247 to deal with native compilers which put out the stab gdb can't
3248 deal with.
3249
3250 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3251
3252 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
3253 in the names. The main thing these accomplish is to slow things down.
3254 Many more such duplicates surely remain.
3255
3256 * gdb.t00/help.exp: Comment out "help support" test just like
3257 (and for same reason as) "help set" test.
3258
3259 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
3260
3261 * gdb.t06/break.exp: Remove setup_xfails for
3262 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
3263 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
3264 about known bug in gcc to include up through 2.5.8.
3265 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
3266 well as "_vb$".
3267 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
3268 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
3269 with latest gcc and gdb.
3270 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
3271 well as "_vb$".
3272
3273 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3274
3275 * configure.in (hppa*-*-*): Also configure and build stabs-only
3276 tests.
3277
3278 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3279
3280 * gdb.t10/hppa.mt: A makefile fragment for the PA.
3281 * gdb.t10/configure.in (hppa*-*-*): Use it.
3282
3283 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3284
3285 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
3286
3287 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3288
3289 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
3290 versions prior to 1.13.5.
3291
3292 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3293
3294 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
3295 the prompt is at the start of a line.
3296
3297 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3298
3299 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
3300 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
3301 in the copr tests now.
3302 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
3303 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
3304 expected to fail.
3305
3306 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
3307
3308 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
3309 gdb.t31/chillvars.exp, lib/gdb.exp:
3310 Tweak to run under either version of expect.
3311 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
3312 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
3313 * gdb.t11/list.exp: Remove extraneous whitespace.
3314
3315 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3316
3317 * gdb.t16/printcmds.exp (test_print_strings): Accept
3318 "(unsigned char *) " before the string.
3319
3320 * TODO: Add notes about printing of fancy types and GDB expressions.
3321
3322 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
3323
3324 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
3325 * gdb.t06/configure.in: Don't try to compile signals test program
3326 if doing mips-idt-ecoff.
3327
3328 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
3329
3330 * Most .exp files: Tweak to run under either version of expect.
3331
3332 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3333
3334 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
3335 xfails; I'm not sure why they are failing, but not because of PR 1806.
3336
3337 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
3338
3339 * config/unix-gdb.exp: Remove gdb_unload cause it's already
3340 defined in lib/gdb.exp.
3341
3342 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3343
3344 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
3345 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
3346 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
3347 have to be typeless.
3348
3349 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3350
3351 * TODO: Add suggestion for copyright year test.
3352
3353 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
3354
3355 * configure.in (*-*-lynxos*): Add stabs tests.
3356
3357 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3358
3359 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
3360 so insert a tab before any assembler directive in column zero.
3361
3362 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
3363 stores.
3364 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
3365 stores.
3366 (fpu_short_memory_tests): Likewise.
3367
3368 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3369
3370 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
3371 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
3372 .stabs directives in comments.
3373
3374 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3375
3376 * TODO: New file, describing tests we could write.
3377 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
3378
3379 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3380
3381 * gdb.t06/signals.exp: Add kludge to force re-sync.
3382
3383 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
3384 to xgdb instead of gdb, get out of gdb.
3385
3386 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
3387
3388 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
3389 for info.
3390
3391 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3392
3393 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
3394 * gdb.stabs/configure.in (hppa*-*-*): Use it.
3395 * gdb.stabs/hppa.sed: New sed script for the PA.
3396
3397 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3398
3399 * gdb.stabs: Re-write weird.def and configuration to use sed
3400 instead of cpp. sed is portable and POSIX; cpp is neither.
3401
3402 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3403
3404 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
3405
3406 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3407
3408 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
3409
3410 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3411
3412 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
3413 "_vb$".
3414 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
3415 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
3416
3417 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3418
3419 * lib/gdb.exp: Comment out code which depends on non-existent
3420 `transform' procedure.
3421
3422 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
3423
3424 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
3425 * lib/gdb.exp: Transform tool name.
3426 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
3427 1.1's new error handling system.
3428
3429 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3430
3431 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
3432
3433 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3434
3435 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
3436 They made pattern matching so slow that timeouts happened on
3437 heavily loaded systems. Now any output from "show print" which
3438 gets us back to the GDB prompt is a PASS.
3439
3440 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
3441
3442 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
3443
3444 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3445
3446 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
3447
3448 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
3449 It is not from PR 3220.
3450
3451 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3452
3453 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
3454 just started failing because they depended on the order the
3455 subcommands are presented, or exact docstring text. This kind of
3456 test is a pain and has minimal benefit.
3457
3458 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3459
3460 * gdb.t09/corefile.exp: At end of test, use "core" command with
3461 no arguments.
3462
3463 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
3464
3465 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
3466 17}/Makefile.in: Make it possible to run the testsuite with Sun
3467 make and CC = cross gcc by adding explicit build rules for .o
3468 files.
3469
3470 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3471
3472 * gdb.t15/funcargs.exp: Don't put comments on same line as
3473 setup_xfail (@#$*%& tcl braindamage!).
3474
3475 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3476
3477 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
3478
3479 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
3480
3481 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
3482 * gdb.t20/inherit.exp: remove three dumplicate entries.
3483
3484 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3485
3486 * gdb.t06/break.exp: For "next over recursive call", fail on any
3487 incorrect output, not just on "factorial (value=2)".
3488
3489 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3490
3491 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
3492 working now. Add an xfail if accesing a bss variable causes
3493 a memory error if the target is not yet run.
3494
3495 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3496
3497 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
3498 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
3499 name of __st* demangling (2 strings). Did Kung really get the
3500 more than 95 others right without testing them?
3501
3502 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
3503
3504 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
3505
3506 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
3507
3508 * configure.in (configdirs): Add gdb.disasm
3509 * gdb.disasm: New directory for GDB disassembler tests.
3510 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
3511
3512 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3513
3514 * gdb.t00/help.exp: Don't test "help set".
3515
3516 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
3517 from within expect statements. None of these happen anymore and
3518 they cause regressions to be silently unnoticed.
3519
3520 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
3521 messages) about known failures with gcc cygnus-2.4.5-930417.
3522
3523 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
3524 comp-info.exp so it gets built if it doesn't exist.
3525
3526 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
3527 it is no longer used.
3528 * gdb.t13/comp-info.c: Removed.
3529
3530 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3531
3532 * gdb.t06/signals.exp: Add xfail for sun3.
3533
3534 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3535
3536 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
3537 relevant because ^C doesn't get sent but failure can be reproduced
3538 interactively).
3539
3540 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3541
3542 * gdb.stabs/alpha.mt: New configuration file for alpha.
3543 * gdb.stabs/configure.in: Use it.
3544 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
3545 sharing with alpha.mt, redefine long to word via preprocessor.
3546 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
3547 for alpha.
3548 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
3549 native cc.
3550 * gdb.t00/teststrategy.exp: Change expect string so that we
3551 consume the `(xgdb)' from the command echo and from the gdb prompt.
3552 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
3553 gdb currently compares all values as long, so this failure probably
3554 applies to any configuration where LONGEST is bigger than a target int.
3555 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
3556 with gcc.
3557 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
3558 to handle opaque pointers, gcc is.
3559 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
3560 as first argument. Include <sys/types.h> and change all operator
3561 new definitions to use size_t.
3562 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
3563 now that we use size_t.
3564
3565 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3566
3567 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
3568 a long or float array cast all array members to the same type.
3569 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
3570 with 64 bit longs.
3571 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
3572 on alpha.
3573 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
3574
3575 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3576
3577 * gdb.t24 (demangle.exp): Constructors of templates have names like
3578 vector<int>::vector(int) not vector<int>::vector<int>(int). See
3579 section 14.6 of the ARM.
3580
3581 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
3582 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
3583 accomplish little and slow down the testsuite.
3584
3585 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
3586 Accept spaces various places.
3587
3588 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3589
3590 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
3591 with watchpoint enabled.
3592
3593 * Makefile.in: Remove definition of CC and remove the second
3594 definition of CXX (the "CXX = gcc" one remains). These definitions
3595 were causing backquotes to be expanded within backquotes, which
3596 doesn't work.
3597
3598 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
3599
3600 * gdb.t17/callfuncs.exp: Add "return 0" to end.
3601
3602 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3603
3604 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
3605 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
3606 by mips cc and contains no stabs entries.
3607
3608 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
3609
3610 * config/vx-gdb.exp: Use fake device to load files rather than
3611 NFS.
3612 * lib/gdb.exp: New proc to do "file" command.
3613 * config/unix-gdb.exp: Use new "file" proc.
3614
3615 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3616
3617 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
3618 Rework board rebooting slightly.
3619 (gdb_exit): Don't exit from the remote shell; there isn't one.
3620 * gdb.stabs/weird.exp: If a program is being debugged already,
3621 kill it.
3622 * gdb.t04/setvar.exp: Stop and restart gdb.
3623 * gdb.t05/expr.exp: Likewise.
3624 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
3625 restart gdb and reload the program.
3626 * gdb.t08/opaque.exp: Likewise.
3627 * gdb.t12/scope.exp: Likewise.
3628 * gdb.t13/bitfields.exp: Likewise.
3629 * gdb.t15/funcargs.exp: Likewise.
3630 * gdb.t20/classes.exp: Likewise.
3631 * gdb.t03/ptype.exp: Increase timeout.
3632 * gdb.t16/printcmds.exp (test_print_string_constants,
3633 test_print_array_constants): Likewise.
3634 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
3635 * gdb.t20/classes.exp (do_tests): Likewise.
3636 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
3637
3638 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
3639
3640 * gdb.stabs: Renamed *wierd* to *weird*.
3641
3642 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3643
3644 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
3645 for timeout. Add "known gcc 2.4.5 bug" to failure message.
3646
3647 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3648
3649 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
3650 (do_tests): Remove xfail for whatis on one_var and two_var.
3651
3652 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
3653
3654 * Makefile.in: Made cross building work better by adding
3655 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
3656
3657 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3658
3659 * gdb.t15/{return.c,return.exp,Makefile.in}:
3660 New test, currently commented out.
3661
3662 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
3663
3664 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
3665 still running and removes the leftover named socket so GDb can do
3666 clean restarts.
3667
3668 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
3669
3670 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
3671 console, not GDB.
3672 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
3673 cross testing works better with "make check"
3674 * config/unix-gdb: Use default procedures for exit and version.
3675 * config/vx-gdb.exp: Cleaned up and massaged back to working order
3676 with the newest VxWorks.
3677
3678 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3679
3680 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
3681 old form.
3682
3683 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
3684 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
3685
3686 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
3687
3688 * config/unix-gdb.exp: Remove this version of gdb_exit
3689 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
3690 Rob says he'll look at it when he gets back to testing boards.
3691
3692 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
3693
3694 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
3695 an expected fail for certain ptype commands.
3696
3697 * gdb.t20/classes.exp: Update expected results of "ptype class
3698 Base1" to account for the constructor that now appears in the type.
3699
3700 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
3701
3702 * configure.in (configdirs): Restore gdb.t04, which mysteriously
3703 disappeared from list.
3704 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
3705 "alldone" proc with call to cleanup and exit.
3706 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
3707 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
3708 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
3709 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
3710 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
3711 "alldone" proc with simple returns that suppress remaining
3712 tests. The alldone proc went away many months ago.
3713
3714 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3715
3716 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
3717
3718 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
3719
3720 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3721
3722 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
3723 as vax gdb will display them.
3724
3725 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3726
3727 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
3728 optimizers.
3729
3730 * scope.exp: Change "bad value for localval" messages so each one
3731 is unique.
3732
3733 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
3734 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
3735
3736 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
3737
3738 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3739
3740 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
3741 doesn't exist (due to optimization).
3742
3743 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3744
3745 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
3746 contains \r because the filename is long.
3747
3748 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
3749 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
3750
3751 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3752
3753 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
3754 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
3755 Ultrix.
3756 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
3757 int tests.
3758 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
3759
3760 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
3761
3762 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
3763
3764 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
3765 to match does not match the passing case but still matches the
3766 failing case.
3767
3768 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3769
3770 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
3771
3772 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
3773
3774 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
3775 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
3776 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
3777 Remove various versions of gdb_exit.
3778 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
3779 gdb_exit.
3780 * config/unix-gdb.exp: gdb_exit remains here, and should override
3781 the generic version, since it's doing a lot of wierd stuff that
3782 the other versions aren't. FIXME, fold it in, or abandon this
3783 version.
3784
3785 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3786
3787 * gdb.t24/demangle.exp: Add tests for PR 3220.
3788
3789 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3790
3791 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
3792
3793 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
3794
3795 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
3796 "i386-*-*". Works for i486 as well.
3797
3798 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
3799 bug, and expand domain of xfail to all SVR4 systems, since the
3800 actual problem is likely to be in generic SVR4 /proc support.
3801
3802 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3803
3804 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
3805
3806 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
3807
3808 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
3809 xfails for other systems. Match a missing 'Continuing.' as an
3810 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
3811
3812 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
3813 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
3814 Only issue warning for missing executables if -all option is used.
3815
3816 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
3817 file if -all option is used. It's like an unpredictable XFAIL.
3818
3819 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3820
3821 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
3822 for dynamically linked binaries.
3823
3824 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
3825
3826 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3827
3828 * gdb.t20/inherit.exp: Change message for "print tagless struct"
3829 to state that this is a known bug in old versions of g++.
3830
3831 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3832
3833 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
3834 while waiting for `Continuing'.
3835
3836 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
3837
3838 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
3839 in text, data, and bss.
3840 * gdb.t10/nodebug.c: Add local and global test variables for
3841 initialized and uninitialized data.
3842
3843 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3844
3845 * config/unix-gdb.exp (gdb_exit): Add "wait".
3846
3847 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3848
3849 * gdb.t06/signals.exp: xfail the continue from the handler for all
3850 targets.
3851
3852 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
3853 function with watchpoints enabled, the i386 call dummy starts with
3854 a call.
3855
3856 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
3857 386 bsd names its corefiles.
3858
3859 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
3860
3861 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
3862 compilers don't grok it.
3863 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
3864 with small octal ints rather than character constants, which
3865 are signed and might not fit if first promoted to int.
3866
3867 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
3868
3869 * gdb.t09/Makefile.in (clean): Remove corefile.
3870
3871 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3872
3873 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
3874
3875 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3876 and Jim Kingdon (kingdon@cygnus.com)
3877
3878 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
3879 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
3880 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
3881
3882 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3883
3884 * gdb.t17/interrupt.exp: Add xfail for hppa.
3885
3886 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3887
3888 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
3889 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
3890 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
3891 to determine signed-ness of bitfields and use the result to setup
3892 the xfail.
3893 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
3894 * gdb.t15/funcargs.exp: Use them to step until the second indirect
3895 call line is reached if necessary.
3896
3897 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3898
3899 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
3900
3901 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3902
3903 * gdb.t06/break.exp: Also test `clear' command.
3904
3905 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3906
3907 * gdb.t00/teststrategy.exp: Remove extra quote.
3908
3909 * gdb.t07/watchpoint.exp: Change xfail for calling function with
3910 watchpoint enabled to be for all non-68k machines.
3911
3912 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
3913
3914 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3915
3916 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
3917 targets use aout.mt instead of ecoff.mt as gas understands
3918 standard aout format.
3919
3920 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3921
3922 * lib/gdb.exp (runto): Don't insist that function we are running to
3923 was compiled with -g.
3924
3925 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
3926
3927 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
3928 to get back into the read system call.
3929 Accept leading newline in case where we woke it up.
3930
3931 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3932
3933 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
3934 to make the stabs test work on ecoff systems using gcc and -with-stabs.
3935 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
3936 enable ecoff configuration.
3937
3938 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3939
3940 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
3941
3942 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3943
3944 * gdb.t16/printcmds.exp: Add another printf test.
3945
3946 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
3947
3948 * configure.in: If configured -with-stabs on any target, add
3949 stabsdirs to configdirs.
3950
3951 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3952
3953 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
3954 fun" so pattern does not match the command itself.
3955
3956 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3957
3958 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
3959
3960 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3961
3962 * gdb.t17/interrupt.exp: Test for more things.
3963
3964 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3965
3966 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
3967 compiler arranges the code and line numbers.
3968
3969 * gdb.t17/interrupt.exp: Don't send \n after ^C.
3970
3971 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3972
3973 * gdb.t00/help.exp: Increase expect input buffer size.
3974
3975 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3976
3977 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
3978
3979 * gdb.t07/watchpoint.exp: Add xfail for hppa.
3980
3981 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
3982
3983 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
3984 [0-9]*, not just [0-9].
3985
3986 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3987
3988 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
3989
3990 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
3991
3992 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3993
3994 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
3995
3996 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3997
3998 * gdb.t06/signals.c: Add xfails for sun3.
3999
4000 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
4001
4002 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
4003 test_stepping tests.
4004
4005 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4006
4007 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
4008
4009 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
4010
4011 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
4012 rather than actually putting it through cpp twice.
4013
4014 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
4015
4016 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
4017
4018 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
4019 no longer needed.
4020
4021 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4022
4023 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
4024
4025 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
4026 C++ features prints as "struct", make it a pass, not an xfail.
4027
4028 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4029
4030 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
4031 Don't require VA to print as "class" rather than "struct".
4032
4033 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
4034
4035 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
4036
4037 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4038
4039 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
4040
4041 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4042
4043 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
4044 order.
4045
4046 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4047
4048 * gdb.t16/printcmds.exp: Add printf tests.
4049
4050 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
4051
4052 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
4053
4054 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
4055
4056 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
4057 pass counts, to counteract any existing or future setup_xfails.
4058
4059 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4060
4061 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
4062 {BEGIN,END}_COMMON for common block instead of STAB.
4063 * gdb.stabs/wierd.exp: Add xfail for rs6000.
4064
4065 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
4066 intp_var should be N_GSYM not N_LSYM.
4067 wierd-aout.S: Use a label for the value of the N_SO.
4068 wierd.def: Remove all backslashes.
4069 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
4070
4071 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4072
4073 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
4074 get the expected next to inheritance3.
4075
4076 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4077
4078 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
4079 now that gcc-2.4 gets it right.
4080
4081 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4082
4083 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
4084
4085 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
4086 generating comp-info.exp which works for cross-compilation.
4087
4088 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
4089
4090 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
4091 "*-*-sysv4.*".
4092
4093 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
4094
4095 * gdb.t01/run.exp: Start with a fresh gdb.
4096 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
4097 SVR4.x.
4098
4099 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
4100
4101 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
4102 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
4103 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
4104 Makefile.in (distclean, realclean): Remove gdbme.c from list of
4105 things to remove.
4106
4107 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
4108
4109 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
4110 test cases from bug reports.
4111
4112 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
4113
4114 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
4115 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
4116 avoid spurious xfails.
4117 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
4118 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
4119 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
4120
4121 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
4122
4123 * gdb.t00/teststrategy.exp: Rework to provide more useful
4124 description of each test, fix problem with systems that define
4125 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
4126 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
4127 results for "next over recursive call" so timeouts aren't taken
4128 by error.
4129
4130 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
4131
4132 * gdb.t12/scope.exp: Test printing of variables before run.
4133
4134 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
4135 printed in wrong order due to sorting.
4136
4137 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
4138
4139 * gdb.t00/teststrategy.exp: Fix expected results for printing
4140 user entered string constant. Is array of char, prints with no
4141 address.
4142
4143 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
4144 commands.
4145 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
4146 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
4147 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
4148 of struct of char arrays.
4149 * gdb.t00/radix.exp: New tests for radix commands.
4150
4151 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
4152
4153 * gdb.t16/printcmd.exp: Print a variable before running program
4154 (with xfail for AIX).
4155
4156 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
4157
4158 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
4159
4160 * gdb.t16/printcmd.exp: Don't print variables before running program.
4161
4162 * gdb.t06/break.exp: Don't require envp argument to main.
4163
4164 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
4165
4166 * gdb.t02/whatis.exp, gdb.t11/list.exp:
4167 Add xfails for rs6000.
4168
4169 * gdb.t02/whatis.exp: Change other tests not to re-test something
4170 we already tested.
4171
4172 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
4173 each type used has a variable of that type.
4174
4175 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
4176
4177 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
4178
4179 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4180
4181 * configure.in: change srctrigger to be a file, not a directory
4182
4183 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
4184
4185 * configure.in (mips-idt-ecoff*): Added trailing '*'.
4186
4187 * gdb.t11/list.exp: Fixed a couple of typos.
4188
4189 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
4190
4191 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
4192 is fixed and PR is closed.
4193 * gdb.t16 (gdbme.c): Add simple test string variable.
4194 * gdb.t16 (printcmds.exp): Add tests with simple test string
4195 variable, primarily for boundaries on "set print elements".
4196
4197 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
4198
4199 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
4200 Make leading 0's optional and don't expect a tab in the middle
4201 of the number.
4202
4203 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
4204
4205 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
4206 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
4207 don't end command passed to gdb_test with newline.
4208
4209 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
4210 signed keyword away, don't expect signed bitfields to be signed.
4211
4212 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
4213 printing with only as many 1's as are in the field as well as printing
4214 with 32 1's (see comment).
4215
4216 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
4217
4218 * gdb.t00/default.exp: Start with a fresh gdb.
4219 * configure.in (configdirs): Remove gdb.t31 until the chill
4220 compiler works again. It no longer is able to find chillrt0
4221 since it isn't in libchill.a anymore.
4222 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
4223 wierd.o, make more modular.
4224 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
4225 spurious newlines that caused problems.
4226
4227 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4228
4229 * Move test with enums and partial symbols from gdb.t03/ptype.exp
4230 to gdb.stabs/wierd.exp since GCC has worked around the bug.
4231 gdb.stabs/wierd.{exp,def}: Many new tests.
4232
4233 * gdb.t00/default.exp: update info line for new message.
4234
4235 * gdb.t02/{whatis.exp,gdbme.c}:
4236 Test that "char *" doesn't print as "caddr_t".
4237
4238 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4239
4240 * gdb.t00/help.exp: Use .* in place of some help messages which
4241 just changed.
4242 gdb.t00/default.exp: Update "info frame" test for new message.
4243 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
4244 Remove some xfails
4245
4246 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4247
4248 * gdb.t03/{gdbme.c,ptype.exp}:
4249 Add tests for typedef'd struct and union without tags.
4250 Also check "whatis" on a variable of a typedef'd enum without a tag.
4251
4252 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
4253 PRMS 1823; the bug still exists but isn't reproduced by this test
4254 anymore), and remove rs6000 XFAIL (the bug is fixed).
4255
4256 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
4257 duplicated from whatis.exp. For those that are left, accept
4258 "long", "long int", or "int" for long variables (whatis.exp already
4259 has an XFAIL for "int", so no need to fail it here).
4260
4261 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
4262 Deal with GCC's names for types now that GDB uses the compiler's names.
4263
4264 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
4265 setup_xfail's for sunos4. If we #defined the signed keyword away,
4266 don't expect GDB to know that char it is signed.
4267
4268 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
4269
4270 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
4271
4272 * configure.in (configdirs): Add gdb.t24 for C++ tests that
4273 should work on any system, regardless of debugging format.
4274 * gdb.t21/demangle.exp: Move to gdb.t24.
4275 * gdb.t24/demangle.exp: Move from gdb.t21.
4276 * gdb.t24/{Makefile.in, configure.in}: New files.
4277
4278 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4279
4280 * configure.in: Do gdb.stabs and C++ tests only for stabs.
4281 * gdb.stabs: New directory.
4282
4283 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4284
4285 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
4286 not just "Quit anyway?".
4287
4288 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
4289
4290 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
4291 that all setup_xfails are immediately followed by clear_xfails.
4292
4293 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
4294
4295 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
4296 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
4297 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
4298 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
4299 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
4300 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4301 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4302 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
4303 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
4304 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
4305 gdb.t31/chillvars.exp, lib/gdb.exp:
4306 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
4307 bug-gdb@prep.ai.mit.edu.
4308
4309 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
4310
4311 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
4312 with 0.0, not integer 0.
4313
4314 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
4315
4316 * gdb.t06/break.exp: Update for "Kill the program" message change.
4317
4318 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
4319
4320 * Makefile.in (GDBFLAGS): Set to -nx.
4321 * Makefile.in (site.exp): Use GDBFLAGS.
4322
4323 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4324
4325 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
4326 Makefiles.
4327 (check): depend on just-check.
4328 (just-check): added so that tests can be run without a noop
4329 build pass.
4330
4331 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4332
4333 Switch to using configure's configdirs.
4334 * Makefile.in (Makefile): add configure.in dependency.
4335 (SUBDIRS): removed redundant assignment.
4336 * configure.in: switch subdirs assignment to configdirs.
4337 * gdb.t*/configure.in: new files.
4338
4339 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
4340
4341 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
4342 works.
4343
4344 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
4345
4346 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
4347 in explicit rules. Apparently this is not supported by some makes.
4348
4349 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
4350
4351 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
4352
4353 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4354
4355 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
4356 disappeared.
4357
4358 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
4359
4360 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
4361
4362 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
4363
4364 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
4365 watchpoint problem that is now fixed.
4366 * gdb.t30/chexp.exp: Remove setup_xfail for printing
4367 uninitialized convenience variables.
4368 * gdb.t31/chillvars.exp: Fix expected patterns for printing
4369 structures.
4370
4371 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4372
4373 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
4374 which causes expect to get out of sync with gdb on long output
4375 from help set.
4376 * gdb.t09/corefile.exp: Make expected pattern for core file
4377 failing signal and frame output format less sun specific.
4378
4379 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
4380
4381 * gdb.t31/chillvars.exp: Add and remove initial dummy
4382 breakpoint, so that symbol table is forced in.
4383 (Needed at least on Sunos4, though it seems not SVR4.)
4384 * gdb.t31/chillvars.exp: Update for changed output format.
4385
4386 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
4387
4388 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
4389
4390 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
4391
4392 * Makefile.in: Added --srcdir when invoking runtest, removed the
4393 need for a local config file. (optional now)
4394
4395 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
4396
4397 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
4398 failure count used to force early termination. Add some more
4399 expected failures for gnu style demangling.
4400
4401 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4402
4403 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
4404 pmi variable from gdb.t20/gdbme to get optimized away.
4405 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
4406 Check for written corefile upon timeout _and_ eof.
4407
4408 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4409
4410 * config/unix-gdb.exp: Add missing return 0.
4411
4412 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4413
4414 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
4415 test termination.
4416
4417 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
4418
4419 * configure.in (subdirs): Put back gdb.t17 which mysteriously
4420 disappeared.
4421
4422 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
4423
4424 * gdb.t10/crossload.exp: Disable the i860-elf test until such
4425 time as i860 support works.
4426
4427 * gdb.t15/funcargs.exp: Fix expected outputs to include
4428 "backtrace 100\r" rather than just "backtrace\r", to match last
4429 change.
4430
4431 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
4432
4433 * config/udi-gdb.exp (gdb_exit): Remove close command.
4434 (gdb_target_udi): New procedure to set the UDI target.
4435 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
4436 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
4437 Added waits for prompts after several question responses. Added
4438 some more responses used by a29k-amd-udi-gdb.
4439 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
4440 pass different arguments, restart UDI connection after program
4441 completion.
4442 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
4443 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4444 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
4445 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
4446 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
4447 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
4448 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4449 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
4450 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
4451 after program completion.
4452 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
4453 compiled with a SELECT_VECS setting.
4454 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
4455 infinite recursion.
4456
4457 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
4458 Added checks for COFF results, and made them expected failures for
4459 all targets. It would be better to make them expected failures
4460 for COFF targets only.
4461
4462 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
4463
4464 * Makefile.in: add null dvi target, don't bother to recurse
4465 through test directories for info and install-info; rename
4466 $(datadir) to be dejagnu instead of deja-gnu
4467
4468 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
4469
4470 * gdb.t31/gdbme.ch: Re-enable code that previously caused
4471 compiler to coredump.
4472 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
4473 code.
4474
4475 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
4476
4477 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
4478 coredump.
4479 * gdb.t31/chillvars.exp: Comment out tests that depend on that
4480 code.
4481
4482 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
4483
4484 * gdb.t03/ptype.exp: tests for return code from gdb_test.
4485 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
4486 which in a shell. Deletes xgdb when done.
4487 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
4488 Tests the return from the "set height" or "set width" commands.
4489 Added a few return codes where needed.
4490
4491 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
4492
4493 * Makefile.in (SUBDIRS): Add gdb.t17.
4494 * configure.in (subdirs): Add gdb.t17.
4495 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
4496 files to test gdb's calling of functions in the inferior with
4497 the correct arguments and gdb's ability to retrieve any
4498 result returned.
4499
4500 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
4501
4502 * config/unix-gdb.exp (gdb_exit): Remove close commands that
4503 may be called after gdb goes away. Previous versions of expect
4504 needed these to avoid file descriptor leaks, but they cause
4505 errors with the current revision of expect.
4506 * gdb.t00/gdbvars.exp: Use -re on expected output after
4507 setting sevenbit-strings.
4508 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
4509 to set sevenbit-strings consistent across tests.
4510 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
4511 set sevenbit-strings consistent across tests.
4512
4513 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
4514
4515 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
4516 expected output to match current "expect" expectations.
4517
4518 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
4519
4520 * gdb.t00/default.exp: Change expected output for default "source"
4521 command, to match new gdb behavior which requires a filename to
4522 source.
4523
4524 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
4525
4526 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
4527 expected fail for i486-*-* that misses the marker2 function.
4528 * gdb.t10/crossload.exp (bfddefault): Allow successful
4529 recognition of a format to pass even if no symbols are found.
4530 Explicitly catch failures where the format is not recognized
4531 or is ambiguous, and add the reason to the fail message.
4532 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
4533 the cause is and invalid target and add reason to failure message.
4534 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
4535 elf32-i386, elf32-sparc, and elf32-i860.
4536 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
4537 Set up expected failure for 'filename'::variable scope resolution,
4538 which is now apparently broken on all targets.
4539 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
4540 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
4541 gdb.t23/templates.exp: Change failure for missing binfile into
4542 just a warning.
4543 gdb.t21/demangle.exp: Change all cfront references to 'arm'
4544 references.
4545
4546 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
4547
4548 * gdb.t00/default.exp: Add expected output for default "source"
4549 command, to match new gdb behavior.
4550 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
4551
4552 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
4553
4554 * config/*-gdb.exp: returns an error, rather than exiting on
4555 internal errors.
4556
4557 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
4558
4559 * gdb.t03/gdbme.c: Add pointer to struct variable.
4560 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
4561 referencing struct members.
4562
4563 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
4564
4565 * configure.in (mips-idt-ecoff): New target.
4566 * config/mips-gdb.exp: New file for remote board using MIPS remote
4567 debugging protocol.
4568
4569 * Redid configuration scheme. Removed gdb.t*/configure.in.
4570 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
4571 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
4572 distclean targets. Built executables via .o files. Adjusted
4573 tests to account for source files in $(srcdir) rather than
4574 $(objdir).
4575 * lib/gdb.exp (runto): Don't expect () after the function name,
4576 because it may have arguments.
4577
4578 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
4579
4580 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
4581 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
4582 expected failures for mips-idt-* and mips-sgi-*.
4583 * gdb.t00/default.exp (attach): Kill process if requested.
4584 * gdb.t00/help.exp (help target core, help target): Accept a gdb
4585 that does not read core files.
4586 * gdb.t01/run.exp: Removed checks for exit status code.
4587 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
4588 it is linked in.
4589 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
4590 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
4591 appropriate, rather than doing it by hand.
4592 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
4593 execution.
4594 * gdb.t10/crossload.exp: Kill existing program if needed.
4595 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
4596 appropriate, rather than doing it by hand. Always increase
4597 timeout for this test, not just for VxWorks.
4598
4599 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
4600
4601 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
4602 of Chill STRUCT types and STRUCT values.
4603 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
4604 than "char".
4605 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
4606 struct2): New struct definitions and initializations to test
4607 simple Chill STRUCT types.
4608
4609 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
4610
4611 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
4612 the null byte at the end of strings.
4613 * gdb.t00/default.exp: Make show version insensitive to copyright
4614 date.
4615 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
4616 to avoid dependencies on target char signedness.
4617 * gdb.t16/printcmds.exp: Update expected results for explicitly
4618 unsigned char.
4619 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
4620 now work.
4621 * gdb.t21/demangle.exp: Add many more patterns for template
4622 demangling, most of them being expected failures.
4623 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
4624 string we are matching for, to match on the whole string.
4625 * gdb.t21/demangle.exp: Add many new test strings to demangle,
4626 and fix a whole bunch that had incorrect expected output but were
4627 passing anyway because of the bug in "proc demangle".
4628 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
4629 type.
4630 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
4631
4632 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
4633
4634 * gdb/testsuite: made modifications to testcases, etc., to allow
4635 them to work properly given the reorganization of deja-gnu and the
4636 relocation of the testcases from deja-gnu to a "tool" subdirectory.
4637
4638 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
4639
4640 * gdb/testsuite: Initial creation of gdb/testsuite.
4641 Migrated dejagnu testcases and support files for testing nm to
4642 gdb/testsuite from deja-gnu. These files were moved "as is"
4643 with no modifications. This migration is part of a major overhaul
4644 of dejagnu. The modifications to these testcases, etc., which
4645 will allow them to work with the new version of dejagnu will be
4646 made in a future update.
4647 \f
4648 Local Variables:
4649 mode: indented-text
4650 left-margin: 8
4651 fill-column: 74
4652 version-control: never
4653 End:
This page took 0.129415 seconds and 4 git commands to generate.