1 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
3 * gdb.base/watchpoint.exp: Don't run the test_stepping
4 tests if gdb can't call functions on the target.
6 * gdb.base/setshow.exp: Don't run the set prompt tests if
7 the board has gdb_prompt set.
9 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
11 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
12 * gdb.base/commands.exp: Likewise.
13 * gdb.base/setshow.exp: Likewise.
15 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
17 * config/monitor.exp(gdb_start): Look for gdb_prompt target
20 * config/i960.exp: New file.
22 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
24 * gdb.base/funcargs.exp: Check for gdb,short_int target
25 feature instead of looking for explicit target triplets.
27 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
29 * gdb.base/printcmds.exp: add a couple more tests a la
30 "p 123DEADBEEF", to check parse_number.
31 * top.c: change "to enable to enable" to "to enable" in a couple
34 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
36 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
39 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
41 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
42 where the test executable is run with explicit args.
43 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
45 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
47 * gdb.base/run.c: Use FAKEARGV to build test executable that
48 does not require a command line arg, since most simulators
49 don't currently support passing such an arg into the simulated
51 * gdb.base/commands.exp: Change tests to insert the proper
52 value as the arg to the first recursive factorial call. Change
53 compilation line to define FAKEARGV at compile time.
55 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
57 * gdb.base/recurse.exp: Enable these tests for the mn10300.
58 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
59 function with watchpoint enabled" test.
61 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
63 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
64 Don't call gdb_test when the command doesn't return to a gdb prompt.
66 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
67 "Tests restarted" messages.
69 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
71 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
73 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
75 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
76 for INFO SYMBOL; add help tests for OVERLAY commands.
77 * gdb.base/default.exp: add tests for INFO SYMBOL command;
78 add tests for OVERLAY commands
79 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
80 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
81 * gdb.base/sigall.c: add usestubs code frag
82 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
84 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
86 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
88 (gdb_stop_suppressing_tests): Note that tests have restarted.
90 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
92 * config/h8300.exp: New file.
94 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
96 * gdb.base/setshow.exp: Check for the existence of a
97 feature, not its value.
99 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
101 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
103 * gdb.base/scope.exp: It's now init0(), not init().
105 * gdb.base/scope0.c: For now, change init() to be init0().
107 * config/monitor.exp: Use gdb_serial in preference to serial
110 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
111 and it's not already set.
113 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
115 * gdb.base/setshow.exp: Only test the run command if the target
116 isn't using a stub and if it supports argument passing.
118 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
120 * config/udi.exp(gdb_start): Make sure UDICONF is set
121 properly before starting gdb.
123 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
125 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
126 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
127 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
129 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
131 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
132 specialized code to reboot the board, use remote_reboot instead.
134 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
136 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
138 * config/monitor.exp: Make sure we disconnect from the target.
139 Also, try a reboot/reload cycle instead of failing if the
142 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
144 * gdb.base/default.exp: Don't set match_max.
145 * gdb.base/help.exp: Ditto.
146 * gdb.base/list.exp: Ditto.
147 * gdb.base/signals.exp: Ditto.
149 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
150 set, use remote_ld to download the testcase instead of
153 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
155 * config/vr5000.exp: New file.
157 * config/monitor.exp(gdb_target_monitor): Add pattern for
158 "Ending remote" to detect errors in connecting.
160 * gdb.base/setshow.exp: Add .* within auto language test.
162 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
165 * config/monitor.exp(gdb_load): Check for a failure when loading,
166 and reboot the board if necessary.
168 * gdb.base/setvar.exp(test_set): Handle multiple prints within
169 a set of tests. Remove print.* from the patterns being checked.
171 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
173 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
174 refer to gdb_spawn_id.
176 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
178 * config/sparclet.exp: Ditto.
179 * config/sparclet-old.exp: Ditto.
180 * config/slite.exp: Ditto.
181 * config/sim.exp: Ditto.
182 * gdb.base/funcargs.exp: Ditto.
184 * lib/gdb.exp:Remove references to gdb_spawn_id.
185 (gdb_expect): Move to remote.exp.
187 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
189 * config/monitor.exp: Detect the "Couldn't establish connection"
192 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
194 * gdb.base/bitfields.exp: Use runto instead of explicit
195 gdb_run_cmd/gdb_expect sequences.
197 * gdb.base/break.exp(text_next_with_recursion): Add match for
200 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
201 We also need to handle the "A program is being debugged already"
202 prompt from gdb. Use gdb_test to set the baud rate.
204 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
205 to 20000. Really. I mean it.
207 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
209 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
210 fails. If suppress_flag is set, skip perror message about not
211 being able to send to GDB.
212 (send_gdb): If suppress_flag is set, don't try to send commands to
214 (gdb_expect): If suppress_flag is set, always fail immediately.
215 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
216 (gdb_init): Call gdb_stop_suppressing_tests.
217 (default_gdb_exit): Ditto.
218 (default_gdb_start): Ditto.
220 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
221 gdb_stop_suppressing_tests as appropriate.
222 * gdb.base/break.exp: Ditto.
223 * gdb.base/callfuncs.exp: Ditto.
224 * gdb.base/commands.exp: Ditto.
225 * gdb.base/exprs.exp: Ditto.
226 * gdb.base/funcargs.exp: Ditto.
227 * gdb.base/list.exp: Ditto.
228 * gdb.base/recurse.exp: Ditto.
229 * gdb.base/scope.exp: Ditto.
230 * gdb.base/structs.exp: Ditto.
231 * gdb.c++/inherit.exp: Ditto.
233 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
235 * config/vr4300.exp: New file.
237 * gdb.*/*.exp: Call gdb_expect instead of expect.
239 * lib/gdb.exp(gdb_expect): New function.
241 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
243 * lib/gdb.exp(gdb_init): New function.
245 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
246 for each individual variable set.
248 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
251 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
253 * gdb.base/scope.exp: Use gdb_test.
255 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
256 aborting; the testsuite driver will do that for us (see
257 gdb_finish). Also, use gdb_test in a few more places.
259 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
261 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
263 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
265 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
266 and "add_tests" are not at the same address.
268 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
270 * gdb.base/ptype.exp: Use gdb_test.
272 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
274 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
275 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
276 left in. No longer expect them to fail.
278 * gdb.stabs/*.mt; Deleted, no longer used.
279 * gdb.stabs/configure.in: Remove references to target makefile
281 * gdb.stabs/configure: Rebuilt.
283 * gdb.disasm/*.mt: Deleted, no longer used.
284 * gdb.disasm/configure.in: Remove references to target makefile
285 frags. Use "sh3.s" as the unique filename for this directory.
286 * gdb.disasm/configure: Rebuilt.
288 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
289 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
290 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
292 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
294 * config/udi.exp: Use mondfe,name instead of remote_host.
296 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
298 * gdb.base/watchpoint.exp: Don't expect a failure when calling
299 a function with a watchpoint enabled on the mn10200.
301 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
302 before trying to create it!
304 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
306 * config/vx.exp: Use hostname instead of netport.
308 * config/vxworks.exp: New file.
310 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
312 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
313 gdb before assuming everything worked. Send a ^C if a timeout
316 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
317 $gdb_spawn_id directly.
318 (gdb_run_cmd): Try _start as well as start. Use the target feature
319 gdb,start_symbol as the symbol to start from when jumping.
321 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
323 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
326 * gdb.base/recurse.exp: Relax final value test for 'b' so that
327 it doesn't lose for 16bit integer systems.
329 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
331 * gdb.fortran/types.exp: If the target doesn't support "double"
332 data types, then expect "real" types to only be 4 bytes.
334 * gdb.c++/virtfunc.exp: Expect failure for virtual function
335 call tests if the target doesn't support inferior function calls.
337 * gdb.base/printcmds.exp: Allow minor deviation in FP values
340 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
342 * gdb.base/help.exp: Disable "help set", "help show", and
343 "help support". Simplify regexp for "help stack".
345 * gdb.base/default.exp: Set match_max to 5000 and the timeout
346 to 60 seconds. Temporarily set match_max to 15000 around the
349 * gdb.base/nodebug.exp: Don't try to do an inferior function
350 call if the target doesn't support them.
351 * gdb.base/printcmds.exp: Likewise.
352 * gdb.base/setvar.exp: Likewise.
353 * gdb.base/structs.exp: Likewise.
354 * gdb.c++/templates.exp: Likewise.
355 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
357 * gdb.base/recurse.exp: Enable for the mn10200.
359 * configure.in: Do configure gdb.stabs directory for *-*-elf
361 * configure: Rebuilt.
363 * gdb.base/break.exp: Check for gdb,noresults before testing
364 exit status and/or results from the target.
365 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
366 * lib/gdb.exp: Remove old (now bogus) initialization of
367 noinferior, noargs, noresults and nosignals.
369 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
371 * config/sh.exp: New file.
373 * config/slite.exp: Try to connect multiple times to the board
374 before rebooting. Only send a "monitor run" if need_monitor_run
377 * gdb.base/break.exp: Don't do the "stub continue" test if
378 the target has gdb_stub set.
380 * gdb.base/callfuncs.exp: Increase the timeout.
382 * gdb.base/interrupt.exp: Don't even try to compile the testcase
383 if the target has gdb,noinferiorio set.
385 * gdb.base/list.exp: Increase match_max to 10000 characters.
387 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
389 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
392 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
394 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
396 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
397 trying to delete the copy of gdb. Catch the file delete so we
398 don't die if the delete fails; also, the file should be copied to
399 the host, not to the build.
401 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
403 * lib/gdb.exp(gdb_test): Surround the result pattern with
404 parenthesis in case it contains multiple regexps separated
407 * gdb.base/watchpoint.exp: Use gdb_test.
408 * gdb.base/default.exp: Ditto.
410 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
412 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
414 * gdb.base/scope.exp: Use gdb_test.
415 * gdb.c++/classes.exp: Ditto.
416 * gdb.c++/inherit.exp: Ditto.
418 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
420 * gdb.base/crossload.exp: Don't use execute_anywhere, use
422 * gdb.base/corefile.exp: Don't be ridiculous.
423 * gdb.base/*.c: Add missing stub invocations.
425 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
427 * config/slite.exp: Miscellaneous fixes.
429 * lib/gdb.exp: Fix runto.
431 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
434 * gdb.base/watchpoint.exp: Fix regexp.
436 * lib/gdb.exp(default_gdb_exit): Add a catch to the
437 close and wait commands, as the descriptor may now be
438 invalid. Always call "remote_close host".
440 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
442 Major rewrite for testsuite revision.
444 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
445 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
446 instead of relying on spawn_id to always contain a valid
448 (get_compiler_info): New procedure to build the ${binfile}.ci
449 file, instead of replicating this in N different places.
450 (gdb_compile): New procedure.
452 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
453 appropriate arguments) instead of compile. Use gdb_test in a lot
454 more places. Use send_gdb instead of send. Always run gdb_start
455 at the start of a testcase, as this is no longer done magically.
457 config/*-gdb.exp: Rename without the -gdb suffix.
459 config/mips.exp: Use remote_close instead of exit_remote_shell.
460 config/monitor.exp: Use target_info instead of looking at
462 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
464 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
466 * gdb.c++/templates.exp (test_ptype_of_templates),
467 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
468 Update expect patterns for destructors and assignment operators
469 to match corresponding c-typeprint.c changes.
470 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
471 to destructor breakpoint test, GDB should be able to set the
472 destructor breakpoint without specifying arguments.
474 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@ninemoons.com>
476 * gdb.threads/pthreads.exp: Change result for failure to compile due
477 to lack of pthreads runtime support from an error to simply an
478 unsupported test, per dejagnu standards.
480 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
482 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
483 where GDB exits to reduce pattern match time.
484 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
486 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
488 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
490 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
491 * gdb.base/default.exp: ditto.
492 * gdb.base/nodebug.exp: ditto.
493 * gdb.base/printcmds.exp: ditto.
494 * gdb.base/ptype.exp: ditto.
495 * gdb.base/setvar.exp: ditto.
496 * gdb.base/structs.exp: ditto.
497 * gdb.base/setshow.c: Guard against uninitialized values of argc.
499 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
501 * configure, */configure: Rebuild with autoconf 2.12.
503 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
505 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
506 use new i*86-pc-linux*-gnu quads.
507 * gdb.base/corefile.exp: Ditto.
508 * gdb.base/signals.exp: Ditto.
509 * gdb.base/sigall.exp: Ditto.
510 * gdb.base/interrupt.exp: Ditto.
512 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
513 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
516 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
517 linux. This allows the test case to at least compile on latest
518 linux, but still not run due to missing the threads runtime library.
520 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
522 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
523 directory to search gdb directory. Accept and step over conditional
524 stack alignment code. Consume $prompt in failure cases.
525 Reset timeout to $oldtimeout instead of some arbitrary value.
526 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
527 timeout problems with infinite stack backtraces.
528 * gdb.base/ptype.exp (ptype struct link, union tu_link):
529 Accept function parameters for linkfunc member.
531 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
533 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
534 (CXXFLAGS): Remove, unreferenced.
535 (B_OPTIONS): Add for -B options and add code to initialize with
536 previous -B options and also add -B option to pick up cross compiled
538 (TARGET_INCLUDES): Add for -I options and add code to initialize when
539 doing cross compiles.
540 (target_alias): Declare global.
541 (xgcc): Set variable to full path of gcc in build tree. Use findfile
542 to verify that gcc exists in build tree, and if so set CC to that
543 gcc and to use B_OPTIONS and TARGET_INCLUDES.
545 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
547 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
548 ptype test for anonymous union. Fixup testcase to match
549 current gcc debug output.
551 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
553 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
554 force argument to an unsigned long type.
556 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
558 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
559 tests and anonymous union print/ptype tests.
560 * gdb.base/list.exp (test_forward-search): Increase timeout by
561 5 minutes for the "search extremely long line" case.
562 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
563 completely optional and that the pass/fail messages use the command as
564 the message if that third arg is a null string.
565 (gdb_test_exact): Arrange that a null string pattern means match a
566 null string output rather than any output, which might include random
568 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
570 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
571 always failing and failure is now exposed by gdb.exp changes.
573 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
575 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
578 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
580 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
581 * gdb.stabs/weird.exp: Remove v_comb xfails.
583 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
585 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
586 list.exp scope.exp watchpoint.exp]
587 Make all timeout error msgs explicitly say "(timeout)".
589 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
591 * config/monitor.exp: Increase download timeout to 1000 seconds.
593 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
595 * config/m32r.exp: Increase timeout to 120 seconds.
597 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
599 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
600 and accept older ordering as obsolescent gcc or gdb.
601 * gdb.c++/templates.exp: Ditto.
602 * gdb.c++/virtfunc.exp: Ditto.
604 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
606 * gdb.base/coremaker.c: Add code to mmap some data so we
607 can check that it ends up in the core file.
608 * gdb.base/corefile.exp: Add test to read mmapped data
611 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
613 * config/m32r.exp: New file.
615 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
617 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
618 that cflags can contains -gstabs, and work correctly for other tests.
620 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
622 * gdb.base/setshow.exp: New file, tests show and set.
623 * gdb.base/setshow.c: New file, tests show and set.
624 * gdb.base/help.exp: Add test for help set|show annotate.
625 * gdb.base/default.exp: Add test for set|show annotate.
627 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
629 * testsuite/gdb.base/break.exp: Make backtrace from factorial
631 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
634 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
636 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
637 and width commands. This is done elsewhere.
638 * (gdb_start): Don't call gdb_start_sim here. That's already
639 done in gdb_load. This fixes lots of failures in default.exp.
641 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
643 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
644 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
645 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
646 in the same we we treat other failures (since it may be an expected
647 condition), rather than as an error.
648 * gdb.base/signals.exp (test_handle_all_print): Revert back to
651 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
653 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
654 (distclean maintainer-clean realclean): No need to remove files
655 twice. Nuke the duplicates.
656 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
657 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
658 Remove config.h along with other config files.
660 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
662 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
663 "p func1 ()" and note that rests of tests are skipped.
664 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
665 setup_xfails for "print func2::coremaker_local".
666 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
667 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
668 affected by the previous run test.
669 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
670 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
671 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
672 "pass int powerset tuple" and "pass modeless int powerset tuple".
673 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
674 "real write 4" and "real write 8".
675 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
676 setup_xfails for "print vs1 after tuple assign 2",
677 "print \$i after tuple assign 2", and
678 "print vs2 after tuple assign 2".
679 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
680 meaningful error message and return -1 so the caller can
681 suppress further tests and avoid a cascade of errors.
683 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
685 * gdb.base/a1-selftest.exp: Tweak tests to account for new
686 format for printing version.
687 * gdb.base/default.exp: Ditto.
688 * gdb.base/interrupt.exp: Fix problem with cascade of
689 errors if child process dies while calling a function.
691 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
693 * Makefile.in (VPATH): Add
694 * Makefile.in (Makefile, config.status): Fix rules so things get
695 remade when necessary.
697 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
699 * Makefile.in (just-check): Add path to sibling expect dir
700 to environment variable specified by RPATH_ENVVAR.
702 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
704 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
705 (just-check): Add shared library paths for libstdc++, tk,
706 tcl, bfd, and opcodes to the environment variable specified
708 * configure.in: Add support to recognize --enable-shared flag
709 and generate correct value for RPATH_ENVVAR.
710 * configure: Regenerated with autoconf.
712 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
714 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
715 include all osf versions.
716 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
717 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
718 when target is linux. When failing to build pthreads test
719 executable, give more meaningful message.
720 * gdb.threads/pthreads.c: Hpux also uses old definition of second
721 arg for pthread_create.
723 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
725 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
726 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
727 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
728 and -lpthreads (everybody else).
729 (test_startup): Fail gracefully if threads are not supported.
730 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
731 "p/c array_index("abcdef",2)" when not gcc compiled.
732 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
733 "print func2::coremaker_local" when not gcc compiled.
734 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
735 "ptype on opaque struct tagname (statically)",
736 "ptype on opaque struct tagname (dynamically) 1", and
737 "ptype on opaque struct tagname (dynamically) 2"
738 for not compiled with gcc.
739 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
740 backtrace when compiled with gcc.
741 * lib/gdb.exp (runto_main): Return result of "runto main" rather
742 than always return success.
744 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
746 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
748 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
750 * gdb.base/structs.exp: Undo last change.
752 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
754 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
755 encapsulate all the steps/nexts done during self test, starting
756 at main, and makes them less sensitive to optimization issues.
757 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
758 signal handler" test.
759 * gdb.threads/pthreads.exp: Only run this for native configs.
760 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
761 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
763 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
764 for "runto test_calls(void)" test.
766 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
768 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
769 and don't expect address info in breakpoint confirmations.
771 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
773 * gdb.base/list.exp (test_forward_search): Increase timeout
774 temporarily by 60 seconds for searching extremely long line,
775 and then reset to old value when done. Increase expect input
778 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
780 * gdb.base/list.exp (test_forward_search): Fix to handle very
781 long source line without overflowing expect's input buffer.
783 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
785 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
788 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
791 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
794 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
797 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
799 * configure.in (configdirs): Add gdb.threads.
800 * configure: Regenerated with autoconf.
801 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
802 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
803 * gdb.threads/configure: New, generated with autoconf.
805 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
807 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
809 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
811 * gdb.base/signals.exp (test_handle_all_print): Test separately for
812 each signal's status in the output of "handle all print".
813 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
814 the \r\n sequence that immediately precedes the gdb prompt.
815 * gdb.base/a1-selftest.exp: Save original timeout and restore
818 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
820 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
823 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
825 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
827 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
829 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
830 timeout by 60 seconds.
832 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
834 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
835 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
838 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
840 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
841 gdb initialization, also report how long dejagnu waited. Restore
842 old timeout before doing error return. Temporarily increase timeout
843 by 3 minutes to allow for slow startups over heavy NFS use.
845 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
847 * lib/gdb.exp: Report timeout value for verbosity level 2.
848 * config/gdbserver.exp: Ditto.
849 * config/hppro.exp: Ditto.
850 * config/mips-gdb.exp: Ditto.
851 * config/monitor.exp: Ditto.
852 * config/netware.exp: Ditto.
853 * config/sim-gdb.exp: Ditto.
854 * config/slite-gdb.exp: Ditto.
855 * config/udi-gdb.exp: Ditto.
856 * config/unix-gdb.exp: Ditto.
857 * config/vx-gdb.exp: Ditto.
858 * gdb.base/a1-selftest.exp: Ditto.
859 * gdb.base/a2-run.exp: Ditto.
860 * gdb.base/break.exp: Ditto.
861 * gdb.base/corefile.exp: Ditto.
862 * gdb.base/list.exp: Ditto.
863 * gdb.base/recurse.exp: Ditto.
864 * gdb.base/scope.exp: Ditto.
865 * gdb.base/signals.exp: Ditto.
867 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
869 * gdb.threads/Makefile.in (docdir): Removed.
871 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
873 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
874 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
876 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
877 autoconf 2.5 or higher.
878 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
880 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
882 * configure: Regenerated.
883 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
884 avoid name clashes with SunOS headers.
886 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
888 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
890 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
892 * gdb.base/callfuncs.exp: Finish last change -- make sure the
893 prototype information ends up in the compiler info file.
895 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
897 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
898 attempting to regenerate it. Eliminate use of a temporary file
899 and just generate the info file directly. Source it immediately,
900 for consistency of use.
901 * gdb.base/corefile.exp: Ditto
902 * gdb.base/exprs.exp: Ditto.
903 * gdb.base/funcargs.exp: Ditto.
904 * gdb.base/langs.exp: Ditto.
905 * gdb.base/list.exp: Ditto.
906 * gdb.base/mips_pro.exp: Ditto.
907 * gdb.base/nodebug.exp: Ditto.
908 * gdb.base/opaque.exp: Ditto.
909 * gdb.base/ptype.exp: Ditto.
910 * gdb.base/scope.exp: Ditto.
911 * gdb.base/setvar.exp: Ditto.
912 * gdb.base/signals.exp: Ditto.
913 * gdb.base/whatis.exp: Ditto.
914 * gdb.c++/templates.exp: Ditto.
915 * gdb.c++/virtfunc.exp: Ditto.
916 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
917 whether or not to add -lstdc++ to the compile command line args.
919 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
921 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
922 it got fixed by the recent lookup_minimal_symbol_by_pc change.
923 Increase timeout, a lot of single stepping might be needed if the
924 target has no hardware watchpoints.
926 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
928 * gdb.base/break.exp: Ignore compiler warnings when compiling
930 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
931 * gdb.base/default.exp: Add h8300 xfails. Handle messages
933 * gdb.base/exprs.exp: Add h8300 xfails.
934 * gdb.base/funcargs.exp: Likewise.
935 * gdb.base/nodebug.exp: Likewise.
936 * gdb.base/printcmds.exp: Likewise.
937 * gdb.base/ptype.exp: Likewise.
938 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
940 * gdb.base/return.exp: Handle float/double precision problems
942 * gdb.base/funcargs.c: Explicitly make last constant argument to
943 call_after_alloca_subr an unsigned long type.
944 * gdb.base/return.c: Include stdio.h.
946 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
948 * config/abug.exp: New file for the older Motorola Bug monitor
949 that runs on the mvme13x series VME boards.
950 * config/monitor.exp: Use the new config array for target settings
953 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
955 * sim-gdb.exp: Make the SH simulator allocate less space when
958 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
960 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
963 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
965 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
966 "rs6000-*-*" for "list function in include file" when gcc compiled.
967 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
968 for "p ctable1[120]".
969 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
970 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
971 Remove setup_xfail for "rs6000-*-*" for
972 "print 'scope0.c'::filelocal before run".
973 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
974 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
975 since some compilers don't allow both options to be given
976 on the same command line. Create object file and move it.
978 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
980 * gdb.base/corefile.exp: Always regenerate the core file, since
981 we always regenerate the coremaker program. Detect special case
982 where registers cannot be read from core file.
984 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
986 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
987 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
988 * gdb.c++/templates.exp: Only match on basename of file since
989 some formats like xcoff don't encode directory information.
990 * gdb.stabs/weird.exp: Use the right sed script for powerpc
991 and rs6000 AIX xcoff targets.
992 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
993 * configure: Regenerate.
994 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
995 here, rather than in distclean.
997 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
999 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
1000 defined, and use it to compile the test case with -O2. The
1001 native compilation still uses no optimization.
1002 * gdb.base/mips_pro.c: Remove inline assembly code since
1003 it is compiled PIC by default, which results in assembler
1004 warnings that make the testsuite think the compilation
1007 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
1009 * gdb.c++/misc.exp: Add note to message for
1010 "print s.a for foo struct" that this is a known gcc 2.7.2
1013 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
1015 * gdb.base/break.exp: Fix pattern for matching "Delete all
1016 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
1017 setup_xfail for deleting all breakpoints test. Fix various
1018 timeout messages to include "(timeout)".
1019 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
1020 for "p t_float_values2(3.14159,float_val2)".
1021 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
1022 for "continue to call2g" when gcc compiled.
1023 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
1024 "up to foo in langs.exp", "show language at foo in langs.exp",
1025 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
1026 and "show language at fsub in langs.exp".
1027 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
1028 "list line 1 in include file", "list message for lines past EOF",
1029 "list function in include file", "list list0.h:foo", and
1030 "list filename:function; nonexistant function".
1031 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
1032 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
1033 and "ptype t_char_array" to be for native cc only.
1035 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
1037 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
1038 setup_xfail for "print coremaker_bss", "print coremaker_ro",
1039 "print func2::coremaker_local", and "backtrace in corefile.exp".
1041 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
1043 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
1044 "bt in signals.exp". This problem only appears when running
1045 the testsuite, and then only intermittently.
1047 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
1049 * gdb.base/return.exp (return_tests): Differentiate between
1050 two tests of continuing.
1052 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
1054 * */Makefile.in (maintainer-clean): Remove config.log.
1055 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
1056 * gdb.c++/Makefile.in (PROGS): Add inherit.
1057 (clean): Remove *.ci.
1059 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
1061 * gdb.c++/misc.cc: Add test code from Mike Stump.
1062 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
1064 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
1066 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
1067 to "alpha-*-osf2*" and add comment.
1068 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
1069 setup_xfail for "step over execarg initialization" and
1070 "step over corearg initialization".
1071 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
1072 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
1073 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
1074 gcc compiled for "print coremaker_bss", "print coremaker_ro",
1075 "print func2::coremaker_local", and "backtrace in corefile.exp".
1076 * gdb.base/signals.exp: Build and source signals.ci.
1077 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
1079 * lib/gdb.exp: Move verbose statements outside conditionals.
1081 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1083 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
1084 Feb 3 procfs.c change.
1086 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
1088 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
1090 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
1092 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
1093 from dejagnu's apparent default of 10 seconds, which gives random
1094 results when running the tests over NFS on moderately loaded systems.
1095 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
1097 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
1099 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
1100 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
1103 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
1105 * configure.in (CY_AC_PATH_TCLH): Remove.
1106 * configure: Regenerate.
1108 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
1110 * gdb.c++/Makefile.in (clean): Add missing '{'.
1112 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
1114 * lib/gdb.exp: Provide a default value for noinferior.
1116 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
1119 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
1121 * gdb.disasm/hppa.exp: Compile directly into an executable, use
1122 the executable, not the .o to run the tests from.
1124 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
1126 * gdb.base/break.exp: Don't test for program exit or exit status
1127 if $noresults if nonzero.
1128 * gdb.base/langs.exp: Likewise.
1129 * gdb.base/watchpoint.exp: Likewise.
1131 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
1132 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
1133 trying to compile the testcase.
1135 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
1137 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
1138 * gdb.base/signals.exp (continue to handler): Likewise.
1140 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
1142 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
1144 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
1146 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
1148 * gdb.base/corefile.exp: Recognize "not found" as failure
1149 when trying to determine if a core file was generated.
1150 If no core file was generate the first time, try again without
1151 the ulimit -c to work around braindamaged shells.
1153 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
1155 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
1156 [] tests with "test" and enclose string in quotes.
1157 * gdb.stabs/configure: Rebuild
1159 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
1161 Changes in sync with expect:
1162 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
1163 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
1164 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
1165 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
1166 argument to AC_REQUIRE.
1167 * configure: Regenerated.
1169 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
1171 * gdb.base/corefile.exp: When generating a core, discard any
1172 error messages about ulimit not found and the "core dumped"
1173 message from the shell that runs the coredumper.
1175 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
1177 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
1179 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
1180 which sed script to run. Expect failure for v_comb test
1183 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
1185 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
1186 "print func2::coremaker_local" and for "backtrace in corefile.exp"
1188 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
1190 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
1191 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
1192 "sparc-sun-solaris*" xfails for "p v_comb".
1193 * lib/gdb.exp (default_gdb_start): Fix typo.
1194 * gdb.base/corefile.exp: Allow "Core was generated by ..."
1195 messages to not include the full program name that caused
1196 the core dump since some systems (such as solaris) apparently
1197 truncate this path to about 80 characters.
1198 When generating a core file first try increasing the core file
1199 size limit to unlimited since some systems may default it to
1200 zero, and it is harmless to try it. Move the test for failing
1201 to generate a core file to where it will actually get executed.
1202 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
1203 new gdb result from g++ debug info improvements and make old
1204 pattern obsolescent. Also account for size_t differences
1205 (may be int or long).
1206 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
1207 initialization before function call is placed in the delay slot
1208 and thus appears to be skipped over by commands such as "next".
1210 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
1212 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
1214 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
1216 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
1217 input source file; fix code to compile test to deal with this
1219 * gdb.c++/*.exp: Likewise.
1221 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
1223 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
1224 "bt in signals.exp".
1226 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
1228 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
1229 "step over execarg initialization" and
1230 "step over corearg initialization".
1232 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
1234 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
1235 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1237 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
1239 From Rob Savoye (rob@poseidon.cygnus.com)
1240 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
1241 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
1242 configure.in}, gdb.disasm/{Makefile.in, configure.in},
1243 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
1244 configure.in}: Major reworking for autoconfig.
1245 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
1246 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
1248 * config/unix-gdb.exp: Make GDB global.
1249 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
1250 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
1251 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
1252 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
1253 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
1254 term.exp, twice.exp, watchpoint.exp, whatis.exp},
1255 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
1256 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
1257 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
1258 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
1259 pr-8136.exp, result.exp, string.exp, tuples.exp},
1260 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
1261 to returns as necessary, arrange for test to compile own testcase
1263 * lib/gdb.exp: Changes for testsuite to compile own test cases.
1265 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
1267 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
1268 clear_xfail at end of test which might not call either pass or fail.
1269 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
1270 "backtrace through signal handler".
1272 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1274 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
1275 continuing from a job control stop signal.
1276 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
1278 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
1280 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
1281 * gdb.base/corefile.exp: Likewise.
1282 * gdb.base/funcargs.exp: Likewise.
1284 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
1286 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
1287 * config/monitor.exp: Add support for setting baud rate.
1289 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
1291 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
1292 i*86-*-linux* xfails for "backtrace through signal handler".
1293 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
1294 "print func2::coremaker_local".
1295 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
1296 alpha-dec-osf2* xfail for
1297 "delete all breakpoints when none".
1299 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
1301 * gdb.base/break.exp: Change test that deletes all breakpoints
1302 when no user breakpoints are installed. A post 4.15 change
1303 causes gdb to no longer prompt in this case.
1305 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
1307 * gdb.base/return.exp (return_tests): Change xfail for test
1308 "correct value returned double test" to stop xfailing at
1309 Solaris 2.5. Apparently the bug has been fixed.
1311 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
1313 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
1314 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1316 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
1318 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
1319 * gdb.disasm/hppa.s: Corresponding changes.
1321 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
1323 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
1325 * config/mt-hpux: Deleted.
1327 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
1329 * Many files: When warning about suppressed tests due to a
1330 nonexistant test binary, avoid incrementing the warning count.
1332 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
1334 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
1336 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1338 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
1339 "sparc-*-solaris2*".
1341 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1343 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
1344 Add global and local variables and initialize them.
1345 * gdb.base/corefile.exp: Test correct mapping of corefile sections
1346 by printing variables. Remove rs6000 and powerpc xfails, BFD now
1347 extracts the file name and terminating signal from the core file.
1348 * TODO: Remove note about tests for correct mapping of corefile.
1349 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
1350 from optimizing it away.
1351 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
1352 handles common blocks.
1354 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
1356 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
1357 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
1359 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
1361 * Makefile.in (maintainer-clean): New target, synonym for
1363 * gdb.base/Makefile.in (maintainer-clean): Likewise.
1364 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
1365 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
1366 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
1367 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
1368 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
1370 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
1372 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
1373 xfails when not gcc compiled for "print foo::funclocal".
1374 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
1375 "print foo::funclocal at foo",
1376 "print 'scope1.c'::foo::funclocal at foo",
1377 "print foo::funclocal_bss at foo",
1378 "print 'scope1.c'::foo::funclocal_bss at foo",
1379 "print foo::funclocal_ro at foo",
1380 "print 'scope1.c'::foo::funclocal_ro at foo",
1381 "print bar::funclocal at foo" and
1382 "print 'scope1.c'::bar::funclocal at foo".
1383 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
1384 gcc compiled for "print foo::funclocal at bar".
1385 Expand all messages to ensure that they identify that
1386 the test is at bar().
1387 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
1389 "ptype on opaque struct pointer (statically)",
1390 "ptype on opaque struct tagname (statically)",
1391 "ptype on opaque struct pointer (dynamically) 1",
1392 "ptype on opaque struct tagname (dynamically) 1",
1393 "ptype on opaque struct pointer (dynamically) 2" and
1394 "ptype on opaque struct tagname (dynamically) 2
1395 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
1401 "whatis bsslocal", and
1403 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
1404 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
1405 when not gcc compiled.
1406 * gdb.base/funcargs.exp (float_and_integral_args): Add
1407 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
1409 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
1410 "backtrace from call6a" when not gcc compiled.
1411 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
1412 "backtrace from call7a" when not gcc compiled.
1413 * gdb.base/callfuncs.exp (do_function_calls):
1414 Add "hppa*-*-hpux*" xfail when not gcc compiled for
1415 "p t_char_array_values(char_array_val2,char_array_val1)",
1416 "p t_char_array_values(char_array_val1,char_array_val2)",
1417 "p t_char_array_values("carray 1","carray 2")",
1418 "p t_char_array_values("carray 1",char_array_val2)",
1419 "p t_char_array_values(char_array_val1,"carray 2")",
1420 "p sum_args(1,{2})",
1421 "p sum_args(2,{2,3})",
1422 "p sum_args(3,{2,3,4})",
1423 "p sum_args(4,{2,3,4,5})"
1424 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
1425 "backtrace in corefile.exp" when not gcc compiled.
1427 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1429 * gdb.base/signals.exp: Rewrite `handle all print' test as
1430 a procedure. Accept blanks or TABs as whitespace, increase
1431 timeout and expect input buffer size for the large output
1432 from the command. Remove "i*86-*-bsdi2.0" xfail.
1434 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1436 * gdb.base/setvar.exp: Add new testcases for truncation when
1437 assigning invalid values to bitfields.
1439 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
1441 * gdb.base/callfuncs.exp (do_function_calls): Remove
1442 mips-sgi-irix* xfail for
1443 "call inferior func with struct - returns char *"
1444 and fix test so that an optional (unsigned char *) cast is
1445 accepted in the result.
1447 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
1449 * gdb.base/funcargs.exp (float_and_integral_args): Remove
1450 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1451 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
1452 * gdb.base/signals.exp: Remove duplicate "handle all print" test
1453 that accidentally got checked in.
1455 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
1457 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
1458 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
1460 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
1461 Add mips-sgi-irix5* xfail for not gcc compiled.
1462 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
1463 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
1464 "p top", "whatis top", "p middle", and "whatis middle".
1465 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
1466 "whatis signed char" for not gcc compiled.
1467 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
1468 "set variable signed char=-1 (-1)" and
1469 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
1470 * gdb.base/funcargs.exp (float_and_integral_args):
1471 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
1472 Add mips-sgi-irix* xfail when not gcc compiled for
1473 "continue to call2b".
1474 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
1475 "continue to call2g".
1476 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
1477 "backtrace from call6a"
1478 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
1479 "backtrace from call7k".
1480 Add mips-sgi-irix5* xfail when not gcc compiled for
1481 "backtrace from call7a".
1482 (localvars_after_alloca): Fix gdb_test cmds for
1483 "print * after runto ...".
1484 Remove rs6000-*-* xfails for
1485 "print i after runto localvars_after_alloca" and
1486 "print l after runto localvars_after_alloca"
1488 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
1489 when not compiled with gcc, for:
1490 "print signed char == (minus)",
1491 "print signed char != (minus)",
1492 "print signed char < (minus)",
1493 "print signed char > (minus)".
1494 * gdb.base/callfuncs.exp (do_function_calls):
1495 Add mips-sgi-irix* xfail, when compiled with native compiler, for
1496 "call inferior func with struct - returns char *".
1497 * gdb.base/return.exp (return_tests): Change xfail for
1498 "correct value returned double test" to include Solaris 2.4.
1499 * gdb.base/funcargs.exp (float_and_integral_args):
1500 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1502 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1504 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
1505 enumeration bitfields if compiling with GNU C.
1506 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
1509 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
1511 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
1512 test for PRO targets.
1514 * gdb.base/funcargs.exp: Avoid ever setting more than 8
1515 breakpoints in the inferior at any given time by making
1516 two groups of breakpoints for call2*, call6* and call7*
1519 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1521 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
1522 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
1523 from optimizing it away.
1524 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
1525 "call inferior func with struct".
1527 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
1529 * configure.in: Only configure gdb.chill for particular targets.
1531 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
1533 * gdb.base/Makefile.in: Add action to .c.o transformation
1534 rule that generates a .ci file for each .o file and remove
1535 explicit .c.o rules except for callfuncs.o.
1536 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
1537 generates a .ci file for each .o file and remove explicit
1539 (clean): Remove *.tmp *.ci files.
1540 (EXECUTABLES): Remove templ-info.exp.
1541 * gdb.base/compiler.c: New file.
1542 * gdb.c++/compiler.cc: New file
1543 * gdb.base/scope.exp: Source gdb.base/scope.ci.
1544 Change rs6000-*-* xfail for
1545 "print 'scope0.c'::filelocal_ro" and
1546 "print 'scope1.c'::filelocal" and
1547 "print 'scope1.c'::filelocal_bss" and
1548 "print 'scope1.c'::filelocal_ro" and
1549 "print 'scope1.c'::foo::funclocal" and
1550 "print 'scope1.c'::foo::funclocal_ro" and
1551 "print 'scope1.c'::bar::funclocal" and
1552 "print 'scope0.c'::filelocal_ro" and
1553 "print 'scope1.c'::filelocal at foo" and
1554 "print 'scope1.c'::filelocal_bss at foo" and
1555 "print 'scope1.c'::filelocal_ro at foo" and
1556 "print 'scope1.c'::foo::funclocal at foo" and
1557 "print 'scope1.c'::foo::funclocal_bss at foo" and
1558 "print 'scope1.c'::foo::funclocal_ro at foo" and
1559 "print 'scope1.c'::bar::funclocal at foo" and
1560 "print 'scope0.c'::filelocal_ro" and
1561 "print 'scope1.c'::filelocal" and
1562 "print 'scope1.c'::filelocal_bss" and
1563 "print 'scope1.c'::filelocal_ro" and
1564 "print 'scope1.c'::foo::funclocal" and
1565 "print 'scope1.c'::foo::funclocal_bss" and
1566 "print 'scope1.c'::foo::funclocal_ro" and
1567 "print 'scope1.c'::bar::funclocal" and
1568 "print 'scope1.c'::bar::funclocal_bss"
1569 to only be xfail'd when not compiled with gcc.
1570 Add rs6000-*-* xfail for
1571 "print 'scope0.c'::filelocal_bss before run"
1572 when compiled with gcc.
1573 (test_at_main): Add rs6000-*-* xfail for
1574 "print filelocal_ro in test_at_main"
1575 when compiled with gcc.
1576 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
1577 Add rs6000-*-aix* xfail for
1578 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
1579 "ptype t_char_array", not compiled with gcc.
1580 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
1581 xfail for "list foo (in include file)" when gcc compiled.
1582 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
1583 (integral_args): Add rs6000-*-* xfail for
1584 "run to call0a" if not compiled with gcc.
1585 (unsigned_integral_args): Add rs6000-*-* xfail for
1586 "run to call1a" if not compiled with gcc.
1587 (float_and_integral_args): Add rs6000-*-* xfail for
1588 "run to call2a" if not compiled with gcc and for
1589 "continue to call2b" for any compiler.
1590 Add rs6000-*-* xfail to
1591 "print f1 after run to call2a" for gcc compiled.
1592 (discard_and_shuffle): Add rs6000-*-* xfail for
1594 (shuffle_round_robin): Add rs6000-*-* xfail for
1595 "backtrace from call7a" if not compiled with gcc.
1596 Add rs6000-*-* xfail for
1597 "backtrace from call7b" if compiled with gcc.
1598 (call_after_alloca): Add rs6000-*-* xfail for
1599 "print c in call_after_alloca" and
1600 "print s in call_after_alloca" and
1601 "backtrace from call_after_alloca_subr"
1602 if not compiled with gcc.
1603 (localvars_in_indirect_call): Add rs6000-*-* xfail for
1604 "print c in localvars_in_indirect_call" and
1605 "print c in localvars_in_indirect_call" and
1606 "backtrace in indirectly called function" and
1607 "stepping into indirectly called function"
1608 if not compiled with gcc.
1609 (localvars_after_alloca): Add rs6000-*-* xfail for
1610 "print c after runto localvars_after_alloca" and
1611 "print s after runto localvars_after_alloca" and
1612 "print i after runto localvars_after_alloca" and
1613 "print l after runto localvars_after_alloca"
1615 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
1616 than whatis-info.exp.
1617 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
1618 than opaque-info.exp.
1619 Setup rs6000-*-* xfail for
1620 "ptype on opaque struct pointer (statically)" and
1621 "ptype on opaque struct pointer (dynamically)" when
1622 not compiled with gcc.
1623 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
1624 rather than callf-info.exp.
1625 (do_function_calls): Add clear_xfail for rs6000-*-* for
1626 "p t_float_values2(3.14159,float_val2)". Seems to work
1627 fine there, both with xlc and gcc. Need to find out what
1628 it is doing right and fix other platforms.
1629 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
1630 "call inferior func with struct - returns int",
1631 "call inferior func with struct - returns long",
1632 "call inferior func with struct - returns float",
1633 "call inferior func with struct - returns double",
1634 "call inferior func with struct - returns char *",
1635 but only if not gcc compiled (presumes xlc compiled).
1636 Change rs6000-*-* xfails for
1637 "call inferior func with struct - returns char" and
1638 " call inferior func with struct - returns short" to only
1639 xfail if not using gcc.
1640 (clean mostlyclean): Remove *.ci and *.tmp files.
1641 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
1642 than templ-info.exp.
1643 * gdb.base/langs.exp: Source gdb.base/langs.ci.
1644 Add rs6000-*-* xfail for "up to foo in langs.exp"
1645 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
1646 when not gcc compiled.
1648 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1650 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
1651 * gdb.base/corefile.exp: Likewise.
1652 * gdb.base/list.exp: Likewise.
1653 * gdb.base/scope.exp: Likewise.
1654 * gdb.base/siganls.exp: Likewise.
1656 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
1658 * gdb.base/whatis.exp: Likewise.
1660 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
1662 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
1663 failure (opcode table has been fixed to match reality).
1665 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
1667 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
1668 "call inferior func with struct - returns char",
1669 "call inferior func with struct - returns short"
1671 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
1672 "print 'scope0.c'::filelocal at main",
1673 "print 'scope0.c'::filelocal_bss in test_at_main",
1674 "print 'scope0.c'::filelocal at foo",
1675 "print 'scope0.c'::filelocal_bss in test_at_foo",
1676 "print 'scope0.c'::filelocal at bar",
1677 "print 'scope0.c'::filelocal_bss in test_at_bar"
1679 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
1680 in source file 1". This bug seems to have been fixed with both
1681 gcc and native cc (was native assembler bug?).
1683 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
1685 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
1686 "backtrace through signal handler" to "i*86-*-sysv4*".
1687 * gdb.base/signals.exp: Add xfail for "'next' behaved as
1688 continue" case. Add "known SVR4 bug" to fail message.
1689 Add "i*86-*-bsdi2.0" xfail for "handle all print".
1690 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
1691 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
1692 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
1693 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
1694 "up to foo in langs.exp", "show language at foo in
1695 langs.exp", "up to cppsub_ in langs.exp", "show
1696 language at cppsub_ in langs.exp", "up to fsub in
1697 langs.exp", and "show language at fsub in langs.exp".
1698 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
1699 "bactrace in corefile.exp".
1700 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
1701 "call inferior function with struct - returns float" and
1702 "call inferior function with struct - returns double".
1704 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
1706 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
1707 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
1708 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
1709 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
1711 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
1713 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
1714 (or overriden) "CHILL" macro rather then bare "gcc".
1715 Also look for ../../gcc/xgcc since that is what we will
1716 actually need, not "Makefile". Remove following assignment
1717 of CHILL to CHILL_FOR_TARGET because that results in
1718 recursive definition.
1720 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
1722 * gdb.base/corefile.exp: Change xfail for backtrace in
1723 corefile.exp from linuxaout to all linux.
1724 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
1725 cases where we miss the breakpoint at the signal handler
1726 for some reason. Setup xfail for linuxoldld/linuxaout and
1727 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
1728 hitting SIGURG breakpoint.
1729 * gdb.base/signals.exp: Setup xfail for "next" acting like
1730 continue to add linuxoldld. Setup xfail for all linux for
1731 "next to handler in signals_tests_1", "backtrace in
1732 signals_tests_1", "continue to func1", "pass SIGUSR1",
1733 and continue to handler".
1735 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1737 * Update all FSF addresses except those in COPYING* files.
1739 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
1741 * gdb.base/a2-run.exp: Change messages to be more explicit about
1742 the status of args, and quote binfile in results.
1744 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
1746 * gdb.base/callfuncs.exp: Add tests for passing structs to
1747 inferior functions and return various types.
1748 * gdb.base/callfuncs.c: Add functions to receive a struct
1749 and return a member of the struct, in various types.
1751 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1753 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
1755 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
1757 * config/vxworks29k.exp: New file, sources vxworks.exp.
1759 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1761 * config/gdbremote.exp: New file. Testing framework using
1764 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
1766 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
1767 "call function when asleep" and "send end of file".
1768 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
1769 for "backtrace in corefile.exp".
1770 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
1771 for "backtrace through signal handler".
1772 * gdb.base/corefile.exp: Make sure we actually generate a core file
1773 before trying the core tests. Some systems allow the user to suppress
1774 generation of core files and default to that (linux for example).
1775 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
1776 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
1778 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1780 * gdb.threads: New directory with some crude multi-threaded
1781 gdb tests (step.exp and step2.exp).
1782 * config/mt-lynx (STEP_EXECUTABLE): Define.
1783 (THREADFLAGS): Define.
1785 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
1787 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
1789 * gdb.base/signals.exp: Disable whole file for lynx until
1792 * gdb.base/signals.exp: xfail test where "next" acts like
1793 "continue" for lynx.
1795 * gdb.base/interrupt.exp: xfail test for calling function while
1796 inferior is asleep for lynx.
1798 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
1799 than one cr-lf after each command.
1801 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1803 * configure.in: Reinstate setting of stabsdirs variable, fix
1804 typo in setting up configdirs for native builds.
1806 * gdb.base/return.exp: Fix typo in return double test.
1807 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
1808 compiler from optimizing them away.
1810 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
1812 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
1813 sequences to be echo'd by gdb when using gdb_test.
1814 * gdb.chill/chexp.exp: Likewise.
1815 * gdb.fortran/exprs.exp: Likewise
1817 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1819 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
1820 after the inferior gdb has started.
1822 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
1824 * gdb.base/funcargs.exp: Likewise.
1825 * gdb.base/gdbvars.exp: Likewise.
1826 * gdb.base/interrupt.exp: Likewise.
1827 * gdb.base/list.exp: Likewise.
1828 * gdb.base/watchpoint.exp: Likewise.
1829 * gdb.c++/demangle.exp: Likewise.
1830 * gdb.c++/inherit.exp: Likewise.
1831 * gdb.chill/chexp.exp: Likewise.
1832 * gdb.fortran/exprs.exp: Likewise.
1834 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
1835 test if we can't handle IO to/from the inferior.
1837 * gdb.c++/misc.exp: Always check for a program already being
1838 started after sending a "run" command to gdb.
1840 * gdb.base/twice.exp: Start with a fresh gdb.
1842 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
1843 only depend on gdb's expression code, not the chill runtime.
1845 * gdb.base/return.c: Put return values into variables so we
1846 can have gdb print them rather than depending on the program
1848 * gdb.base/return.exp: Corresponding changes.
1850 * lib/gdb.exp: Provide default value for noinferiorio.
1851 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
1854 * gdb.base/break.exp: Always check for a program already being
1855 started after sending a "run" command to gdb.
1856 (text_next_with_recursion): Don't check the output from the
1857 program's printf statement. Instead just make sure the program
1860 * gdb.base/commands.exp: Protect tests which need arguments with
1861 $noargs conditionals.
1863 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1865 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
1866 of structure member arrays to match gdb/valops.c:value_addr change.
1868 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
1870 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
1873 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
1875 * configure.in (configdirs): Remove gdb.chill from default list
1876 of subdirs and then add it back in only if doing a native build.
1877 The current chill compiler does not yet work in any cross build.
1878 * Revert all signal changes from Jul 6.
1879 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
1880 for sh-hms targets, allowing these tests to link, with no other
1881 changes. Testing is suppressed by setting "nosignals" in site.exp.
1883 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
1885 * configure.in (signaldirs): Define and add to configdirs for all
1886 targets except some specific ones that are known to not support signals.
1887 Also clean up formatting.
1888 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
1889 (signals, sigall): Remove rules to build.
1890 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
1891 Moved to new gdb.signals directory.
1892 * gdb.signals: New test directory.
1893 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
1894 signals.c signals.exp}: New or moved files.
1896 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
1898 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
1900 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
1902 * gdb.base/return.exp: Xfail `return double' test failure
1903 on at least Solaris 2.3 and handle future/past versions on
1904 a case by case basis as appropriate. Also update message
1905 to include i*86 failures.
1907 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1909 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
1911 * lib/gdb.exp: Fix comment which erroneously identified
1912 gdb_file_cmd as gdb_load (the 19 May change was in fact to
1913 gdb_file_cmd not gdb_load).
1914 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1916 * gdb.base/setvar.exp: Make test names consistent between pass and
1917 fail cases. Use gdb_test more.
1919 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1921 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
1923 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1925 * gdb.base/help.exp: Fix expected help string for `show commands'.
1927 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1929 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
1931 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
1934 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
1936 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
1937 that loop eventually terminates. Fix Connection refused logic so
1938 that testsuite will expire nicely.
1940 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
1942 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
1943 config/rom68k.exp: New tcl glue for the appropriate monitors.
1944 These all just end up calling monitor.exp.
1945 * config/monitor.exp (gdb_target_monitor): Handle `Connection
1946 refused' by retrying. Cleanup some timeout issues.
1947 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
1948 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
1949 callers don't have to set/restore global timeout variable.
1951 * The following set of changes centralizes management of the global
1952 timeout variable. This way, it can be set in one target dependent
1953 place instead of dozens of places scattered throughout the test suite.
1954 If you need to lengthen a timeout, then you should either set timeout
1955 in one of the config/{target}.exp files, or multiply it by a factor.
1956 Setting it to an absolute value is always going to lose for some
1958 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
1959 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
1960 * gdb.base/funcargs.exp: Don't set timeout.
1961 * gdb.base/list.exp (test_forward_search): Only use local timeout.
1962 * gdb.base/printcmds.exp (test_print_string_constants
1963 test_print_array_constants): Don't set timeout.
1964 * gdb.base/ptype.exp: Don't set timeout.
1965 * gdb.base/recurse.exp: Don't set timeout.
1966 * gdb.base/return.exp: Don't set timeout.
1967 * gdb.base/watchpoint.exp: Don't set timeout.
1968 * gdb.c++/classes.exp (do_tests): Don't set timeout.
1969 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
1971 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
1973 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
1975 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1977 * lib/gdb.exp: Disable chill tests for irix5.
1979 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1981 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
1982 each test pass or fail.
1984 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1986 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
1989 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
1991 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
1993 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
1995 * config/est.exp: Fix copyright and comments. Remove dead code.
1996 Use targetname, serialport and baud variables instead of fixed
1998 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
1999 * config/cpu32bug.exp: New file to support cpu32bug monitors.
2001 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2003 * gdb.base/watchpoint.exp: Don't run
2004 test_watchpoint_triggered_in_syscall for sunos.
2006 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2008 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
2009 they don't seem to exist. Do include stdio.h.
2011 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2013 * gdb.base/a1-selftest.exp: Add alpha xfail.
2015 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2017 * gdb.base/watchpoint.c (main): Prompt before calling read().
2018 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
2019 Revise accordingly. Remove cruft about sending "123" several
2020 times, until it gets noticed. Clean up the "print buf[0]" stuff
2021 so that it passes or fails, and waits for prompts in the usual way.
2023 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2025 * gdb.base/recurse.exp: Fix comment.
2027 * TODO: Remove item about printing variables in nodebug.exp. Add
2028 item about enabling tests which are only run on some targets.
2030 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
2031 fail, make test names unique, use new gdb_test convention
2032 regarding pattern, use gdb_test more, etc.).
2034 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
2035 fail, make test names unique, etc.).
2037 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2039 * gdb.base/nodebug.c: Change return type of top and middle to
2041 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
2042 are fixed by the recent mdebugread.c changes. Allow `short ()'
2043 as type for top and middle.
2045 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2047 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
2048 nearly as I can tell, the whole thing was an accident in Stu's
2049 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
2050 to replace a send/expect pair with gdb_test, but ended up only
2051 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
2052 of 30 Mar 1995 took care of it, but left this vestigial comment
2053 which I am now nuking.
2055 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2057 * gdb.base/break.exp: Look for different line number for
2058 breakpoint at main depending on usestubs.
2060 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2062 * gdb.base/list.exp: Adjust some alternate expect patterns to
2063 match recent list0.c change. Add alternate expect pattern for
2064 output from `list default lines around main' for optimizing
2067 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2069 * lib/gdb.exp: If nosignals is not set, set it to 0.
2071 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
2073 * config/slite-gdb.exp: Responds to load symbol table prompt.
2074 * gdb.base/break.exp: Adjust line number, fix rerun.
2075 * gdb.base/langs0.c: Add #ifdef usestubs.
2077 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
2079 * gdb.base/list.exp: Adjust line contents after adding new lines in
2080 list0.c. Also fix a syntax error.
2082 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
2083 * gdb.base/break.exp: ditto.
2084 * gdb.base/list.exp: ditto.
2085 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
2086 * gdb.base/run.c: ditto.
2087 * gdb.base/list0.c: ditto.
2088 * gdb.base/funcargs.c: ditto.
2090 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
2092 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
2093 $targetname, $serialport and $baud instead of hardwired variables.
2094 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
2095 target doesn't support signals.
2097 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
2099 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
2101 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2103 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
2104 Don't rely on the value of an auto variable before it has been
2105 initialized. Use gdb_test more.
2107 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2109 * lib/gdb.exp (default_gdb_version): A version number must start
2110 with a digit, but other than that contains all characters up to
2111 the first whitespace character.
2113 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2115 * gdb.base/commands.exp (breakpoint_command_test): New tests.
2117 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2119 * gdb.c++/*.exp: Warn if executable does not exist. The original
2120 reason for skipping the warning was that configure.in sometimes
2121 intentionally skipped building the executables but the tcl code
2122 had no way of knowing. That (a) was always bogus with respect to
2123 error handling, (b) is no longer true (right now there is no way
2126 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
2128 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2130 * gdb.base/list.exp: Add expect patterns for output from
2131 SunPRO compiled executables.
2132 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
2135 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2137 * gdb.base/break.exp (test_next_with_recursion): Accept any line
2138 number (we are already testing that the correct source line text
2141 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
2142 that is what is intended, but something needed to be done to get
2143 sunos4 native working again.
2145 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
2147 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
2148 apparently went with a (very) old xfail.
2150 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
2152 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
2153 runto_main is a proc in gdb.exp that will do 'step' for target use
2155 * gdb.base/exprs.exp: ditto.
2156 * gdb.base/interrupt.exp: ditto.
2157 * gdb.base/opaque.exp: ditto.
2158 * gdb.base/printcmds.exp: ditto.
2159 * gdb.base/ptype.exp: ditto.
2160 * gdb.base/scope.exp: ditto.
2161 * gdb.base/setvar.exp: ditto.
2162 * gdb.base/signals.exp: ditto.
2163 * gdb.base/twice.exp: ditto.
2164 * gdb.c++/classes.exp: ditto.
2165 * gdb.c++/inherit.exp: ditto.
2166 * gdb.c++/templates.exp: ditto.
2167 * gdb.base/break.exp: no run and hit main for stubs. Change line
2168 numbers for breakpoints and info breakpoint.
2169 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
2171 * gdb.base/callfuncs.c: ditto.
2172 * gdb.base/exprs: ditto.
2173 * gdb.base/interrupt.c: ditto.
2174 * gdb.base/opaque0.c: ditto.
2175 * gdb.base/printcmds.c: ditto.
2176 * gdb.base/ptype.c: ditto.
2177 * gdb.base/scope0.c: ditto.
2178 * gdb.base/setvar.c: ditto.
2179 * gdb.base/signals.c: ditto.
2180 * gdb.base/twice.c: ditto.
2181 * gdb.c++/misc.cc: ditto.
2182 * gdb.c++/templates.cc: ditto.
2184 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2186 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
2188 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
2189 somewhere between `read' and `main.c'. I'm pretty sure the
2190 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
2191 and it isn't particularly useful.
2193 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
2195 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2197 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
2199 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
2201 * config/mt-slite: add LIBS and -nostdlib.
2202 * config/slite-gdb.exp: add this new file to support sparclite target.
2204 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
2206 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
2208 * gdb.base/a2-run.exp: Change argument to istarget from
2209 "*-*-vxworks" to "*-*-vxworks*".
2210 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
2212 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
2214 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
2215 will not runto main but do a 'step' to step out of breakpoint().
2216 * config/mt-slite: add -Dusestubs.
2218 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2220 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
2223 * gdb.base/signals.exp: Add test for "handle all print".
2224 * TODO: Remove "handle all print". Also remove item about
2225 checking copyright date (I don't like the idea of a spurious FAIL
2226 based on when we run the tests).
2228 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
2229 for SunOS4 (reason for failure not investigated). Remove
2230 redundant test for $binfile.
2232 * gdb.base/nodebug.c (array_index): Call malloc.
2234 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
2236 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
2238 * gdb.base/recurse.exp: Update gdb_test invocation to use new
2239 conventions and slightly simplify the matching regexp.
2241 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2243 * gdb.base/break.exp: Update gdb_test invocation to use new
2246 * lib/gdb.exp: If noargs is not set, set it to 0.
2248 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
2251 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
2253 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2255 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
2256 one argument of type "<non-float parameter>".
2258 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
2260 * config/rom68k.exp: New file to support Motorola IDP board.
2261 * gdb.base/a2-run.exp: Skip this file if noargs is set.
2262 * gdb.base/break.c: Change things around so that this program
2263 doesn't depend upon args. This is necessary to make remote
2264 targets work (in general, they can't take args).
2265 * gdb.base/break.exp: Don't try to send args to program. Don't
2266 expect output. Also, replace lots of code with gdb_test.
2268 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2270 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
2271 printing of '\'' (which is what the comment says we are testing,
2272 even though we were not), not '''.
2273 (test_integer_literals_rejected): Test that printing ''' is an error.
2275 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2276 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
2277 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
2278 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
2279 Use gdb_test not test_print_accept.
2280 * lib/gdb.exp: Remove test_print_accept.
2282 * gdb.base/signals.exp (signal_tests_1): Make pass message
2283 consistent with fail message.
2285 * gdb.base/whatis.exp: Remove xfails for printing char vs.
2286 unsigned char; the bug (PR 1821) is fixed.
2288 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
2290 * gdb.base/scope.exp (test_at_localscopes): Call pass for
2291 successful tests--makes xfailing them work right.
2293 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2295 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
2296 only \r\n, not .*. The test can pass .* as the last thing in
2297 $pattern if that is what it wants. In addition to providing this
2298 flexibility, this change should speed up pattern matching in cases
2299 where the pattern already ended with .* (there were a number of
2300 them). This change also helps catch bad patterns--in the old
2301 scheme the typo "char \*" instead of "char \\*" would pass. Now
2303 * Many .exp files: Update callers.
2305 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
2306 clearer and does not spuriously match multiple ('s. Likewise for
2309 * gdb.base/nodebug.exp: Test ability to call a function and pass
2310 it a string (even with no debugging info).
2312 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
2313 "p '\'", which is the same as "p ''" once tcl gets done with
2314 quoting, to "p '\\'", which I suspect is what is intended (one
2315 backslash gets sent to GDB).
2317 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
2319 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2321 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
2322 1817) was fixed literally years ago.
2324 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2326 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
2327 test, it causes stepping out of call_after_alloca_subr with
2328 optimizing compilers.
2329 (localvars_in_indirect_call): Consume GDB prompt if `finish'
2332 * gdb.c++/templates.exp: Source templ-info.exp only if
2333 the templates executable exists.
2335 * gdb.c++/misc.cc (class Contains_static_instance,
2336 class Contains_nested_static_instance),
2337 gdb.c++/classes.exp (test_static_members): Test printing of
2338 a class that contains a static instance of the class.
2340 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2342 * gdb.base/langs2.c (cppsub_): Don't prototype.
2343 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
2346 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2348 * lib/gdb.exp (skip_chill_tests): New procedure.
2350 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
2352 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
2354 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
2355 each expect pattern. Cuts runtime from 12 to about 4 seconds.
2357 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2359 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
2361 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
2362 disassemble 8, not 16, instructions for part 4.
2364 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
2365 support the latter anymore.
2367 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
2369 * gdb.base/callfuncs.c: Control use of prototypes based on
2370 NO_PROTOTYPES, not __STDC__.
2371 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
2372 t_float_values2 tests if prototypes in use.
2374 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
2375 t_double_values): When checking differences against DELTA, check
2376 that difference is within the range (-DELTA,DELTA), not just
2379 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
2381 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
2382 'file' command firts, then 'target', then 'load', this is due to gdb
2384 * config/mips-gdb.exp: Fix a couple regular exp bugs.
2386 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
2388 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
2389 FP load/store variants.
2390 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
2392 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2394 * gdb.base/term.exp: Do not give a warning if not native, it is
2395 not an abnormal condition.
2397 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
2399 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
2402 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2404 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
2405 are getting the version number.
2407 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
2408 if not native, it is not an abnormal condition.
2410 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2412 * lib/gdb.exp: Just use "file exists", rather than undocumented
2413 dejagnu procedure "findfile".
2415 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2417 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
2418 (LDFLAGS): Set to -Xlinker -Ur.
2420 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
2421 Removed, these values are set by lib/gdb.exp.
2423 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
2425 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2427 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
2428 of replicating gdb startup code.
2430 * config/mt-vxworks (LDFLAGS): Set to -r.
2431 (CFLAGS_FOR_TARGET): Removed.
2433 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
2434 (gdb) and gdb for vxworks uses (vxgdb).
2436 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
2437 executable is not in the tree and host != target, use sed and
2438 program_transform_name to determine the gdb name used by the
2441 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
2442 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
2444 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2446 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
2447 floats, chars, and shorts where there are ANSI-style function
2450 * gdb.base/langs.exp, gdb.base/langs*: New test.
2451 * gdb.base/Makefile.in: Build it.
2452 * TODO: Remove item about checking that C names don't get C++
2453 demangling applied; this test tests it.
2455 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2457 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
2458 went with the const70 xfail. The xfail went away a year ago.
2460 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
2462 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
2465 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
2467 * gdb.base/a1-selftest.exp: Don't run on hp300.
2469 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2471 * Makefile.in (site.exp): Set host_alias and target_alias as well
2472 as host_triplet and target_triplet.
2474 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2476 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
2478 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
2479 places as other ecoff systems).
2481 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
2484 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2486 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
2488 * gdb.base/nodebug.exp: Accept "function" in addition to "text
2489 variable and "variable" in addition to "data variable".
2490 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
2492 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
2494 * gdb.base/list1.c (long_line): Add additional statement at start
2496 * gdb.base/list.exp (test_forward_search): Update line number to
2497 reflect new statement.
2499 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2501 * gdb.base/signals.exp: Reinitialize searched source directories
2502 after gdb_start call.
2504 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
2506 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
2507 * gdb.stabs/Makefile.in: Likewise.
2509 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
2510 change. Instead split the tests into smaller pieces.
2511 * gdb.disasm/hppa.s: Corresponding changes.
2513 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2515 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2516 Quote ^C when passing it to stty. For some shells ^ is a pipe.
2518 * gdb.base/funcargs.exp: Modify many tests so that every test
2519 either passes or fails. Make some test names unique.
2521 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2523 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2524 Call stty to set interrupt character.
2526 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
2527 for HP assembler versus GNU assembler based on actual behavior of
2528 $(CC), rather than assuming that $(AS) is always the GNU assembler.
2530 * TODO: Suggest a few more stepping tests.
2532 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
2534 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
2535 restart GDB for h8300 after a continue.
2536 (return): Add pattern to match a29k-udi behavior.
2537 * gdb.base/nodebug.exp: Remove obsolete comment.
2538 * gdb.base/regs.exp: New file, testing of register displays.
2539 * gdb.base/return.exp: Fix typo in reference to $objdir.
2540 * gdb.base/whatis.exp: Always start with a fresh GDB.
2542 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2544 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
2545 higher, these tests generate a lot of output.
2547 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2549 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
2550 code following the catch silently ignored some errors; without the
2551 catch they should be thrown like any other tcl error. Also, the
2552 catch used "" instead of {} which meant all the callers who wanted
2553 to include one of the characters "[]$ had to quote it an extra time.
2554 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
2555 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
2556 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
2557 Remove extra quoting.
2559 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
2561 * gdb.base/commands.exp: Make test names unique; every test either
2562 passes or fails. Update some comments.
2564 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
2566 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2568 The following fixes a FAIL caused by the fact that the alpha stabs
2569 configuration didn't use the ".if alpha" code in weird.def.
2570 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
2571 bit pointer, so the 32 bit version works even on the alpha.
2572 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
2573 Remove the stuff which allowed us to have separate versions for
2574 alpha and everything else.
2576 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
2577 regexp which "info func operator\[\](" is supposed to match. Fix
2578 string to send to GDB. Note that GDB still doesn't work right. Add a
2579 new test for "info func .perator\[\](" which GDB does handle correctly.
2581 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
2583 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2585 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
2586 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
2587 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
2588 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
2589 it makes the tests harder to understand and confuses test-o-matic.
2590 The preferred style is that each test provides a PASS or a FAIL,
2591 and has a unique message (e.g. "continue #54" not just "continue")
2592 which is the same for the pass and the fail.
2593 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2594 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
2596 * gdb.base/printcmds.exp: Use test_print_accept. Remove
2597 prt_accept which was basically the same thing. Likewise for
2598 test_print_reject and prt_reject.
2599 * lib/gdb.exp (test_print_reject): Add some more error message
2600 patterns to match from the former printcmds.exp (prt_reject).
2601 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
2602 One defect of the passcount stuff is that some of it failed to
2603 report XPASS where appropriate.
2604 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
2605 stuff before and after arg in expected pattern.
2606 (test_paddr_operator_functions): Re-do test without print_addr_of;
2607 this is the only test which seems to want extra stuff there.
2609 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2611 * gdb.base/nodebug.exp: Update new tests to reflect improved
2612 wording of gdb output.
2614 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
2615 and "ptype" work on variables in files compiled without -g.
2616 Replaces commented out "maint print msymbol" tests.
2618 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2620 * gdb.base/setvar.c (dummy): Call malloc.
2622 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
2623 losing with the irix4 sed.
2625 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
2628 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2630 * TODO: Remove items about corefile.exp testing new exec-file and
2631 backtrace; both are now done. Add items about printing enums.
2633 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2635 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
2636 "get signal $thissig" test fails.
2638 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
2640 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2642 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
2643 compiler warning with dec alpha compiler.
2645 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
2646 extra \n from gdb_test call (this explains why the prompt test
2647 that I removed yesterday was there).
2648 (user_defined_command_test): Remove extra \n and prompt test.
2650 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
2651 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
2653 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
2654 Also remove alpha workaround, which turns out to be because
2657 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
2659 * gdb.base/help.exp: Don't test "help show".
2661 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2663 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
2664 "set print address" is on.
2665 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
2666 pass prompt to gdb_test; gdb_test already looks for the prompt.
2668 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
2670 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
2671 was a vestige of the manual TESTSTRATEGY, and the purpose of it
2672 was to make sure that gdb can read a core file. But (a) the "read
2673 the corefile" part didn't make it to a1-selftest.exp, we just
2674 delete the corefile after creating it, and (b) we test reading
2675 corefiles in corefile.exp anyway. Also, this test left around a
2676 xgdb process on Solaris.
2678 * gdb.base/corefile.exp: Also test backtrace.
2680 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
2682 * gdb.base/commands.exp: Test a simple user defined command with
2683 arguments and if/while statements; verify the full user command is
2684 printed by "show user".
2686 * gdb.base/commands.exp: Test if/while commands as part of a
2687 breakpoint command list; verify they appear in breakpoint
2690 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2692 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
2693 than by dividing by zero.
2695 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
2697 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
2698 performing an inferior call with watchpoints enabled.
2699 * gdb.base/watchpoint.c (main): Delete second unnecessary read
2702 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2704 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
2707 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
2708 Add additional pattern for when "int operator int(void);" appears
2709 in a different order.
2711 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2713 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
2715 * gdb.base/help.exp: Replace most of docstrings for "info signals"
2716 and "signal" with ".*".
2718 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2720 * TODO: Add note about "handle all nostop".
2722 * gdb.base/{sigall.c, sigall.exp}: New test.
2723 * gdb.base/Makefile.in: Add it.
2725 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
2727 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
2728 when invoking GDB, suppresses any windowing interface.
2730 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
2732 * config/sim-gdb: New file, simulator testing support.
2734 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
2736 * gdb.base/interrupt.exp: Test calling func1 twice.
2738 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
2740 * gdb.base/list.exp (test_forward_search): Set timeout higher
2741 when we'll be getting lots of output from gdb.
2743 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
2744 "init_malloc" to after the expect statement. Run it if that
2745 regexp is taken, but also for two others which happen if source
2748 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2750 * gdb.base/printcmds.exp: New test, for printing register before
2753 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2755 * gdb.base/list.exp: Correct some alternate expect patterns
2756 to reflect changes in list1.c.
2758 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2760 * TODO: Add item regarding large frames.
2762 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
2764 * TODO: Remove item about enabling return.exp; it
2765 is enabled. Suggest a few more "return" tests.
2767 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2769 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
2772 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2774 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
2775 and pr-5646.o, so "make" is the same as "make all", not "make
2778 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
2780 * gdb.base/list.exp: Adjust expectations to reflect changes in
2782 (test_forward_search): New test proc.
2783 * gdb.base/list1.c (long_line): New function, has long source line.
2785 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
2787 * gdb.base/a1-selftest.exp: Change initial stepping to know about
2788 additional line of code that was added.
2790 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
2792 * gdb.disasm/hppa.s: Break the large branching tests into smaller
2793 tests so as not to overflow expect's input buffers.
2794 * gdb.disasm/hppa.exp: Corresponding changes.
2796 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2798 Beginnings of template debugging tests.
2799 * gdb.c++/templ-info.cc: New file to test for template
2800 debugging capability of the compiler.
2801 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
2803 * gdb.c++/templates.cc: Add explicit template instantiations
2804 to enable compiling with -fno-implicit-templates. Add destructor
2805 and 'value' method to T5 class for template tests.
2806 * gdb.c++/templates.exp: Add testcases for printing of template
2807 types, setting breakpoints on template methods and calling a
2810 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
2812 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
2813 branch target since some assemblers (gas-2.5) may emit a
2814 relocation for the branch instead of resolving it in the
2817 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2819 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
2820 through signal handler.
2822 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2824 * configure.in (*-*-netware): Use config/mt-netware.
2826 * config/mt-netware: New file.
2827 * config/mt-i386-netware: Removed, separate configs for different
2828 netware architectures are no longer needed now that we have
2831 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2833 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
2834 by the recent changes to use ANSI C arithmetic conversions.
2836 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2838 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
2839 bug involving using inferior_pid to figure out whether to select a
2842 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
2844 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
2845 match the current disassembler output.
2847 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
2849 * gdb.fortran/exprs.exp: Expect VOID instead of void.
2850 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
2851 types, expect "int" as type of integer values (for now).
2853 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
2855 * gdb.base/commands.exp: New tests for if/while commands.
2857 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
2859 * lib/gdb.exp (runto): Replace sub-pattern for hex value
2860 by .*, since hex values have different syntax in Chill mode.
2862 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2864 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
2865 linefeed from expect pattern for repeated types with indices > 9.
2867 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
2869 First part of Fortran test suite.
2870 * gdb.fortran: New directory.
2871 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
2873 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2875 * gdb.base/default.exp: Update expect pattern for load command
2878 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2880 * configure.in: Change i386 to i[345]86.
2881 * gdb.base/configure.in: Likewise.
2882 * gdb.c++/configure.in: Likewise.
2883 * gdb.chill/configure.in: Likewise.
2885 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2887 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
2888 patterns, since that is not a valid context for comments.
2890 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
2892 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
2893 repeated types and repeated types with indices > 9.
2895 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
2897 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
2898 2417; old bug has been fixed.
2900 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
2902 * gdb.base/interrupt.exp: When trying to wake up the inferior,
2903 send the newline ourselves instead of assuming gdb_test will do
2904 so when passed an empty input string.
2906 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
2909 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2911 * lib/gdb.exp (gdb_test): Don't send anything if the first
2912 argument is an empty string. This makes cases where we want to
2913 match output that is already in expect's buffers (for example,
2914 matching a breakpoint after gdb_run_cmd has been called) work
2917 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2919 * config/netware.exp: New file.
2921 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2923 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
2924 the -B and -L prefixes so we can find the debugging stub.
2926 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
2927 there and we are using the gcc from the tree.
2929 * gdb.base/types.c: Removed.
2931 * gdb.base/configure.in: Look for makefile fragments in ../config.
2932 Recognize i386-*-netware.
2933 * gdb.c++/configure.in: Likewise.
2935 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2937 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
2938 the correct TCL syntax.
2940 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2942 * gdb.base/opaque.exp: use runto instead of messing around with
2943 breakpoints. Simplify by using gdb_test.
2945 * gdb.base/bitfields.exp: restart between tests on netware targets
2946 because breakpoints aren't relocated after target death. Run
2947 processes to completion.
2949 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
2951 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
2953 * Makefile.in: Remove extra tabs that confuse some versions
2954 of "make". Use the newly built gdb to test with by default,
2955 rather than the first one in the tester's search path.
2957 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
2959 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
2961 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
2964 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2966 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
2968 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
2970 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
2971 * gdb.base/funcargs.exp: Likewise.
2973 * gdb.base/bitfields.exp: Simplify by using gdb_test.
2974 * gdb.base/funcargs.exp: Likewise.
2976 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
2979 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2981 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
2982 return,signals,twice}.exp: Handle non-existant binaries
2985 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
2986 * gdb.base/Makefile.in: Don't try to generate a core dump, we
2987 might testing a cross development system.
2989 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2991 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
2992 runtest script is relative to ${srcdir}, not ${rootdir}.
2994 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
2996 * gdb.base/signals.exp: Allow for optionality of breakpoint
2999 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3001 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
3003 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3005 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
3006 for size_t definition.
3007 * gdb.c++/templates.cc: Likewise
3009 * config/mt-i386-netware: New file.
3011 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
3014 * gdb.base/Makefile.in: Added support for systems that name core
3015 files by appending "core" to the program name.
3016 * gdb.base/a1-selftest.exp: Likewise.
3018 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3020 * gdb.base/return.exp: Add comment and message for `return double'
3021 test failure on Sparc Solaris.
3023 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
3025 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
3027 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3029 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
3030 from optimizing them away.
3031 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
3032 patterns to include default constructors and assignment operators,
3033 to match gcc versions beyond 2.5.8. Accept any cplus demangling
3034 character in the output of the virtual base pointer.
3036 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3038 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
3039 expression match in print_addr_of to avoid unintented matches.
3040 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
3041 versions up to 2.5.8.
3043 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3045 * gdb.base/list.exp: Tweak alternate pattern for listing of an
3046 included file to run under newer versions of expect.
3047 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
3048 consecutive >'s in templates to accomodate recent cplus-dem.c change.
3049 Remove xfail for the virtual table of BDDHookV.
3051 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
3053 * lib/gdb.exp (string_to_regexp): Set a default result.
3054 (default_gdb_start): Fix misleading message.
3056 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
3058 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
3059 Remove all CC, etc definitions.
3060 * config/mt-hpux: New file.
3061 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
3062 (CFLAGS, LDFLAGS): Define.
3063 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
3065 * Makefile.in (site.exp): Don't insert host_os, etc.
3066 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
3067 (distclean): Check existence of subdir.
3068 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
3069 * gdb.base/Makefile.in: General cleanup and simplification.
3070 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3071 to build executables. Use default rule to build .o files.
3072 (EXPECT, RUNTEST, CC): Fix relative pathname.
3073 (site.exp): Don't insert host_os, etc.
3074 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
3075 and/or SIGUSR1 defined.
3076 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
3077 * gdb.c++/Makefile.in: General cleanup and simplification.
3078 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3080 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
3082 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
3084 * gdb.base/recurse.exp: Misc changes to get tests running again
3085 after Kung's changes to the watchpoint code.
3086 * gdb.base/watchpoint.exp: Likewise.
3088 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
3090 * lib/gdb.exp (string_to_regexp): Convert {\} also.
3092 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
3094 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
3095 * lib/gdb.exp (default_gdb_start): Define.
3096 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
3097 gdb.base/funcargs.exp, gdb.base/opaque.exp,
3098 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
3099 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
3100 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
3101 Don't call gdb_target_udi in between tests.
3103 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3105 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
3106 (which was basically just a local version of the same thing). In
3107 addition to avoiding duplication, gdb_test_exact is faster.
3108 * lib/gdb.exp (gdb_test_exact): Fix typo.
3110 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
3111 don't give an error.
3113 * gdb.base/term.exp: Call delete_breakpoints before starting.
3115 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
3118 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3120 Reorganization of the GDB Test Suite.
3122 * gdb.base: New directory, contains all the basic tests.
3123 * gdb.c++: New directory, tests specific to C++.
3124 * gdb.chill: New directory, tests specific to Chill.
3125 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
3126 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
3127 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
3128 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
3129 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
3131 * */gdbme.*: Rename to match appropriate expect scripts.
3132 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
3133 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
3134 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
3135 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
3136 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
3137 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
3138 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
3139 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
3140 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
3141 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
3142 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
3143 gdb.c++/virtfunc.cc: New names of C++ files.
3144 * gdb.chill/chillvars.ch: New name of Chill file.
3145 * gdb.base/configure.in, gdb.c++/configure.in,
3146 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
3147 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3148 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
3149 * configure.in (configdirs): Update to reflect directory changes.
3150 (target_abbrev): No longer define for any configuration.
3151 * Makefile.in: Cosmetic improvements to header comments.
3153 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
3155 Various changes to gdb.t31:
3157 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
3158 * gdbme.ch: Make all key-words and predefineds be upper-case.
3159 * chillvars.exp: Expect key-words and predefinds in upper-case.
3161 * chillvars.exp: Use gdb_test_exact many places.
3162 Change expected output for arrays (which now includes index labels).
3164 * pr-5020.exp, gdme.ch (module PR_5020):
3165 New test, for PR-5020.
3167 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
3169 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
3170 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
3172 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
3174 * Makefile.in: Fix bit-rot in definitions of CHILL,
3175 CHILL_FOR_TARGET and Chill_LIB.
3176 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
3177 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
3178 CHILL, and CHILL_LIB.
3180 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
3182 * Revert the previous changes. Please see Rob's directory
3183 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
3185 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
3187 * Makefile.in, configure.in, config/mips-gdb.exp,
3188 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
3189 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
3190 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
3191 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
3192 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
3193 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
3194 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
3195 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
3196 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
3197 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
3198 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
3199 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
3200 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
3201 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
3202 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
3205 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
3207 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
3208 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
3209 Rob's new testing fragments.
3211 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
3213 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
3214 lib/gdb.exp: Replace error proc calls with perror.
3216 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3218 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
3219 version also, match on casted version strings, and match on
3220 gdb startup case where the line numbers might be messed up.
3222 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
3224 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
3225 (CFLAGS): Delete it from here.
3227 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
3229 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
3231 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
3233 * Makefile.in (RUNTEST): Default to just "runtest".
3235 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3237 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
3238 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
3239 the code has been restructured.
3241 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3243 * gdb.t00/default.exp (set write): Allow any number of \r and/or
3244 \n, not just one of each.
3246 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
3247 /bin/cc gives a warning if you do.
3249 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
3251 * gdb.t24/demangle.exp: change expect pattern of
3252 __t10ListS_link1ZUiRCUiPT0
3254 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3256 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
3257 on local variables in recursive functions.
3259 * gdb.t07/Makefile.in: Build the new test.
3261 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3263 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
3264 directly. Instead compare the return values from actual calls.
3266 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
3268 * Makefile.in (check): Set TCL_LIBRARY for runtest.
3270 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3272 * From Peter Schauer with minor modifications.
3273 * gdb.t15/return.exp (return_tests): Handle targets where "return"
3274 stops in mid-line in the caller. Add xfail for returning a float
3275 value on X86 targets.
3277 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3279 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
3280 to avoid expect lossage.
3281 (fmem_LRbug_tests): Likewise.
3282 * gdb.disasm/hppa.s: Corresponding changes.
3284 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
3285 conditions to work with latest dejagnu/expect.
3287 * gdb.t15/funcargs.exp (finish from indirect call): No longer
3288 expected to fail on the PA.
3289 (backtrace in call with trampolines): Explicitly require main
3290 to be frame #1 (no trampolines should show up in backtrace).
3292 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
3294 * gdb.t06/break.exp: Likewise.
3295 * gdb.t07/watchpoint.exp: Likewise.
3296 * gdb.t13/bitfields.exp: Likewise.
3297 * gdb.t15/{funcargs,return}.exp: Likewise.
3298 * gdb.stabs/weird.exp: Likewise.
3299 * config/{mips,udi}-gdb.exp: Likewise.
3301 * hppa.sed: Enclose comments within a sed command to avoid
3302 losing with the old OSF1 sed.
3304 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3306 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
3308 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
3309 * gdb.t15/funcargs.exp: Conditionally step again to really
3310 finish from marker_call_with_trampolines. Handle the case where
3311 the first step from within call_with_trampolines already steps
3313 * gdb.t15/gdbme.c: Add comment to closing brace of
3314 call_with_trampolines for funcargs.exp.
3316 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3318 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3321 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3323 * gdb.t07/gdbme.c: More code for watchpoint testing.
3325 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
3326 "Hardware watchpoint" throughout file.
3327 (test_watchpoint_triggered_in_syscall): New test.
3328 (test_complex_watchpoint): New test.
3330 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3332 * gdbme.c (call_with_trampolines): New function to try and step
3333 into. Tests trampoline problems on the PA.
3335 * funcargs.exp (localvars_in_indirect_call): No longer expect
3336 stepping into indirect call to fail on PAs.
3337 (test_stepping_over_trampolines): New test.
3339 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3341 * TODO: Add suggestions for static member function tests, and
3344 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3346 * TODO: Add suggestions for "p/a" tests.
3348 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
3349 (default_gdb_exit): Replace all the hair with sending "quit" to
3350 the process with a simple close.
3352 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3354 * TODO: Add suggestions for shared library tests.
3356 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3358 * TODO: Add suggestions for x/s tests.
3360 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3362 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
3363 "enable once", and "enable breakpoints once" with ".*".
3365 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3367 * TODO: Add suggestions about structure passing tests.
3369 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3371 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
3372 the primary1 test, use work around if __GNUC__ < 2.
3373 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
3374 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
3375 Test for bad output rather than waiting for timeout. Issue
3376 second continue only if first continue failed.
3378 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3380 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
3381 operator[] test with gdb_test because the old code didn't seem to
3382 be getting the quoting right with the new dejagnu.
3384 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
3386 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
3388 * Makefile.in: Use a fresh expect if there is one, use runtest
3389 from the src tree if there is one.
3391 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3393 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
3394 next over recursive call. Revise the tests from that point on
3395 (which had been skipped) to match GDB's actual (correct) output.
3397 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
3398 with next over a breakpoint whose condition is false.
3400 * gdb.t00/help.exp: Comment out "help set print" tests just like
3401 (and for same reason as) "help set" test.
3403 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3405 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
3406 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
3408 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3410 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
3411 necessary gdb_target_udi.
3413 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
3415 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
3416 1838 and 2417; they are fixed.
3418 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
3419 gdb.t03/ptype.exp (ptype structure, ptype union):
3420 Remove xfails; the test is looser than when the xfails were added.
3422 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
3423 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
3425 * gdb.t01/run.exp: Only run shell test if isnative.
3427 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
3428 since "run" automatically loads if necessary. Call gdb_target_udi
3429 after the "file" since "file" kills any execution target.
3431 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
3432 GDB. GDB doesn't work that way (not anymore at least) on UDI.
3433 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
3436 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3438 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
3440 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
3442 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3444 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
3445 properly quoting regexps. This makes the second argument to
3446 demangle a fixed string, which matches the callers, instead of a
3447 shell-style pattern which is what the previous implementation
3448 used. Update some of the callers.
3450 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3452 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
3453 (comib_nullified_tests): Fix typo.
3454 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
3455 strings. No longer expected to fail.
3457 * gdb.disasm/hppa.s (addib_tests): Fix typo.
3458 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
3459 strings. No longer expected to fail.
3461 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
3462 string. No longer expected to fail.
3464 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3466 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
3467 No longer expected to fail.
3469 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
3470 string. No longer expected to fail.
3472 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3474 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
3475 only in the names (I probably got most of them). I was even
3476 generous with some which differed in underscores in names, and
3477 probably missed a few, and I *still* was able to remove almost a
3478 third of the file with almost no impact on testsuite coverage.
3480 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3482 * gdb.t00/default.exp: Match udi_attach error message as well as
3483 the one from child_attach.
3485 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
3487 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
3489 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
3490 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
3492 * Move test with enums and partial symbols back to
3493 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
3494 Reverts the change of 26 May 93. Per today's change to
3495 stabs.texinfo, the behavior that weird.exp was expecting was
3496 unreasonable; what is important is that the compiler+gdb get
3497 things right, which happens with a recent gcc. Also fix the test
3498 to deal with native compilers which put out the stab gdb can't
3501 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3503 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
3504 in the names. The main thing these accomplish is to slow things down.
3505 Many more such duplicates surely remain.
3507 * gdb.t00/help.exp: Comment out "help support" test just like
3508 (and for same reason as) "help set" test.
3510 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
3512 * gdb.t06/break.exp: Remove setup_xfails for
3513 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
3514 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
3515 about known bug in gcc to include up through 2.5.8.
3516 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
3518 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
3519 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
3520 with latest gcc and gdb.
3521 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
3524 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3526 * configure.in (hppa*-*-*): Also configure and build stabs-only
3529 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3531 * gdb.t10/hppa.mt: A makefile fragment for the PA.
3532 * gdb.t10/configure.in (hppa*-*-*): Use it.
3534 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3536 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
3538 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3540 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
3541 versions prior to 1.13.5.
3543 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3545 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
3546 the prompt is at the start of a line.
3548 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3550 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
3551 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
3552 in the copr tests now.
3553 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
3554 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
3557 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
3559 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
3560 gdb.t31/chillvars.exp, lib/gdb.exp:
3561 Tweak to run under either version of expect.
3562 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
3563 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
3564 * gdb.t11/list.exp: Remove extraneous whitespace.
3566 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3568 * gdb.t16/printcmds.exp (test_print_strings): Accept
3569 "(unsigned char *) " before the string.
3571 * TODO: Add notes about printing of fancy types and GDB expressions.
3573 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
3575 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
3576 * gdb.t06/configure.in: Don't try to compile signals test program
3577 if doing mips-idt-ecoff.
3579 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
3581 * Most .exp files: Tweak to run under either version of expect.
3583 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3585 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
3586 xfails; I'm not sure why they are failing, but not because of PR 1806.
3588 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
3590 * config/unix-gdb.exp: Remove gdb_unload cause it's already
3591 defined in lib/gdb.exp.
3593 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3595 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
3596 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
3597 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
3598 have to be typeless.
3600 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3602 * TODO: Add suggestion for copyright year test.
3604 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
3606 * configure.in (*-*-lynxos*): Add stabs tests.
3608 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3610 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
3611 so insert a tab before any assembler directive in column zero.
3613 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
3615 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
3617 (fpu_short_memory_tests): Likewise.
3619 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3621 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
3622 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
3623 .stabs directives in comments.
3625 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3627 * TODO: New file, describing tests we could write.
3628 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
3630 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3632 * gdb.t06/signals.exp: Add kludge to force re-sync.
3634 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
3635 to xgdb instead of gdb, get out of gdb.
3637 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
3639 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
3642 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3644 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
3645 * gdb.stabs/configure.in (hppa*-*-*): Use it.
3646 * gdb.stabs/hppa.sed: New sed script for the PA.
3648 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3650 * gdb.stabs: Re-write weird.def and configuration to use sed
3651 instead of cpp. sed is portable and POSIX; cpp is neither.
3653 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3655 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
3657 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3659 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
3661 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3663 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
3665 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
3666 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
3668 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3670 * lib/gdb.exp: Comment out code which depends on non-existent
3671 `transform' procedure.
3673 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
3675 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
3676 * lib/gdb.exp: Transform tool name.
3677 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
3678 1.1's new error handling system.
3680 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3682 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
3684 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3686 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
3687 They made pattern matching so slow that timeouts happened on
3688 heavily loaded systems. Now any output from "show print" which
3689 gets us back to the GDB prompt is a PASS.
3691 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
3693 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
3695 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3697 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
3699 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
3700 It is not from PR 3220.
3702 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3704 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
3705 just started failing because they depended on the order the
3706 subcommands are presented, or exact docstring text. This kind of
3707 test is a pain and has minimal benefit.
3709 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3711 * gdb.t09/corefile.exp: At end of test, use "core" command with
3714 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
3716 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
3717 17}/Makefile.in: Make it possible to run the testsuite with Sun
3718 make and CC = cross gcc by adding explicit build rules for .o
3721 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3723 * gdb.t15/funcargs.exp: Don't put comments on same line as
3724 setup_xfail (@#$*%& tcl braindamage!).
3726 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3728 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
3730 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
3732 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
3733 * gdb.t20/inherit.exp: remove three dumplicate entries.
3735 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3737 * gdb.t06/break.exp: For "next over recursive call", fail on any
3738 incorrect output, not just on "factorial (value=2)".
3740 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3742 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
3743 working now. Add an xfail if accesing a bss variable causes
3744 a memory error if the target is not yet run.
3746 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3748 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
3749 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
3750 name of __st* demangling (2 strings). Did Kung really get the
3751 more than 95 others right without testing them?
3753 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
3755 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
3757 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
3759 * configure.in (configdirs): Add gdb.disasm
3760 * gdb.disasm: New directory for GDB disassembler tests.
3761 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
3763 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3765 * gdb.t00/help.exp: Don't test "help set".
3767 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
3768 from within expect statements. None of these happen anymore and
3769 they cause regressions to be silently unnoticed.
3771 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
3772 messages) about known failures with gcc cygnus-2.4.5-930417.
3774 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
3775 comp-info.exp so it gets built if it doesn't exist.
3777 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
3778 it is no longer used.
3779 * gdb.t13/comp-info.c: Removed.
3781 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3783 * gdb.t06/signals.exp: Add xfail for sun3.
3785 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3787 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
3788 relevant because ^C doesn't get sent but failure can be reproduced
3791 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3793 * gdb.stabs/alpha.mt: New configuration file for alpha.
3794 * gdb.stabs/configure.in: Use it.
3795 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
3796 sharing with alpha.mt, redefine long to word via preprocessor.
3797 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
3799 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
3801 * gdb.t00/teststrategy.exp: Change expect string so that we
3802 consume the `(xgdb)' from the command echo and from the gdb prompt.
3803 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
3804 gdb currently compares all values as long, so this failure probably
3805 applies to any configuration where LONGEST is bigger than a target int.
3806 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
3808 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
3809 to handle opaque pointers, gcc is.
3810 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
3811 as first argument. Include <sys/types.h> and change all operator
3812 new definitions to use size_t.
3813 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
3814 now that we use size_t.
3816 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3818 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
3819 a long or float array cast all array members to the same type.
3820 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
3822 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
3824 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
3826 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3828 * gdb.t24 (demangle.exp): Constructors of templates have names like
3829 vector<int>::vector(int) not vector<int>::vector<int>(int). See
3830 section 14.6 of the ARM.
3832 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
3833 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
3834 accomplish little and slow down the testsuite.
3836 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
3837 Accept spaces various places.
3839 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3841 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
3842 with watchpoint enabled.
3844 * Makefile.in: Remove definition of CC and remove the second
3845 definition of CXX (the "CXX = gcc" one remains). These definitions
3846 were causing backquotes to be expanded within backquotes, which
3849 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
3851 * gdb.t17/callfuncs.exp: Add "return 0" to end.
3853 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3855 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
3856 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
3857 by mips cc and contains no stabs entries.
3859 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
3861 * config/vx-gdb.exp: Use fake device to load files rather than
3863 * lib/gdb.exp: New proc to do "file" command.
3864 * config/unix-gdb.exp: Use new "file" proc.
3866 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3868 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
3869 Rework board rebooting slightly.
3870 (gdb_exit): Don't exit from the remote shell; there isn't one.
3871 * gdb.stabs/weird.exp: If a program is being debugged already,
3873 * gdb.t04/setvar.exp: Stop and restart gdb.
3874 * gdb.t05/expr.exp: Likewise.
3875 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
3876 restart gdb and reload the program.
3877 * gdb.t08/opaque.exp: Likewise.
3878 * gdb.t12/scope.exp: Likewise.
3879 * gdb.t13/bitfields.exp: Likewise.
3880 * gdb.t15/funcargs.exp: Likewise.
3881 * gdb.t20/classes.exp: Likewise.
3882 * gdb.t03/ptype.exp: Increase timeout.
3883 * gdb.t16/printcmds.exp (test_print_string_constants,
3884 test_print_array_constants): Likewise.
3885 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
3886 * gdb.t20/classes.exp (do_tests): Likewise.
3887 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
3889 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
3891 * gdb.stabs: Renamed *wierd* to *weird*.
3893 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3895 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
3896 for timeout. Add "known gcc 2.4.5 bug" to failure message.
3898 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3900 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
3901 (do_tests): Remove xfail for whatis on one_var and two_var.
3903 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
3905 * Makefile.in: Made cross building work better by adding
3906 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
3908 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3910 * gdb.t15/{return.c,return.exp,Makefile.in}:
3911 New test, currently commented out.
3913 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
3915 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
3916 still running and removes the leftover named socket so GDb can do
3919 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
3921 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
3923 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
3924 cross testing works better with "make check"
3925 * config/unix-gdb: Use default procedures for exit and version.
3926 * config/vx-gdb.exp: Cleaned up and massaged back to working order
3927 with the newest VxWorks.
3929 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3931 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
3934 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
3935 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
3937 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
3939 * config/unix-gdb.exp: Remove this version of gdb_exit
3940 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
3941 Rob says he'll look at it when he gets back to testing boards.
3943 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
3945 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
3946 an expected fail for certain ptype commands.
3948 * gdb.t20/classes.exp: Update expected results of "ptype class
3949 Base1" to account for the constructor that now appears in the type.
3951 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
3953 * configure.in (configdirs): Restore gdb.t04, which mysteriously
3954 disappeared from list.
3955 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
3956 "alldone" proc with call to cleanup and exit.
3957 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
3958 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
3959 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
3960 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
3961 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
3962 "alldone" proc with simple returns that suppress remaining
3963 tests. The alldone proc went away many months ago.
3965 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3967 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
3969 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
3971 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3973 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
3974 as vax gdb will display them.
3976 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3978 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
3981 * scope.exp: Change "bad value for localval" messages so each one
3984 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
3985 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
3987 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
3989 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3991 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
3992 doesn't exist (due to optimization).
3994 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3996 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
3997 contains \r because the filename is long.
3999 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
4000 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
4002 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4004 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
4005 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
4007 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
4009 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
4011 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
4013 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
4015 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
4016 to match does not match the passing case but still matches the
4019 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4021 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
4023 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
4025 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
4026 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
4027 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
4028 Remove various versions of gdb_exit.
4029 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
4031 * config/unix-gdb.exp: gdb_exit remains here, and should override
4032 the generic version, since it's doing a lot of wierd stuff that
4033 the other versions aren't. FIXME, fold it in, or abandon this
4036 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4038 * gdb.t24/demangle.exp: Add tests for PR 3220.
4040 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4042 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
4044 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
4046 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
4047 "i386-*-*". Works for i486 as well.
4049 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
4050 bug, and expand domain of xfail to all SVR4 systems, since the
4051 actual problem is likely to be in generic SVR4 /proc support.
4053 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4055 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
4057 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
4059 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
4060 xfails for other systems. Match a missing 'Continuing.' as an
4061 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
4063 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
4064 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
4065 Only issue warning for missing executables if -all option is used.
4067 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
4068 file if -all option is used. It's like an unpredictable XFAIL.
4070 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4072 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
4073 for dynamically linked binaries.
4075 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
4077 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4079 * gdb.t20/inherit.exp: Change message for "print tagless struct"
4080 to state that this is a known bug in old versions of g++.
4082 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4084 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
4085 while waiting for `Continuing'.
4087 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
4089 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
4090 in text, data, and bss.
4091 * gdb.t10/nodebug.c: Add local and global test variables for
4092 initialized and uninitialized data.
4094 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4096 * config/unix-gdb.exp (gdb_exit): Add "wait".
4098 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4100 * gdb.t06/signals.exp: xfail the continue from the handler for all
4103 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
4104 function with watchpoints enabled, the i386 call dummy starts with
4107 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
4108 386 bsd names its corefiles.
4110 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
4112 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
4113 compilers don't grok it.
4114 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
4115 with small octal ints rather than character constants, which
4116 are signed and might not fit if first promoted to int.
4118 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
4120 * gdb.t09/Makefile.in (clean): Remove corefile.
4122 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4124 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
4126 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4127 and Jim Kingdon (kingdon@cygnus.com)
4129 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
4130 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
4131 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
4133 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4135 * gdb.t17/interrupt.exp: Add xfail for hppa.
4137 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4139 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
4140 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
4141 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
4142 to determine signed-ness of bitfields and use the result to setup
4144 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
4145 * gdb.t15/funcargs.exp: Use them to step until the second indirect
4146 call line is reached if necessary.
4148 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4150 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
4152 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4154 * gdb.t06/break.exp: Also test `clear' command.
4156 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4158 * gdb.t00/teststrategy.exp: Remove extra quote.
4160 * gdb.t07/watchpoint.exp: Change xfail for calling function with
4161 watchpoint enabled to be for all non-68k machines.
4163 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
4165 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4167 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
4168 targets use aout.mt instead of ecoff.mt as gas understands
4169 standard aout format.
4171 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4173 * lib/gdb.exp (runto): Don't insist that function we are running to
4174 was compiled with -g.
4176 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
4178 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
4179 to get back into the read system call.
4180 Accept leading newline in case where we woke it up.
4182 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4184 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
4185 to make the stabs test work on ecoff systems using gcc and -with-stabs.
4186 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
4187 enable ecoff configuration.
4189 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4191 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
4193 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4195 * gdb.t16/printcmds.exp: Add another printf test.
4197 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
4199 * configure.in: If configured -with-stabs on any target, add
4200 stabsdirs to configdirs.
4202 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4204 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
4205 fun" so pattern does not match the command itself.
4207 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4209 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
4211 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4213 * gdb.t17/interrupt.exp: Test for more things.
4215 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4217 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
4218 compiler arranges the code and line numbers.
4220 * gdb.t17/interrupt.exp: Don't send \n after ^C.
4222 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4224 * gdb.t00/help.exp: Increase expect input buffer size.
4226 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4228 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
4230 * gdb.t07/watchpoint.exp: Add xfail for hppa.
4232 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
4234 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
4235 [0-9]*, not just [0-9].
4237 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4239 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
4241 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
4243 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4245 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
4247 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4249 * gdb.t06/signals.c: Add xfails for sun3.
4251 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
4253 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
4254 test_stepping tests.
4256 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4258 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
4260 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
4262 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
4263 rather than actually putting it through cpp twice.
4265 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
4267 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
4269 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
4272 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4274 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
4276 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
4277 C++ features prints as "struct", make it a pass, not an xfail.
4279 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4281 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
4282 Don't require VA to print as "class" rather than "struct".
4284 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
4286 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
4288 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4290 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
4292 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4294 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
4297 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4299 * gdb.t16/printcmds.exp: Add printf tests.
4301 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
4303 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
4305 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
4307 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
4308 pass counts, to counteract any existing or future setup_xfails.
4310 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4312 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
4313 {BEGIN,END}_COMMON for common block instead of STAB.
4314 * gdb.stabs/wierd.exp: Add xfail for rs6000.
4316 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
4317 intp_var should be N_GSYM not N_LSYM.
4318 wierd-aout.S: Use a label for the value of the N_SO.
4319 wierd.def: Remove all backslashes.
4320 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
4322 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4324 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
4325 get the expected next to inheritance3.
4327 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4329 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
4330 now that gcc-2.4 gets it right.
4332 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4334 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
4336 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
4337 generating comp-info.exp which works for cross-compilation.
4339 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
4341 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
4344 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
4346 * gdb.t01/run.exp: Start with a fresh gdb.
4347 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
4350 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
4352 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
4353 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
4354 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
4355 Makefile.in (distclean, realclean): Remove gdbme.c from list of
4358 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
4360 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
4361 test cases from bug reports.
4363 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
4365 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
4366 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
4367 avoid spurious xfails.
4368 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
4369 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
4370 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
4372 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
4374 * gdb.t00/teststrategy.exp: Rework to provide more useful
4375 description of each test, fix problem with systems that define
4376 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
4377 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
4378 results for "next over recursive call" so timeouts aren't taken
4381 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
4383 * gdb.t12/scope.exp: Test printing of variables before run.
4385 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
4386 printed in wrong order due to sorting.
4388 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
4390 * gdb.t00/teststrategy.exp: Fix expected results for printing
4391 user entered string constant. Is array of char, prints with no
4394 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
4396 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
4397 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
4398 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
4399 of struct of char arrays.
4400 * gdb.t00/radix.exp: New tests for radix commands.
4402 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
4404 * gdb.t16/printcmd.exp: Print a variable before running program
4405 (with xfail for AIX).
4407 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
4409 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
4411 * gdb.t16/printcmd.exp: Don't print variables before running program.
4413 * gdb.t06/break.exp: Don't require envp argument to main.
4415 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
4417 * gdb.t02/whatis.exp, gdb.t11/list.exp:
4418 Add xfails for rs6000.
4420 * gdb.t02/whatis.exp: Change other tests not to re-test something
4423 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
4424 each type used has a variable of that type.
4426 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
4428 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
4430 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4432 * configure.in: change srctrigger to be a file, not a directory
4434 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
4436 * configure.in (mips-idt-ecoff*): Added trailing '*'.
4438 * gdb.t11/list.exp: Fixed a couple of typos.
4440 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
4442 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
4443 is fixed and PR is closed.
4444 * gdb.t16 (gdbme.c): Add simple test string variable.
4445 * gdb.t16 (printcmds.exp): Add tests with simple test string
4446 variable, primarily for boundaries on "set print elements".
4448 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
4450 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
4451 Make leading 0's optional and don't expect a tab in the middle
4454 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
4456 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
4457 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
4458 don't end command passed to gdb_test with newline.
4460 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
4461 signed keyword away, don't expect signed bitfields to be signed.
4463 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
4464 printing with only as many 1's as are in the field as well as printing
4465 with 32 1's (see comment).
4467 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
4469 * gdb.t00/default.exp: Start with a fresh gdb.
4470 * configure.in (configdirs): Remove gdb.t31 until the chill
4471 compiler works again. It no longer is able to find chillrt0
4472 since it isn't in libchill.a anymore.
4473 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
4474 wierd.o, make more modular.
4475 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
4476 spurious newlines that caused problems.
4478 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4480 * Move test with enums and partial symbols from gdb.t03/ptype.exp
4481 to gdb.stabs/wierd.exp since GCC has worked around the bug.
4482 gdb.stabs/wierd.{exp,def}: Many new tests.
4484 * gdb.t00/default.exp: update info line for new message.
4486 * gdb.t02/{whatis.exp,gdbme.c}:
4487 Test that "char *" doesn't print as "caddr_t".
4489 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4491 * gdb.t00/help.exp: Use .* in place of some help messages which
4493 gdb.t00/default.exp: Update "info frame" test for new message.
4494 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
4497 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4499 * gdb.t03/{gdbme.c,ptype.exp}:
4500 Add tests for typedef'd struct and union without tags.
4501 Also check "whatis" on a variable of a typedef'd enum without a tag.
4503 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
4504 PRMS 1823; the bug still exists but isn't reproduced by this test
4505 anymore), and remove rs6000 XFAIL (the bug is fixed).
4507 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
4508 duplicated from whatis.exp. For those that are left, accept
4509 "long", "long int", or "int" for long variables (whatis.exp already
4510 has an XFAIL for "int", so no need to fail it here).
4512 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
4513 Deal with GCC's names for types now that GDB uses the compiler's names.
4515 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
4516 setup_xfail's for sunos4. If we #defined the signed keyword away,
4517 don't expect GDB to know that char it is signed.
4519 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
4521 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
4523 * configure.in (configdirs): Add gdb.t24 for C++ tests that
4524 should work on any system, regardless of debugging format.
4525 * gdb.t21/demangle.exp: Move to gdb.t24.
4526 * gdb.t24/demangle.exp: Move from gdb.t21.
4527 * gdb.t24/{Makefile.in, configure.in}: New files.
4529 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4531 * configure.in: Do gdb.stabs and C++ tests only for stabs.
4532 * gdb.stabs: New directory.
4534 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4536 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
4537 not just "Quit anyway?".
4539 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
4541 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
4542 that all setup_xfails are immediately followed by clear_xfails.
4544 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
4546 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
4547 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
4548 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
4549 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
4550 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
4551 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4552 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4553 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
4554 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
4555 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
4556 gdb.t31/chillvars.exp, lib/gdb.exp:
4557 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
4558 bug-gdb@prep.ai.mit.edu.
4560 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
4562 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
4563 with 0.0, not integer 0.
4565 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
4567 * gdb.t06/break.exp: Update for "Kill the program" message change.
4569 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
4571 * Makefile.in (GDBFLAGS): Set to -nx.
4572 * Makefile.in (site.exp): Use GDBFLAGS.
4574 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4576 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
4578 (check): depend on just-check.
4579 (just-check): added so that tests can be run without a noop
4582 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4584 Switch to using configure's configdirs.
4585 * Makefile.in (Makefile): add configure.in dependency.
4586 (SUBDIRS): removed redundant assignment.
4587 * configure.in: switch subdirs assignment to configdirs.
4588 * gdb.t*/configure.in: new files.
4590 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
4592 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
4595 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
4597 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
4598 in explicit rules. Apparently this is not supported by some makes.
4600 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
4602 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
4604 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4606 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
4609 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
4611 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
4613 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
4615 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
4616 watchpoint problem that is now fixed.
4617 * gdb.t30/chexp.exp: Remove setup_xfail for printing
4618 uninitialized convenience variables.
4619 * gdb.t31/chillvars.exp: Fix expected patterns for printing
4622 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4624 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
4625 which causes expect to get out of sync with gdb on long output
4627 * gdb.t09/corefile.exp: Make expected pattern for core file
4628 failing signal and frame output format less sun specific.
4630 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
4632 * gdb.t31/chillvars.exp: Add and remove initial dummy
4633 breakpoint, so that symbol table is forced in.
4634 (Needed at least on Sunos4, though it seems not SVR4.)
4635 * gdb.t31/chillvars.exp: Update for changed output format.
4637 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
4639 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
4641 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
4643 * Makefile.in: Added --srcdir when invoking runtest, removed the
4644 need for a local config file. (optional now)
4646 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
4648 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
4649 failure count used to force early termination. Add some more
4650 expected failures for gnu style demangling.
4652 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4654 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
4655 pmi variable from gdb.t20/gdbme to get optimized away.
4656 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
4657 Check for written corefile upon timeout _and_ eof.
4659 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4661 * config/unix-gdb.exp: Add missing return 0.
4663 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4665 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
4668 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
4670 * configure.in (subdirs): Put back gdb.t17 which mysteriously
4673 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
4675 * gdb.t10/crossload.exp: Disable the i860-elf test until such
4676 time as i860 support works.
4678 * gdb.t15/funcargs.exp: Fix expected outputs to include
4679 "backtrace 100\r" rather than just "backtrace\r", to match last
4682 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
4684 * config/udi-gdb.exp (gdb_exit): Remove close command.
4685 (gdb_target_udi): New procedure to set the UDI target.
4686 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
4687 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
4688 Added waits for prompts after several question responses. Added
4689 some more responses used by a29k-amd-udi-gdb.
4690 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
4691 pass different arguments, restart UDI connection after program
4693 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
4694 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4695 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
4696 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
4697 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
4698 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
4699 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4700 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
4701 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
4702 after program completion.
4703 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
4704 compiled with a SELECT_VECS setting.
4705 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
4708 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
4709 Added checks for COFF results, and made them expected failures for
4710 all targets. It would be better to make them expected failures
4711 for COFF targets only.
4713 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
4715 * Makefile.in: add null dvi target, don't bother to recurse
4716 through test directories for info and install-info; rename
4717 $(datadir) to be dejagnu instead of deja-gnu
4719 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
4721 * gdb.t31/gdbme.ch: Re-enable code that previously caused
4722 compiler to coredump.
4723 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
4726 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
4728 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
4730 * gdb.t31/chillvars.exp: Comment out tests that depend on that
4733 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
4735 * gdb.t03/ptype.exp: tests for return code from gdb_test.
4736 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
4737 which in a shell. Deletes xgdb when done.
4738 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
4739 Tests the return from the "set height" or "set width" commands.
4740 Added a few return codes where needed.
4742 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
4744 * Makefile.in (SUBDIRS): Add gdb.t17.
4745 * configure.in (subdirs): Add gdb.t17.
4746 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
4747 files to test gdb's calling of functions in the inferior with
4748 the correct arguments and gdb's ability to retrieve any
4751 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
4753 * config/unix-gdb.exp (gdb_exit): Remove close commands that
4754 may be called after gdb goes away. Previous versions of expect
4755 needed these to avoid file descriptor leaks, but they cause
4756 errors with the current revision of expect.
4757 * gdb.t00/gdbvars.exp: Use -re on expected output after
4758 setting sevenbit-strings.
4759 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
4760 to set sevenbit-strings consistent across tests.
4761 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
4762 set sevenbit-strings consistent across tests.
4764 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
4766 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
4767 expected output to match current "expect" expectations.
4769 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
4771 * gdb.t00/default.exp: Change expected output for default "source"
4772 command, to match new gdb behavior which requires a filename to
4775 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
4777 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
4778 expected fail for i486-*-* that misses the marker2 function.
4779 * gdb.t10/crossload.exp (bfddefault): Allow successful
4780 recognition of a format to pass even if no symbols are found.
4781 Explicitly catch failures where the format is not recognized
4782 or is ambiguous, and add the reason to the fail message.
4783 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
4784 the cause is and invalid target and add reason to failure message.
4785 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
4786 elf32-i386, elf32-sparc, and elf32-i860.
4787 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
4788 Set up expected failure for 'filename'::variable scope resolution,
4789 which is now apparently broken on all targets.
4790 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
4791 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
4792 gdb.t23/templates.exp: Change failure for missing binfile into
4794 gdb.t21/demangle.exp: Change all cfront references to 'arm'
4797 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
4799 * gdb.t00/default.exp: Add expected output for default "source"
4800 command, to match new gdb behavior.
4801 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
4803 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
4805 * config/*-gdb.exp: returns an error, rather than exiting on
4808 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
4810 * gdb.t03/gdbme.c: Add pointer to struct variable.
4811 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
4812 referencing struct members.
4814 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
4816 * configure.in (mips-idt-ecoff): New target.
4817 * config/mips-gdb.exp: New file for remote board using MIPS remote
4820 * Redid configuration scheme. Removed gdb.t*/configure.in.
4821 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
4822 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
4823 distclean targets. Built executables via .o files. Adjusted
4824 tests to account for source files in $(srcdir) rather than
4826 * lib/gdb.exp (runto): Don't expect () after the function name,
4827 because it may have arguments.
4829 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
4831 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
4832 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
4833 expected failures for mips-idt-* and mips-sgi-*.
4834 * gdb.t00/default.exp (attach): Kill process if requested.
4835 * gdb.t00/help.exp (help target core, help target): Accept a gdb
4836 that does not read core files.
4837 * gdb.t01/run.exp: Removed checks for exit status code.
4838 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
4840 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
4841 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
4842 appropriate, rather than doing it by hand.
4843 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
4845 * gdb.t10/crossload.exp: Kill existing program if needed.
4846 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
4847 appropriate, rather than doing it by hand. Always increase
4848 timeout for this test, not just for VxWorks.
4850 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
4852 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
4853 of Chill STRUCT types and STRUCT values.
4854 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
4856 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
4857 struct2): New struct definitions and initializations to test
4858 simple Chill STRUCT types.
4860 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
4862 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
4863 the null byte at the end of strings.
4864 * gdb.t00/default.exp: Make show version insensitive to copyright
4866 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
4867 to avoid dependencies on target char signedness.
4868 * gdb.t16/printcmds.exp: Update expected results for explicitly
4870 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
4872 * gdb.t21/demangle.exp: Add many more patterns for template
4873 demangling, most of them being expected failures.
4874 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
4875 string we are matching for, to match on the whole string.
4876 * gdb.t21/demangle.exp: Add many new test strings to demangle,
4877 and fix a whole bunch that had incorrect expected output but were
4878 passing anyway because of the bug in "proc demangle".
4879 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
4881 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
4883 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
4885 * gdb/testsuite: made modifications to testcases, etc., to allow
4886 them to work properly given the reorganization of deja-gnu and the
4887 relocation of the testcases from deja-gnu to a "tool" subdirectory.
4889 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
4891 * gdb/testsuite: Initial creation of gdb/testsuite.
4892 Migrated dejagnu testcases and support files for testing nm to
4893 gdb/testsuite from deja-gnu. These files were moved "as is"
4894 with no modifications. This migration is part of a major overhaul
4895 of dejagnu. The modifications to these testcases, etc., which
4896 will allow them to work with the new version of dejagnu will be
4897 made in a future update.
4903 version-control: never