1 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
3 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5 (default_gdb_init): New procedure; allow gdb_init to be overridden
6 by a target configuration file.
7 (gdb_expect): Pass the timeout to remote_expect.
9 * config/monitor.exp(gdb_load): Fix typo in regexp.
11 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
13 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
15 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
17 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
18 here. Call gdb_target_exec before rebooting the target, to make
19 sure the connection to the target is closed.
20 (gdb_load): Pass the name of the executable to gdb_target_monitor.
21 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
22 Also detect "Timeout reading from remote" error.
24 * config/gdbserver.exp: Pass the executable being loaded to
25 gdb_target_monitor. Don't call gdb_file_cmd here; let
26 gdb_target_monitor do it.
28 * gdb.disasm/hppa.exp: Don't use exec_output.
30 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
32 * gdb.base/list.exp: If we're debugging a non-native target,
33 try to set the pc register to point to the start of the
34 program before doing the first list command.
36 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
37 test_calls after restarting.
39 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
42 * gdb.base/watchpoint.exp: Fix typo.
44 * gdb.base/setshow.exp: Check for use_gdb_stub.
46 * gdb.base/break.exp: Fix continue until exit test for the gdb
48 * gdb.base/langs.exp: Ditto.
50 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
51 gdb_load_offset. If we weren't given a file to load, figure out
52 what the current file is and use it.
54 * config/i386-bozo.exp: New file.
56 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
58 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
61 * config/proelf.exp: New entry.
63 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
65 * lib/gdb.exp: Remove spurious .* patterns at the beginning
68 * gdb.base/watchpoint.exp: Don't run the test_stepping
69 tests if gdb can't call functions on the target.
71 * gdb.base/setshow.exp: Don't run the set prompt tests if
72 the board has gdb_prompt set.
74 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
76 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
77 * gdb.base/commands.exp: Likewise.
78 * gdb.base/setshow.exp: Likewise.
80 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
82 * config/monitor.exp(gdb_start): Look for gdb_prompt target
85 * config/i960.exp: New file.
87 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
89 * gdb.base/funcargs.exp: Check for gdb,short_int target
90 feature instead of looking for explicit target triplets.
92 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
94 * gdb.base/printcmds.exp: add a couple more tests a la
95 "p 123DEADBEEF", to check parse_number.
96 * top.c: change "to enable to enable" to "to enable" in a couple
99 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
101 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
104 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
106 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
107 where the test executable is run with explicit args.
108 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
110 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
112 * gdb.base/run.c: Use FAKEARGV to build test executable that
113 does not require a command line arg, since most simulators
114 don't currently support passing such an arg into the simulated
116 * gdb.base/commands.exp: Change tests to insert the proper
117 value as the arg to the first recursive factorial call. Change
118 compilation line to define FAKEARGV at compile time.
120 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
122 * gdb.base/recurse.exp: Enable these tests for the mn10300.
123 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
124 function with watchpoint enabled" test.
126 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
128 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
129 Don't call gdb_test when the command doesn't return to a gdb prompt.
131 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
132 "Tests restarted" messages.
134 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
136 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
138 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
140 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
141 for INFO SYMBOL; add help tests for OVERLAY commands.
142 * gdb.base/default.exp: add tests for INFO SYMBOL command;
143 add tests for OVERLAY commands
144 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
145 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
146 * gdb.base/sigall.c: add usestubs code frag
147 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
149 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
151 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
153 (gdb_stop_suppressing_tests): Note that tests have restarted.
155 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
157 * config/h8300.exp: New file.
159 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
161 * gdb.base/setshow.exp: Check for the existence of a
162 feature, not its value.
164 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
166 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
168 * gdb.base/scope.exp: It's now init0(), not init().
170 * gdb.base/scope0.c: For now, change init() to be init0().
172 * config/monitor.exp: Use gdb_serial in preference to serial
175 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
176 and it's not already set.
178 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
180 * gdb.base/setshow.exp: Only test the run command if the target
181 isn't using a stub and if it supports argument passing.
183 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
185 * config/udi.exp(gdb_start): Make sure UDICONF is set
186 properly before starting gdb.
188 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
190 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
191 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
192 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
194 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
196 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
197 specialized code to reboot the board, use remote_reboot instead.
199 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
201 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
203 * config/monitor.exp: Make sure we disconnect from the target.
204 Also, try a reboot/reload cycle instead of failing if the
207 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
209 * gdb.base/default.exp: Don't set match_max.
210 * gdb.base/help.exp: Ditto.
211 * gdb.base/list.exp: Ditto.
212 * gdb.base/signals.exp: Ditto.
214 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
215 set, use remote_ld to download the testcase instead of
218 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
220 * config/vr5000.exp: New file.
222 * config/monitor.exp(gdb_target_monitor): Add pattern for
223 "Ending remote" to detect errors in connecting.
225 * gdb.base/setshow.exp: Add .* within auto language test.
227 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
230 * config/monitor.exp(gdb_load): Check for a failure when loading,
231 and reboot the board if necessary.
233 * gdb.base/setvar.exp(test_set): Handle multiple prints within
234 a set of tests. Remove print.* from the patterns being checked.
236 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
238 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
239 refer to gdb_spawn_id.
241 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
243 * config/sparclet.exp: Ditto.
244 * config/sparclet-old.exp: Ditto.
245 * config/slite.exp: Ditto.
246 * config/sim.exp: Ditto.
247 * gdb.base/funcargs.exp: Ditto.
249 * lib/gdb.exp:Remove references to gdb_spawn_id.
250 (gdb_expect): Move to remote.exp.
252 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
254 * config/monitor.exp: Detect the "Couldn't establish connection"
257 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
259 * gdb.base/bitfields.exp: Use runto instead of explicit
260 gdb_run_cmd/gdb_expect sequences.
262 * gdb.base/break.exp(text_next_with_recursion): Add match for
265 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
266 We also need to handle the "A program is being debugged already"
267 prompt from gdb. Use gdb_test to set the baud rate.
269 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
270 to 20000. Really. I mean it.
272 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
274 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
275 fails. If suppress_flag is set, skip perror message about not
276 being able to send to GDB.
277 (send_gdb): If suppress_flag is set, don't try to send commands to
279 (gdb_expect): If suppress_flag is set, always fail immediately.
280 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
281 (gdb_init): Call gdb_stop_suppressing_tests.
282 (default_gdb_exit): Ditto.
283 (default_gdb_start): Ditto.
285 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
286 gdb_stop_suppressing_tests as appropriate.
287 * gdb.base/break.exp: Ditto.
288 * gdb.base/callfuncs.exp: Ditto.
289 * gdb.base/commands.exp: Ditto.
290 * gdb.base/exprs.exp: Ditto.
291 * gdb.base/funcargs.exp: Ditto.
292 * gdb.base/list.exp: Ditto.
293 * gdb.base/recurse.exp: Ditto.
294 * gdb.base/scope.exp: Ditto.
295 * gdb.base/structs.exp: Ditto.
296 * gdb.c++/inherit.exp: Ditto.
298 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
300 * config/vr4300.exp: New file.
302 * gdb.*/*.exp: Call gdb_expect instead of expect.
304 * lib/gdb.exp(gdb_expect): New function.
306 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
308 * lib/gdb.exp(gdb_init): New function.
310 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
311 for each individual variable set.
313 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
316 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
318 * gdb.base/scope.exp: Use gdb_test.
320 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
321 aborting; the testsuite driver will do that for us (see
322 gdb_finish). Also, use gdb_test in a few more places.
324 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
326 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
328 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
330 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
331 and "add_tests" are not at the same address.
333 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
335 * gdb.base/ptype.exp: Use gdb_test.
337 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
339 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
340 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
341 left in. No longer expect them to fail.
343 * gdb.stabs/*.mt; Deleted, no longer used.
344 * gdb.stabs/configure.in: Remove references to target makefile
346 * gdb.stabs/configure: Rebuilt.
348 * gdb.disasm/*.mt: Deleted, no longer used.
349 * gdb.disasm/configure.in: Remove references to target makefile
350 frags. Use "sh3.s" as the unique filename for this directory.
351 * gdb.disasm/configure: Rebuilt.
353 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
354 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
355 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
357 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
359 * config/udi.exp: Use mondfe,name instead of remote_host.
361 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
363 * gdb.base/watchpoint.exp: Don't expect a failure when calling
364 a function with a watchpoint enabled on the mn10200.
366 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
367 before trying to create it!
369 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
371 * config/vx.exp: Use hostname instead of netport.
373 * config/vxworks.exp: New file.
375 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
377 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
378 gdb before assuming everything worked. Send a ^C if a timeout
381 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
382 $gdb_spawn_id directly.
383 (gdb_run_cmd): Try _start as well as start. Use the target feature
384 gdb,start_symbol as the symbol to start from when jumping.
386 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
388 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
391 * gdb.base/recurse.exp: Relax final value test for 'b' so that
392 it doesn't lose for 16bit integer systems.
394 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
396 * gdb.fortran/types.exp: If the target doesn't support "double"
397 data types, then expect "real" types to only be 4 bytes.
399 * gdb.c++/virtfunc.exp: Expect failure for virtual function
400 call tests if the target doesn't support inferior function calls.
402 * gdb.base/printcmds.exp: Allow minor deviation in FP values
405 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
407 * gdb.base/help.exp: Disable "help set", "help show", and
408 "help support". Simplify regexp for "help stack".
410 * gdb.base/default.exp: Set match_max to 5000 and the timeout
411 to 60 seconds. Temporarily set match_max to 15000 around the
414 * gdb.base/nodebug.exp: Don't try to do an inferior function
415 call if the target doesn't support them.
416 * gdb.base/printcmds.exp: Likewise.
417 * gdb.base/setvar.exp: Likewise.
418 * gdb.base/structs.exp: Likewise.
419 * gdb.c++/templates.exp: Likewise.
420 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
422 * gdb.base/recurse.exp: Enable for the mn10200.
424 * configure.in: Do configure gdb.stabs directory for *-*-elf
426 * configure: Rebuilt.
428 * gdb.base/break.exp: Check for gdb,noresults before testing
429 exit status and/or results from the target.
430 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
431 * lib/gdb.exp: Remove old (now bogus) initialization of
432 noinferior, noargs, noresults and nosignals.
434 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
436 * config/sh.exp: New file.
438 * config/slite.exp: Try to connect multiple times to the board
439 before rebooting. Only send a "monitor run" if need_monitor_run
442 * gdb.base/break.exp: Don't do the "stub continue" test if
443 the target has gdb_stub set.
445 * gdb.base/callfuncs.exp: Increase the timeout.
447 * gdb.base/interrupt.exp: Don't even try to compile the testcase
448 if the target has gdb,noinferiorio set.
450 * gdb.base/list.exp: Increase match_max to 10000 characters.
452 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
454 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
457 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
459 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
461 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
462 trying to delete the copy of gdb. Catch the file delete so we
463 don't die if the delete fails; also, the file should be copied to
464 the host, not to the build.
466 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
468 * lib/gdb.exp(gdb_test): Surround the result pattern with
469 parenthesis in case it contains multiple regexps separated
472 * gdb.base/watchpoint.exp: Use gdb_test.
473 * gdb.base/default.exp: Ditto.
475 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
477 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
479 * gdb.base/scope.exp: Use gdb_test.
480 * gdb.c++/classes.exp: Ditto.
481 * gdb.c++/inherit.exp: Ditto.
483 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
485 * gdb.base/crossload.exp: Don't use execute_anywhere, use
487 * gdb.base/corefile.exp: Don't be ridiculous.
488 * gdb.base/*.c: Add missing stub invocations.
490 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
492 * config/slite.exp: Miscellaneous fixes.
494 * lib/gdb.exp: Fix runto.
496 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
499 * gdb.base/watchpoint.exp: Fix regexp.
501 * lib/gdb.exp(default_gdb_exit): Add a catch to the
502 close and wait commands, as the descriptor may now be
503 invalid. Always call "remote_close host".
505 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
507 Major rewrite for testsuite revision.
509 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
510 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
511 instead of relying on spawn_id to always contain a valid
513 (get_compiler_info): New procedure to build the ${binfile}.ci
514 file, instead of replicating this in N different places.
515 (gdb_compile): New procedure.
517 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
518 appropriate arguments) instead of compile. Use gdb_test in a lot
519 more places. Use send_gdb instead of send. Always run gdb_start
520 at the start of a testcase, as this is no longer done magically.
522 config/*-gdb.exp: Rename without the -gdb suffix.
524 config/mips.exp: Use remote_close instead of exit_remote_shell.
525 config/monitor.exp: Use target_info instead of looking at
527 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
529 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
531 * gdb.c++/templates.exp (test_ptype_of_templates),
532 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
533 Update expect patterns for destructors and assignment operators
534 to match corresponding c-typeprint.c changes.
535 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
536 to destructor breakpoint test, GDB should be able to set the
537 destructor breakpoint without specifying arguments.
539 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@ninemoons.com>
541 * gdb.threads/pthreads.exp: Change result for failure to compile due
542 to lack of pthreads runtime support from an error to simply an
543 unsupported test, per dejagnu standards.
545 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
547 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
548 where GDB exits to reduce pattern match time.
549 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
551 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
553 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
555 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
556 * gdb.base/default.exp: ditto.
557 * gdb.base/nodebug.exp: ditto.
558 * gdb.base/printcmds.exp: ditto.
559 * gdb.base/ptype.exp: ditto.
560 * gdb.base/setvar.exp: ditto.
561 * gdb.base/structs.exp: ditto.
562 * gdb.base/setshow.c: Guard against uninitialized values of argc.
564 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
566 * configure, */configure: Rebuild with autoconf 2.12.
568 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
570 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
571 use new i*86-pc-linux*-gnu quads.
572 * gdb.base/corefile.exp: Ditto.
573 * gdb.base/signals.exp: Ditto.
574 * gdb.base/sigall.exp: Ditto.
575 * gdb.base/interrupt.exp: Ditto.
577 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
578 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
581 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
582 linux. This allows the test case to at least compile on latest
583 linux, but still not run due to missing the threads runtime library.
585 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
587 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
588 directory to search gdb directory. Accept and step over conditional
589 stack alignment code. Consume $prompt in failure cases.
590 Reset timeout to $oldtimeout instead of some arbitrary value.
591 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
592 timeout problems with infinite stack backtraces.
593 * gdb.base/ptype.exp (ptype struct link, union tu_link):
594 Accept function parameters for linkfunc member.
596 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
598 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
599 (CXXFLAGS): Remove, unreferenced.
600 (B_OPTIONS): Add for -B options and add code to initialize with
601 previous -B options and also add -B option to pick up cross compiled
603 (TARGET_INCLUDES): Add for -I options and add code to initialize when
604 doing cross compiles.
605 (target_alias): Declare global.
606 (xgcc): Set variable to full path of gcc in build tree. Use findfile
607 to verify that gcc exists in build tree, and if so set CC to that
608 gcc and to use B_OPTIONS and TARGET_INCLUDES.
610 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
612 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
613 ptype test for anonymous union. Fixup testcase to match
614 current gcc debug output.
616 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
618 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
619 force argument to an unsigned long type.
621 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
623 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
624 tests and anonymous union print/ptype tests.
625 * gdb.base/list.exp (test_forward-search): Increase timeout by
626 5 minutes for the "search extremely long line" case.
627 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
628 completely optional and that the pass/fail messages use the command as
629 the message if that third arg is a null string.
630 (gdb_test_exact): Arrange that a null string pattern means match a
631 null string output rather than any output, which might include random
633 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
635 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
636 always failing and failure is now exposed by gdb.exp changes.
638 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
640 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
643 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
645 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
646 * gdb.stabs/weird.exp: Remove v_comb xfails.
648 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
650 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
651 list.exp scope.exp watchpoint.exp]
652 Make all timeout error msgs explicitly say "(timeout)".
654 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
656 * config/monitor.exp: Increase download timeout to 1000 seconds.
658 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
660 * config/m32r.exp: Increase timeout to 120 seconds.
662 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
664 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
665 and accept older ordering as obsolescent gcc or gdb.
666 * gdb.c++/templates.exp: Ditto.
667 * gdb.c++/virtfunc.exp: Ditto.
669 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
671 * gdb.base/coremaker.c: Add code to mmap some data so we
672 can check that it ends up in the core file.
673 * gdb.base/corefile.exp: Add test to read mmapped data
676 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
678 * config/m32r.exp: New file.
680 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
682 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
683 that cflags can contains -gstabs, and work correctly for other tests.
685 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
687 * gdb.base/setshow.exp: New file, tests show and set.
688 * gdb.base/setshow.c: New file, tests show and set.
689 * gdb.base/help.exp: Add test for help set|show annotate.
690 * gdb.base/default.exp: Add test for set|show annotate.
692 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
694 * testsuite/gdb.base/break.exp: Make backtrace from factorial
696 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
699 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
701 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
702 and width commands. This is done elsewhere.
703 * (gdb_start): Don't call gdb_start_sim here. That's already
704 done in gdb_load. This fixes lots of failures in default.exp.
706 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
708 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
709 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
710 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
711 in the same we we treat other failures (since it may be an expected
712 condition), rather than as an error.
713 * gdb.base/signals.exp (test_handle_all_print): Revert back to
716 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
718 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
719 (distclean maintainer-clean realclean): No need to remove files
720 twice. Nuke the duplicates.
721 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
722 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
723 Remove config.h along with other config files.
725 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
727 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
728 "p func1 ()" and note that rests of tests are skipped.
729 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
730 setup_xfails for "print func2::coremaker_local".
731 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
732 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
733 affected by the previous run test.
734 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
735 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
736 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
737 "pass int powerset tuple" and "pass modeless int powerset tuple".
738 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
739 "real write 4" and "real write 8".
740 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
741 setup_xfails for "print vs1 after tuple assign 2",
742 "print \$i after tuple assign 2", and
743 "print vs2 after tuple assign 2".
744 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
745 meaningful error message and return -1 so the caller can
746 suppress further tests and avoid a cascade of errors.
748 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
750 * gdb.base/a1-selftest.exp: Tweak tests to account for new
751 format for printing version.
752 * gdb.base/default.exp: Ditto.
753 * gdb.base/interrupt.exp: Fix problem with cascade of
754 errors if child process dies while calling a function.
756 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
758 * Makefile.in (VPATH): Add
759 * Makefile.in (Makefile, config.status): Fix rules so things get
760 remade when necessary.
762 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
764 * Makefile.in (just-check): Add path to sibling expect dir
765 to environment variable specified by RPATH_ENVVAR.
767 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
769 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
770 (just-check): Add shared library paths for libstdc++, tk,
771 tcl, bfd, and opcodes to the environment variable specified
773 * configure.in: Add support to recognize --enable-shared flag
774 and generate correct value for RPATH_ENVVAR.
775 * configure: Regenerated with autoconf.
777 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
779 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
780 include all osf versions.
781 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
782 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
783 when target is linux. When failing to build pthreads test
784 executable, give more meaningful message.
785 * gdb.threads/pthreads.c: Hpux also uses old definition of second
786 arg for pthread_create.
788 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
790 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
791 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
792 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
793 and -lpthreads (everybody else).
794 (test_startup): Fail gracefully if threads are not supported.
795 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
796 "p/c array_index("abcdef",2)" when not gcc compiled.
797 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
798 "print func2::coremaker_local" when not gcc compiled.
799 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
800 "ptype on opaque struct tagname (statically)",
801 "ptype on opaque struct tagname (dynamically) 1", and
802 "ptype on opaque struct tagname (dynamically) 2"
803 for not compiled with gcc.
804 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
805 backtrace when compiled with gcc.
806 * lib/gdb.exp (runto_main): Return result of "runto main" rather
807 than always return success.
809 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
811 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
813 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
815 * gdb.base/structs.exp: Undo last change.
817 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
819 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
820 encapsulate all the steps/nexts done during self test, starting
821 at main, and makes them less sensitive to optimization issues.
822 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
823 signal handler" test.
824 * gdb.threads/pthreads.exp: Only run this for native configs.
825 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
826 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
828 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
829 for "runto test_calls(void)" test.
831 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
833 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
834 and don't expect address info in breakpoint confirmations.
836 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
838 * gdb.base/list.exp (test_forward_search): Increase timeout
839 temporarily by 60 seconds for searching extremely long line,
840 and then reset to old value when done. Increase expect input
843 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
845 * gdb.base/list.exp (test_forward_search): Fix to handle very
846 long source line without overflowing expect's input buffer.
848 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
850 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
853 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
856 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
859 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
862 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
864 * configure.in (configdirs): Add gdb.threads.
865 * configure: Regenerated with autoconf.
866 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
867 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
868 * gdb.threads/configure: New, generated with autoconf.
870 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
872 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
874 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
876 * gdb.base/signals.exp (test_handle_all_print): Test separately for
877 each signal's status in the output of "handle all print".
878 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
879 the \r\n sequence that immediately precedes the gdb prompt.
880 * gdb.base/a1-selftest.exp: Save original timeout and restore
883 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
885 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
888 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
890 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
892 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
894 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
895 timeout by 60 seconds.
897 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
899 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
900 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
903 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
905 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
906 gdb initialization, also report how long dejagnu waited. Restore
907 old timeout before doing error return. Temporarily increase timeout
908 by 3 minutes to allow for slow startups over heavy NFS use.
910 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
912 * lib/gdb.exp: Report timeout value for verbosity level 2.
913 * config/gdbserver.exp: Ditto.
914 * config/hppro.exp: Ditto.
915 * config/mips-gdb.exp: Ditto.
916 * config/monitor.exp: Ditto.
917 * config/netware.exp: Ditto.
918 * config/sim-gdb.exp: Ditto.
919 * config/slite-gdb.exp: Ditto.
920 * config/udi-gdb.exp: Ditto.
921 * config/unix-gdb.exp: Ditto.
922 * config/vx-gdb.exp: Ditto.
923 * gdb.base/a1-selftest.exp: Ditto.
924 * gdb.base/a2-run.exp: Ditto.
925 * gdb.base/break.exp: Ditto.
926 * gdb.base/corefile.exp: Ditto.
927 * gdb.base/list.exp: Ditto.
928 * gdb.base/recurse.exp: Ditto.
929 * gdb.base/scope.exp: Ditto.
930 * gdb.base/signals.exp: Ditto.
932 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
934 * gdb.threads/Makefile.in (docdir): Removed.
936 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
938 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
939 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
941 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
942 autoconf 2.5 or higher.
943 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
945 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
947 * configure: Regenerated.
948 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
949 avoid name clashes with SunOS headers.
951 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
953 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
955 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
957 * gdb.base/callfuncs.exp: Finish last change -- make sure the
958 prototype information ends up in the compiler info file.
960 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
962 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
963 attempting to regenerate it. Eliminate use of a temporary file
964 and just generate the info file directly. Source it immediately,
965 for consistency of use.
966 * gdb.base/corefile.exp: Ditto
967 * gdb.base/exprs.exp: Ditto.
968 * gdb.base/funcargs.exp: Ditto.
969 * gdb.base/langs.exp: Ditto.
970 * gdb.base/list.exp: Ditto.
971 * gdb.base/mips_pro.exp: Ditto.
972 * gdb.base/nodebug.exp: Ditto.
973 * gdb.base/opaque.exp: Ditto.
974 * gdb.base/ptype.exp: Ditto.
975 * gdb.base/scope.exp: Ditto.
976 * gdb.base/setvar.exp: Ditto.
977 * gdb.base/signals.exp: Ditto.
978 * gdb.base/whatis.exp: Ditto.
979 * gdb.c++/templates.exp: Ditto.
980 * gdb.c++/virtfunc.exp: Ditto.
981 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
982 whether or not to add -lstdc++ to the compile command line args.
984 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
986 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
987 it got fixed by the recent lookup_minimal_symbol_by_pc change.
988 Increase timeout, a lot of single stepping might be needed if the
989 target has no hardware watchpoints.
991 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
993 * gdb.base/break.exp: Ignore compiler warnings when compiling
995 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
996 * gdb.base/default.exp: Add h8300 xfails. Handle messages
998 * gdb.base/exprs.exp: Add h8300 xfails.
999 * gdb.base/funcargs.exp: Likewise.
1000 * gdb.base/nodebug.exp: Likewise.
1001 * gdb.base/printcmds.exp: Likewise.
1002 * gdb.base/ptype.exp: Likewise.
1003 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
1005 * gdb.base/return.exp: Handle float/double precision problems
1007 * gdb.base/funcargs.c: Explicitly make last constant argument to
1008 call_after_alloca_subr an unsigned long type.
1009 * gdb.base/return.c: Include stdio.h.
1011 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
1013 * config/abug.exp: New file for the older Motorola Bug monitor
1014 that runs on the mvme13x series VME boards.
1015 * config/monitor.exp: Use the new config array for target settings
1018 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
1020 * sim-gdb.exp: Make the SH simulator allocate less space when
1023 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
1025 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
1028 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
1030 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
1031 "rs6000-*-*" for "list function in include file" when gcc compiled.
1032 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
1033 for "p ctable1[120]".
1034 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
1035 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
1036 Remove setup_xfail for "rs6000-*-*" for
1037 "print 'scope0.c'::filelocal before run".
1038 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
1039 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
1040 since some compilers don't allow both options to be given
1041 on the same command line. Create object file and move it.
1043 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
1045 * gdb.base/corefile.exp: Always regenerate the core file, since
1046 we always regenerate the coremaker program. Detect special case
1047 where registers cannot be read from core file.
1049 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
1051 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
1052 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
1053 * gdb.c++/templates.exp: Only match on basename of file since
1054 some formats like xcoff don't encode directory information.
1055 * gdb.stabs/weird.exp: Use the right sed script for powerpc
1056 and rs6000 AIX xcoff targets.
1057 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
1058 * configure: Regenerate.
1059 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
1060 here, rather than in distclean.
1062 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
1064 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
1065 defined, and use it to compile the test case with -O2. The
1066 native compilation still uses no optimization.
1067 * gdb.base/mips_pro.c: Remove inline assembly code since
1068 it is compiled PIC by default, which results in assembler
1069 warnings that make the testsuite think the compilation
1072 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
1074 * gdb.c++/misc.exp: Add note to message for
1075 "print s.a for foo struct" that this is a known gcc 2.7.2
1078 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
1080 * gdb.base/break.exp: Fix pattern for matching "Delete all
1081 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
1082 setup_xfail for deleting all breakpoints test. Fix various
1083 timeout messages to include "(timeout)".
1084 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
1085 for "p t_float_values2(3.14159,float_val2)".
1086 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
1087 for "continue to call2g" when gcc compiled.
1088 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
1089 "up to foo in langs.exp", "show language at foo in langs.exp",
1090 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
1091 and "show language at fsub in langs.exp".
1092 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
1093 "list line 1 in include file", "list message for lines past EOF",
1094 "list function in include file", "list list0.h:foo", and
1095 "list filename:function; nonexistant function".
1096 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
1097 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
1098 and "ptype t_char_array" to be for native cc only.
1100 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
1102 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
1103 setup_xfail for "print coremaker_bss", "print coremaker_ro",
1104 "print func2::coremaker_local", and "backtrace in corefile.exp".
1106 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
1108 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
1109 "bt in signals.exp". This problem only appears when running
1110 the testsuite, and then only intermittently.
1112 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
1114 * gdb.base/return.exp (return_tests): Differentiate between
1115 two tests of continuing.
1117 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
1119 * */Makefile.in (maintainer-clean): Remove config.log.
1120 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
1121 * gdb.c++/Makefile.in (PROGS): Add inherit.
1122 (clean): Remove *.ci.
1124 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
1126 * gdb.c++/misc.cc: Add test code from Mike Stump.
1127 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
1129 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
1131 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
1132 to "alpha-*-osf2*" and add comment.
1133 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
1134 setup_xfail for "step over execarg initialization" and
1135 "step over corearg initialization".
1136 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
1137 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
1138 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
1139 gcc compiled for "print coremaker_bss", "print coremaker_ro",
1140 "print func2::coremaker_local", and "backtrace in corefile.exp".
1141 * gdb.base/signals.exp: Build and source signals.ci.
1142 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
1144 * lib/gdb.exp: Move verbose statements outside conditionals.
1146 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1148 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
1149 Feb 3 procfs.c change.
1151 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
1153 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
1155 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
1157 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
1158 from dejagnu's apparent default of 10 seconds, which gives random
1159 results when running the tests over NFS on moderately loaded systems.
1160 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
1162 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
1164 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
1165 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
1168 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
1170 * configure.in (CY_AC_PATH_TCLH): Remove.
1171 * configure: Regenerate.
1173 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
1175 * gdb.c++/Makefile.in (clean): Add missing '{'.
1177 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
1179 * lib/gdb.exp: Provide a default value for noinferior.
1181 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
1184 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
1186 * gdb.disasm/hppa.exp: Compile directly into an executable, use
1187 the executable, not the .o to run the tests from.
1189 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
1191 * gdb.base/break.exp: Don't test for program exit or exit status
1192 if $noresults if nonzero.
1193 * gdb.base/langs.exp: Likewise.
1194 * gdb.base/watchpoint.exp: Likewise.
1196 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
1197 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
1198 trying to compile the testcase.
1200 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
1202 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
1203 * gdb.base/signals.exp (continue to handler): Likewise.
1205 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
1207 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
1209 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
1211 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
1213 * gdb.base/corefile.exp: Recognize "not found" as failure
1214 when trying to determine if a core file was generated.
1215 If no core file was generate the first time, try again without
1216 the ulimit -c to work around braindamaged shells.
1218 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
1220 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
1221 [] tests with "test" and enclose string in quotes.
1222 * gdb.stabs/configure: Rebuild
1224 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
1226 Changes in sync with expect:
1227 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
1228 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
1229 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
1230 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
1231 argument to AC_REQUIRE.
1232 * configure: Regenerated.
1234 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
1236 * gdb.base/corefile.exp: When generating a core, discard any
1237 error messages about ulimit not found and the "core dumped"
1238 message from the shell that runs the coredumper.
1240 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
1242 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
1244 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
1245 which sed script to run. Expect failure for v_comb test
1248 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
1250 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
1251 "print func2::coremaker_local" and for "backtrace in corefile.exp"
1253 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
1255 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
1256 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
1257 "sparc-sun-solaris*" xfails for "p v_comb".
1258 * lib/gdb.exp (default_gdb_start): Fix typo.
1259 * gdb.base/corefile.exp: Allow "Core was generated by ..."
1260 messages to not include the full program name that caused
1261 the core dump since some systems (such as solaris) apparently
1262 truncate this path to about 80 characters.
1263 When generating a core file first try increasing the core file
1264 size limit to unlimited since some systems may default it to
1265 zero, and it is harmless to try it. Move the test for failing
1266 to generate a core file to where it will actually get executed.
1267 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
1268 new gdb result from g++ debug info improvements and make old
1269 pattern obsolescent. Also account for size_t differences
1270 (may be int or long).
1271 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
1272 initialization before function call is placed in the delay slot
1273 and thus appears to be skipped over by commands such as "next".
1275 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
1277 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
1279 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
1281 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
1282 input source file; fix code to compile test to deal with this
1284 * gdb.c++/*.exp: Likewise.
1286 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
1288 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
1289 "bt in signals.exp".
1291 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
1293 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
1294 "step over execarg initialization" and
1295 "step over corearg initialization".
1297 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
1299 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
1300 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1302 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
1304 From Rob Savoye (rob@poseidon.cygnus.com)
1305 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
1306 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
1307 configure.in}, gdb.disasm/{Makefile.in, configure.in},
1308 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
1309 configure.in}: Major reworking for autoconfig.
1310 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
1311 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
1313 * config/unix-gdb.exp: Make GDB global.
1314 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
1315 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
1316 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
1317 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
1318 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
1319 term.exp, twice.exp, watchpoint.exp, whatis.exp},
1320 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
1321 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
1322 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
1323 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
1324 pr-8136.exp, result.exp, string.exp, tuples.exp},
1325 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
1326 to returns as necessary, arrange for test to compile own testcase
1328 * lib/gdb.exp: Changes for testsuite to compile own test cases.
1330 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
1332 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
1333 clear_xfail at end of test which might not call either pass or fail.
1334 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
1335 "backtrace through signal handler".
1337 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1339 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
1340 continuing from a job control stop signal.
1341 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
1343 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
1345 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
1346 * gdb.base/corefile.exp: Likewise.
1347 * gdb.base/funcargs.exp: Likewise.
1349 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
1351 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
1352 * config/monitor.exp: Add support for setting baud rate.
1354 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
1356 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
1357 i*86-*-linux* xfails for "backtrace through signal handler".
1358 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
1359 "print func2::coremaker_local".
1360 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
1361 alpha-dec-osf2* xfail for
1362 "delete all breakpoints when none".
1364 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
1366 * gdb.base/break.exp: Change test that deletes all breakpoints
1367 when no user breakpoints are installed. A post 4.15 change
1368 causes gdb to no longer prompt in this case.
1370 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
1372 * gdb.base/return.exp (return_tests): Change xfail for test
1373 "correct value returned double test" to stop xfailing at
1374 Solaris 2.5. Apparently the bug has been fixed.
1376 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
1378 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
1379 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1381 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
1383 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
1384 * gdb.disasm/hppa.s: Corresponding changes.
1386 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
1388 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
1390 * config/mt-hpux: Deleted.
1392 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
1394 * Many files: When warning about suppressed tests due to a
1395 nonexistant test binary, avoid incrementing the warning count.
1397 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
1399 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
1401 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1403 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
1404 "sparc-*-solaris2*".
1406 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1408 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
1409 Add global and local variables and initialize them.
1410 * gdb.base/corefile.exp: Test correct mapping of corefile sections
1411 by printing variables. Remove rs6000 and powerpc xfails, BFD now
1412 extracts the file name and terminating signal from the core file.
1413 * TODO: Remove note about tests for correct mapping of corefile.
1414 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
1415 from optimizing it away.
1416 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
1417 handles common blocks.
1419 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
1421 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
1422 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
1424 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
1426 * Makefile.in (maintainer-clean): New target, synonym for
1428 * gdb.base/Makefile.in (maintainer-clean): Likewise.
1429 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
1430 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
1431 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
1432 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
1433 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
1435 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
1437 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
1438 xfails when not gcc compiled for "print foo::funclocal".
1439 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
1440 "print foo::funclocal at foo",
1441 "print 'scope1.c'::foo::funclocal at foo",
1442 "print foo::funclocal_bss at foo",
1443 "print 'scope1.c'::foo::funclocal_bss at foo",
1444 "print foo::funclocal_ro at foo",
1445 "print 'scope1.c'::foo::funclocal_ro at foo",
1446 "print bar::funclocal at foo" and
1447 "print 'scope1.c'::bar::funclocal at foo".
1448 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
1449 gcc compiled for "print foo::funclocal at bar".
1450 Expand all messages to ensure that they identify that
1451 the test is at bar().
1452 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
1454 "ptype on opaque struct pointer (statically)",
1455 "ptype on opaque struct tagname (statically)",
1456 "ptype on opaque struct pointer (dynamically) 1",
1457 "ptype on opaque struct tagname (dynamically) 1",
1458 "ptype on opaque struct pointer (dynamically) 2" and
1459 "ptype on opaque struct tagname (dynamically) 2
1460 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
1466 "whatis bsslocal", and
1468 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
1469 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
1470 when not gcc compiled.
1471 * gdb.base/funcargs.exp (float_and_integral_args): Add
1472 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
1474 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
1475 "backtrace from call6a" when not gcc compiled.
1476 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
1477 "backtrace from call7a" when not gcc compiled.
1478 * gdb.base/callfuncs.exp (do_function_calls):
1479 Add "hppa*-*-hpux*" xfail when not gcc compiled for
1480 "p t_char_array_values(char_array_val2,char_array_val1)",
1481 "p t_char_array_values(char_array_val1,char_array_val2)",
1482 "p t_char_array_values("carray 1","carray 2")",
1483 "p t_char_array_values("carray 1",char_array_val2)",
1484 "p t_char_array_values(char_array_val1,"carray 2")",
1485 "p sum_args(1,{2})",
1486 "p sum_args(2,{2,3})",
1487 "p sum_args(3,{2,3,4})",
1488 "p sum_args(4,{2,3,4,5})"
1489 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
1490 "backtrace in corefile.exp" when not gcc compiled.
1492 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1494 * gdb.base/signals.exp: Rewrite `handle all print' test as
1495 a procedure. Accept blanks or TABs as whitespace, increase
1496 timeout and expect input buffer size for the large output
1497 from the command. Remove "i*86-*-bsdi2.0" xfail.
1499 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1501 * gdb.base/setvar.exp: Add new testcases for truncation when
1502 assigning invalid values to bitfields.
1504 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
1506 * gdb.base/callfuncs.exp (do_function_calls): Remove
1507 mips-sgi-irix* xfail for
1508 "call inferior func with struct - returns char *"
1509 and fix test so that an optional (unsigned char *) cast is
1510 accepted in the result.
1512 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
1514 * gdb.base/funcargs.exp (float_and_integral_args): Remove
1515 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1516 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
1517 * gdb.base/signals.exp: Remove duplicate "handle all print" test
1518 that accidentally got checked in.
1520 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
1522 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
1523 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
1525 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
1526 Add mips-sgi-irix5* xfail for not gcc compiled.
1527 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
1528 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
1529 "p top", "whatis top", "p middle", and "whatis middle".
1530 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
1531 "whatis signed char" for not gcc compiled.
1532 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
1533 "set variable signed char=-1 (-1)" and
1534 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
1535 * gdb.base/funcargs.exp (float_and_integral_args):
1536 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
1537 Add mips-sgi-irix* xfail when not gcc compiled for
1538 "continue to call2b".
1539 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
1540 "continue to call2g".
1541 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
1542 "backtrace from call6a"
1543 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
1544 "backtrace from call7k".
1545 Add mips-sgi-irix5* xfail when not gcc compiled for
1546 "backtrace from call7a".
1547 (localvars_after_alloca): Fix gdb_test cmds for
1548 "print * after runto ...".
1549 Remove rs6000-*-* xfails for
1550 "print i after runto localvars_after_alloca" and
1551 "print l after runto localvars_after_alloca"
1553 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
1554 when not compiled with gcc, for:
1555 "print signed char == (minus)",
1556 "print signed char != (minus)",
1557 "print signed char < (minus)",
1558 "print signed char > (minus)".
1559 * gdb.base/callfuncs.exp (do_function_calls):
1560 Add mips-sgi-irix* xfail, when compiled with native compiler, for
1561 "call inferior func with struct - returns char *".
1562 * gdb.base/return.exp (return_tests): Change xfail for
1563 "correct value returned double test" to include Solaris 2.4.
1564 * gdb.base/funcargs.exp (float_and_integral_args):
1565 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1567 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1569 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
1570 enumeration bitfields if compiling with GNU C.
1571 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
1574 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
1576 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
1577 test for PRO targets.
1579 * gdb.base/funcargs.exp: Avoid ever setting more than 8
1580 breakpoints in the inferior at any given time by making
1581 two groups of breakpoints for call2*, call6* and call7*
1584 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1586 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
1587 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
1588 from optimizing it away.
1589 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
1590 "call inferior func with struct".
1592 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
1594 * configure.in: Only configure gdb.chill for particular targets.
1596 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
1598 * gdb.base/Makefile.in: Add action to .c.o transformation
1599 rule that generates a .ci file for each .o file and remove
1600 explicit .c.o rules except for callfuncs.o.
1601 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
1602 generates a .ci file for each .o file and remove explicit
1604 (clean): Remove *.tmp *.ci files.
1605 (EXECUTABLES): Remove templ-info.exp.
1606 * gdb.base/compiler.c: New file.
1607 * gdb.c++/compiler.cc: New file
1608 * gdb.base/scope.exp: Source gdb.base/scope.ci.
1609 Change rs6000-*-* xfail for
1610 "print 'scope0.c'::filelocal_ro" and
1611 "print 'scope1.c'::filelocal" and
1612 "print 'scope1.c'::filelocal_bss" and
1613 "print 'scope1.c'::filelocal_ro" and
1614 "print 'scope1.c'::foo::funclocal" and
1615 "print 'scope1.c'::foo::funclocal_ro" and
1616 "print 'scope1.c'::bar::funclocal" and
1617 "print 'scope0.c'::filelocal_ro" and
1618 "print 'scope1.c'::filelocal at foo" and
1619 "print 'scope1.c'::filelocal_bss at foo" and
1620 "print 'scope1.c'::filelocal_ro at foo" and
1621 "print 'scope1.c'::foo::funclocal at foo" and
1622 "print 'scope1.c'::foo::funclocal_bss at foo" and
1623 "print 'scope1.c'::foo::funclocal_ro at foo" and
1624 "print 'scope1.c'::bar::funclocal at foo" and
1625 "print 'scope0.c'::filelocal_ro" and
1626 "print 'scope1.c'::filelocal" and
1627 "print 'scope1.c'::filelocal_bss" and
1628 "print 'scope1.c'::filelocal_ro" and
1629 "print 'scope1.c'::foo::funclocal" and
1630 "print 'scope1.c'::foo::funclocal_bss" and
1631 "print 'scope1.c'::foo::funclocal_ro" and
1632 "print 'scope1.c'::bar::funclocal" and
1633 "print 'scope1.c'::bar::funclocal_bss"
1634 to only be xfail'd when not compiled with gcc.
1635 Add rs6000-*-* xfail for
1636 "print 'scope0.c'::filelocal_bss before run"
1637 when compiled with gcc.
1638 (test_at_main): Add rs6000-*-* xfail for
1639 "print filelocal_ro in test_at_main"
1640 when compiled with gcc.
1641 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
1642 Add rs6000-*-aix* xfail for
1643 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
1644 "ptype t_char_array", not compiled with gcc.
1645 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
1646 xfail for "list foo (in include file)" when gcc compiled.
1647 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
1648 (integral_args): Add rs6000-*-* xfail for
1649 "run to call0a" if not compiled with gcc.
1650 (unsigned_integral_args): Add rs6000-*-* xfail for
1651 "run to call1a" if not compiled with gcc.
1652 (float_and_integral_args): Add rs6000-*-* xfail for
1653 "run to call2a" if not compiled with gcc and for
1654 "continue to call2b" for any compiler.
1655 Add rs6000-*-* xfail to
1656 "print f1 after run to call2a" for gcc compiled.
1657 (discard_and_shuffle): Add rs6000-*-* xfail for
1659 (shuffle_round_robin): Add rs6000-*-* xfail for
1660 "backtrace from call7a" if not compiled with gcc.
1661 Add rs6000-*-* xfail for
1662 "backtrace from call7b" if compiled with gcc.
1663 (call_after_alloca): Add rs6000-*-* xfail for
1664 "print c in call_after_alloca" and
1665 "print s in call_after_alloca" and
1666 "backtrace from call_after_alloca_subr"
1667 if not compiled with gcc.
1668 (localvars_in_indirect_call): Add rs6000-*-* xfail for
1669 "print c in localvars_in_indirect_call" and
1670 "print c in localvars_in_indirect_call" and
1671 "backtrace in indirectly called function" and
1672 "stepping into indirectly called function"
1673 if not compiled with gcc.
1674 (localvars_after_alloca): Add rs6000-*-* xfail for
1675 "print c after runto localvars_after_alloca" and
1676 "print s after runto localvars_after_alloca" and
1677 "print i after runto localvars_after_alloca" and
1678 "print l after runto localvars_after_alloca"
1680 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
1681 than whatis-info.exp.
1682 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
1683 than opaque-info.exp.
1684 Setup rs6000-*-* xfail for
1685 "ptype on opaque struct pointer (statically)" and
1686 "ptype on opaque struct pointer (dynamically)" when
1687 not compiled with gcc.
1688 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
1689 rather than callf-info.exp.
1690 (do_function_calls): Add clear_xfail for rs6000-*-* for
1691 "p t_float_values2(3.14159,float_val2)". Seems to work
1692 fine there, both with xlc and gcc. Need to find out what
1693 it is doing right and fix other platforms.
1694 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
1695 "call inferior func with struct - returns int",
1696 "call inferior func with struct - returns long",
1697 "call inferior func with struct - returns float",
1698 "call inferior func with struct - returns double",
1699 "call inferior func with struct - returns char *",
1700 but only if not gcc compiled (presumes xlc compiled).
1701 Change rs6000-*-* xfails for
1702 "call inferior func with struct - returns char" and
1703 " call inferior func with struct - returns short" to only
1704 xfail if not using gcc.
1705 (clean mostlyclean): Remove *.ci and *.tmp files.
1706 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
1707 than templ-info.exp.
1708 * gdb.base/langs.exp: Source gdb.base/langs.ci.
1709 Add rs6000-*-* xfail for "up to foo in langs.exp"
1710 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
1711 when not gcc compiled.
1713 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1715 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
1716 * gdb.base/corefile.exp: Likewise.
1717 * gdb.base/list.exp: Likewise.
1718 * gdb.base/scope.exp: Likewise.
1719 * gdb.base/siganls.exp: Likewise.
1721 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
1723 * gdb.base/whatis.exp: Likewise.
1725 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
1727 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
1728 failure (opcode table has been fixed to match reality).
1730 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
1732 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
1733 "call inferior func with struct - returns char",
1734 "call inferior func with struct - returns short"
1736 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
1737 "print 'scope0.c'::filelocal at main",
1738 "print 'scope0.c'::filelocal_bss in test_at_main",
1739 "print 'scope0.c'::filelocal at foo",
1740 "print 'scope0.c'::filelocal_bss in test_at_foo",
1741 "print 'scope0.c'::filelocal at bar",
1742 "print 'scope0.c'::filelocal_bss in test_at_bar"
1744 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
1745 in source file 1". This bug seems to have been fixed with both
1746 gcc and native cc (was native assembler bug?).
1748 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
1750 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
1751 "backtrace through signal handler" to "i*86-*-sysv4*".
1752 * gdb.base/signals.exp: Add xfail for "'next' behaved as
1753 continue" case. Add "known SVR4 bug" to fail message.
1754 Add "i*86-*-bsdi2.0" xfail for "handle all print".
1755 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
1756 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
1757 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
1758 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
1759 "up to foo in langs.exp", "show language at foo in
1760 langs.exp", "up to cppsub_ in langs.exp", "show
1761 language at cppsub_ in langs.exp", "up to fsub in
1762 langs.exp", and "show language at fsub in langs.exp".
1763 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
1764 "bactrace in corefile.exp".
1765 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
1766 "call inferior function with struct - returns float" and
1767 "call inferior function with struct - returns double".
1769 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
1771 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
1772 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
1773 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
1774 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
1776 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
1778 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
1779 (or overriden) "CHILL" macro rather then bare "gcc".
1780 Also look for ../../gcc/xgcc since that is what we will
1781 actually need, not "Makefile". Remove following assignment
1782 of CHILL to CHILL_FOR_TARGET because that results in
1783 recursive definition.
1785 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
1787 * gdb.base/corefile.exp: Change xfail for backtrace in
1788 corefile.exp from linuxaout to all linux.
1789 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
1790 cases where we miss the breakpoint at the signal handler
1791 for some reason. Setup xfail for linuxoldld/linuxaout and
1792 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
1793 hitting SIGURG breakpoint.
1794 * gdb.base/signals.exp: Setup xfail for "next" acting like
1795 continue to add linuxoldld. Setup xfail for all linux for
1796 "next to handler in signals_tests_1", "backtrace in
1797 signals_tests_1", "continue to func1", "pass SIGUSR1",
1798 and continue to handler".
1800 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1802 * Update all FSF addresses except those in COPYING* files.
1804 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
1806 * gdb.base/a2-run.exp: Change messages to be more explicit about
1807 the status of args, and quote binfile in results.
1809 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
1811 * gdb.base/callfuncs.exp: Add tests for passing structs to
1812 inferior functions and return various types.
1813 * gdb.base/callfuncs.c: Add functions to receive a struct
1814 and return a member of the struct, in various types.
1816 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1818 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
1820 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
1822 * config/vxworks29k.exp: New file, sources vxworks.exp.
1824 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1826 * config/gdbremote.exp: New file. Testing framework using
1829 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
1831 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
1832 "call function when asleep" and "send end of file".
1833 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
1834 for "backtrace in corefile.exp".
1835 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
1836 for "backtrace through signal handler".
1837 * gdb.base/corefile.exp: Make sure we actually generate a core file
1838 before trying the core tests. Some systems allow the user to suppress
1839 generation of core files and default to that (linux for example).
1840 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
1841 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
1843 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1845 * gdb.threads: New directory with some crude multi-threaded
1846 gdb tests (step.exp and step2.exp).
1847 * config/mt-lynx (STEP_EXECUTABLE): Define.
1848 (THREADFLAGS): Define.
1850 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
1852 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
1854 * gdb.base/signals.exp: Disable whole file for lynx until
1857 * gdb.base/signals.exp: xfail test where "next" acts like
1858 "continue" for lynx.
1860 * gdb.base/interrupt.exp: xfail test for calling function while
1861 inferior is asleep for lynx.
1863 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
1864 than one cr-lf after each command.
1866 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1868 * configure.in: Reinstate setting of stabsdirs variable, fix
1869 typo in setting up configdirs for native builds.
1871 * gdb.base/return.exp: Fix typo in return double test.
1872 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
1873 compiler from optimizing them away.
1875 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
1877 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
1878 sequences to be echo'd by gdb when using gdb_test.
1879 * gdb.chill/chexp.exp: Likewise.
1880 * gdb.fortran/exprs.exp: Likewise
1882 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1884 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
1885 after the inferior gdb has started.
1887 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
1889 * gdb.base/funcargs.exp: Likewise.
1890 * gdb.base/gdbvars.exp: Likewise.
1891 * gdb.base/interrupt.exp: Likewise.
1892 * gdb.base/list.exp: Likewise.
1893 * gdb.base/watchpoint.exp: Likewise.
1894 * gdb.c++/demangle.exp: Likewise.
1895 * gdb.c++/inherit.exp: Likewise.
1896 * gdb.chill/chexp.exp: Likewise.
1897 * gdb.fortran/exprs.exp: Likewise.
1899 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
1900 test if we can't handle IO to/from the inferior.
1902 * gdb.c++/misc.exp: Always check for a program already being
1903 started after sending a "run" command to gdb.
1905 * gdb.base/twice.exp: Start with a fresh gdb.
1907 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
1908 only depend on gdb's expression code, not the chill runtime.
1910 * gdb.base/return.c: Put return values into variables so we
1911 can have gdb print them rather than depending on the program
1913 * gdb.base/return.exp: Corresponding changes.
1915 * lib/gdb.exp: Provide default value for noinferiorio.
1916 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
1919 * gdb.base/break.exp: Always check for a program already being
1920 started after sending a "run" command to gdb.
1921 (text_next_with_recursion): Don't check the output from the
1922 program's printf statement. Instead just make sure the program
1925 * gdb.base/commands.exp: Protect tests which need arguments with
1926 $noargs conditionals.
1928 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1930 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
1931 of structure member arrays to match gdb/valops.c:value_addr change.
1933 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
1935 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
1938 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
1940 * configure.in (configdirs): Remove gdb.chill from default list
1941 of subdirs and then add it back in only if doing a native build.
1942 The current chill compiler does not yet work in any cross build.
1943 * Revert all signal changes from Jul 6.
1944 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
1945 for sh-hms targets, allowing these tests to link, with no other
1946 changes. Testing is suppressed by setting "nosignals" in site.exp.
1948 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
1950 * configure.in (signaldirs): Define and add to configdirs for all
1951 targets except some specific ones that are known to not support signals.
1952 Also clean up formatting.
1953 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
1954 (signals, sigall): Remove rules to build.
1955 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
1956 Moved to new gdb.signals directory.
1957 * gdb.signals: New test directory.
1958 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
1959 signals.c signals.exp}: New or moved files.
1961 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
1963 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
1965 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
1967 * gdb.base/return.exp: Xfail `return double' test failure
1968 on at least Solaris 2.3 and handle future/past versions on
1969 a case by case basis as appropriate. Also update message
1970 to include i*86 failures.
1972 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1974 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
1976 * lib/gdb.exp: Fix comment which erroneously identified
1977 gdb_file_cmd as gdb_load (the 19 May change was in fact to
1978 gdb_file_cmd not gdb_load).
1979 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1981 * gdb.base/setvar.exp: Make test names consistent between pass and
1982 fail cases. Use gdb_test more.
1984 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1986 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
1988 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1990 * gdb.base/help.exp: Fix expected help string for `show commands'.
1992 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1994 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
1996 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
1999 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
2001 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
2002 that loop eventually terminates. Fix Connection refused logic so
2003 that testsuite will expire nicely.
2005 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
2007 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
2008 config/rom68k.exp: New tcl glue for the appropriate monitors.
2009 These all just end up calling monitor.exp.
2010 * config/monitor.exp (gdb_target_monitor): Handle `Connection
2011 refused' by retrying. Cleanup some timeout issues.
2012 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
2013 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
2014 callers don't have to set/restore global timeout variable.
2016 * The following set of changes centralizes management of the global
2017 timeout variable. This way, it can be set in one target dependent
2018 place instead of dozens of places scattered throughout the test suite.
2019 If you need to lengthen a timeout, then you should either set timeout
2020 in one of the config/{target}.exp files, or multiply it by a factor.
2021 Setting it to an absolute value is always going to lose for some
2023 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
2024 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
2025 * gdb.base/funcargs.exp: Don't set timeout.
2026 * gdb.base/list.exp (test_forward_search): Only use local timeout.
2027 * gdb.base/printcmds.exp (test_print_string_constants
2028 test_print_array_constants): Don't set timeout.
2029 * gdb.base/ptype.exp: Don't set timeout.
2030 * gdb.base/recurse.exp: Don't set timeout.
2031 * gdb.base/return.exp: Don't set timeout.
2032 * gdb.base/watchpoint.exp: Don't set timeout.
2033 * gdb.c++/classes.exp (do_tests): Don't set timeout.
2034 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
2036 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
2038 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
2040 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2042 * lib/gdb.exp: Disable chill tests for irix5.
2044 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2046 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
2047 each test pass or fail.
2049 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2051 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
2054 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
2056 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
2058 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
2060 * config/est.exp: Fix copyright and comments. Remove dead code.
2061 Use targetname, serialport and baud variables instead of fixed
2063 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
2064 * config/cpu32bug.exp: New file to support cpu32bug monitors.
2066 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2068 * gdb.base/watchpoint.exp: Don't run
2069 test_watchpoint_triggered_in_syscall for sunos.
2071 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2073 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
2074 they don't seem to exist. Do include stdio.h.
2076 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2078 * gdb.base/a1-selftest.exp: Add alpha xfail.
2080 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2082 * gdb.base/watchpoint.c (main): Prompt before calling read().
2083 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
2084 Revise accordingly. Remove cruft about sending "123" several
2085 times, until it gets noticed. Clean up the "print buf[0]" stuff
2086 so that it passes or fails, and waits for prompts in the usual way.
2088 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2090 * gdb.base/recurse.exp: Fix comment.
2092 * TODO: Remove item about printing variables in nodebug.exp. Add
2093 item about enabling tests which are only run on some targets.
2095 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
2096 fail, make test names unique, use new gdb_test convention
2097 regarding pattern, use gdb_test more, etc.).
2099 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
2100 fail, make test names unique, etc.).
2102 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2104 * gdb.base/nodebug.c: Change return type of top and middle to
2106 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
2107 are fixed by the recent mdebugread.c changes. Allow `short ()'
2108 as type for top and middle.
2110 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2112 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
2113 nearly as I can tell, the whole thing was an accident in Stu's
2114 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
2115 to replace a send/expect pair with gdb_test, but ended up only
2116 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
2117 of 30 Mar 1995 took care of it, but left this vestigial comment
2118 which I am now nuking.
2120 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2122 * gdb.base/break.exp: Look for different line number for
2123 breakpoint at main depending on usestubs.
2125 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2127 * gdb.base/list.exp: Adjust some alternate expect patterns to
2128 match recent list0.c change. Add alternate expect pattern for
2129 output from `list default lines around main' for optimizing
2132 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2134 * lib/gdb.exp: If nosignals is not set, set it to 0.
2136 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
2138 * config/slite-gdb.exp: Responds to load symbol table prompt.
2139 * gdb.base/break.exp: Adjust line number, fix rerun.
2140 * gdb.base/langs0.c: Add #ifdef usestubs.
2142 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
2144 * gdb.base/list.exp: Adjust line contents after adding new lines in
2145 list0.c. Also fix a syntax error.
2147 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
2148 * gdb.base/break.exp: ditto.
2149 * gdb.base/list.exp: ditto.
2150 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
2151 * gdb.base/run.c: ditto.
2152 * gdb.base/list0.c: ditto.
2153 * gdb.base/funcargs.c: ditto.
2155 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
2157 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
2158 $targetname, $serialport and $baud instead of hardwired variables.
2159 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
2160 target doesn't support signals.
2162 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
2164 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
2166 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2168 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
2169 Don't rely on the value of an auto variable before it has been
2170 initialized. Use gdb_test more.
2172 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2174 * lib/gdb.exp (default_gdb_version): A version number must start
2175 with a digit, but other than that contains all characters up to
2176 the first whitespace character.
2178 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2180 * gdb.base/commands.exp (breakpoint_command_test): New tests.
2182 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2184 * gdb.c++/*.exp: Warn if executable does not exist. The original
2185 reason for skipping the warning was that configure.in sometimes
2186 intentionally skipped building the executables but the tcl code
2187 had no way of knowing. That (a) was always bogus with respect to
2188 error handling, (b) is no longer true (right now there is no way
2191 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
2193 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2195 * gdb.base/list.exp: Add expect patterns for output from
2196 SunPRO compiled executables.
2197 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
2200 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2202 * gdb.base/break.exp (test_next_with_recursion): Accept any line
2203 number (we are already testing that the correct source line text
2206 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
2207 that is what is intended, but something needed to be done to get
2208 sunos4 native working again.
2210 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
2212 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
2213 apparently went with a (very) old xfail.
2215 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
2217 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
2218 runto_main is a proc in gdb.exp that will do 'step' for target use
2220 * gdb.base/exprs.exp: ditto.
2221 * gdb.base/interrupt.exp: ditto.
2222 * gdb.base/opaque.exp: ditto.
2223 * gdb.base/printcmds.exp: ditto.
2224 * gdb.base/ptype.exp: ditto.
2225 * gdb.base/scope.exp: ditto.
2226 * gdb.base/setvar.exp: ditto.
2227 * gdb.base/signals.exp: ditto.
2228 * gdb.base/twice.exp: ditto.
2229 * gdb.c++/classes.exp: ditto.
2230 * gdb.c++/inherit.exp: ditto.
2231 * gdb.c++/templates.exp: ditto.
2232 * gdb.base/break.exp: no run and hit main for stubs. Change line
2233 numbers for breakpoints and info breakpoint.
2234 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
2236 * gdb.base/callfuncs.c: ditto.
2237 * gdb.base/exprs: ditto.
2238 * gdb.base/interrupt.c: ditto.
2239 * gdb.base/opaque0.c: ditto.
2240 * gdb.base/printcmds.c: ditto.
2241 * gdb.base/ptype.c: ditto.
2242 * gdb.base/scope0.c: ditto.
2243 * gdb.base/setvar.c: ditto.
2244 * gdb.base/signals.c: ditto.
2245 * gdb.base/twice.c: ditto.
2246 * gdb.c++/misc.cc: ditto.
2247 * gdb.c++/templates.cc: ditto.
2249 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2251 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
2253 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
2254 somewhere between `read' and `main.c'. I'm pretty sure the
2255 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
2256 and it isn't particularly useful.
2258 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
2260 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2262 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
2264 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
2266 * config/mt-slite: add LIBS and -nostdlib.
2267 * config/slite-gdb.exp: add this new file to support sparclite target.
2269 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
2271 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
2273 * gdb.base/a2-run.exp: Change argument to istarget from
2274 "*-*-vxworks" to "*-*-vxworks*".
2275 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
2277 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
2279 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
2280 will not runto main but do a 'step' to step out of breakpoint().
2281 * config/mt-slite: add -Dusestubs.
2283 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2285 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
2288 * gdb.base/signals.exp: Add test for "handle all print".
2289 * TODO: Remove "handle all print". Also remove item about
2290 checking copyright date (I don't like the idea of a spurious FAIL
2291 based on when we run the tests).
2293 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
2294 for SunOS4 (reason for failure not investigated). Remove
2295 redundant test for $binfile.
2297 * gdb.base/nodebug.c (array_index): Call malloc.
2299 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
2301 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
2303 * gdb.base/recurse.exp: Update gdb_test invocation to use new
2304 conventions and slightly simplify the matching regexp.
2306 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2308 * gdb.base/break.exp: Update gdb_test invocation to use new
2311 * lib/gdb.exp: If noargs is not set, set it to 0.
2313 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
2316 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
2318 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2320 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
2321 one argument of type "<non-float parameter>".
2323 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
2325 * config/rom68k.exp: New file to support Motorola IDP board.
2326 * gdb.base/a2-run.exp: Skip this file if noargs is set.
2327 * gdb.base/break.c: Change things around so that this program
2328 doesn't depend upon args. This is necessary to make remote
2329 targets work (in general, they can't take args).
2330 * gdb.base/break.exp: Don't try to send args to program. Don't
2331 expect output. Also, replace lots of code with gdb_test.
2333 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2335 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
2336 printing of '\'' (which is what the comment says we are testing,
2337 even though we were not), not '''.
2338 (test_integer_literals_rejected): Test that printing ''' is an error.
2340 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2341 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
2342 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
2343 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
2344 Use gdb_test not test_print_accept.
2345 * lib/gdb.exp: Remove test_print_accept.
2347 * gdb.base/signals.exp (signal_tests_1): Make pass message
2348 consistent with fail message.
2350 * gdb.base/whatis.exp: Remove xfails for printing char vs.
2351 unsigned char; the bug (PR 1821) is fixed.
2353 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
2355 * gdb.base/scope.exp (test_at_localscopes): Call pass for
2356 successful tests--makes xfailing them work right.
2358 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2360 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
2361 only \r\n, not .*. The test can pass .* as the last thing in
2362 $pattern if that is what it wants. In addition to providing this
2363 flexibility, this change should speed up pattern matching in cases
2364 where the pattern already ended with .* (there were a number of
2365 them). This change also helps catch bad patterns--in the old
2366 scheme the typo "char \*" instead of "char \\*" would pass. Now
2368 * Many .exp files: Update callers.
2370 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
2371 clearer and does not spuriously match multiple ('s. Likewise for
2374 * gdb.base/nodebug.exp: Test ability to call a function and pass
2375 it a string (even with no debugging info).
2377 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
2378 "p '\'", which is the same as "p ''" once tcl gets done with
2379 quoting, to "p '\\'", which I suspect is what is intended (one
2380 backslash gets sent to GDB).
2382 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
2384 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2386 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
2387 1817) was fixed literally years ago.
2389 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2391 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
2392 test, it causes stepping out of call_after_alloca_subr with
2393 optimizing compilers.
2394 (localvars_in_indirect_call): Consume GDB prompt if `finish'
2397 * gdb.c++/templates.exp: Source templ-info.exp only if
2398 the templates executable exists.
2400 * gdb.c++/misc.cc (class Contains_static_instance,
2401 class Contains_nested_static_instance),
2402 gdb.c++/classes.exp (test_static_members): Test printing of
2403 a class that contains a static instance of the class.
2405 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2407 * gdb.base/langs2.c (cppsub_): Don't prototype.
2408 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
2411 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2413 * lib/gdb.exp (skip_chill_tests): New procedure.
2415 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
2417 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
2419 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
2420 each expect pattern. Cuts runtime from 12 to about 4 seconds.
2422 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2424 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
2426 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
2427 disassemble 8, not 16, instructions for part 4.
2429 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
2430 support the latter anymore.
2432 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
2434 * gdb.base/callfuncs.c: Control use of prototypes based on
2435 NO_PROTOTYPES, not __STDC__.
2436 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
2437 t_float_values2 tests if prototypes in use.
2439 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
2440 t_double_values): When checking differences against DELTA, check
2441 that difference is within the range (-DELTA,DELTA), not just
2444 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
2446 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
2447 'file' command firts, then 'target', then 'load', this is due to gdb
2449 * config/mips-gdb.exp: Fix a couple regular exp bugs.
2451 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
2453 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
2454 FP load/store variants.
2455 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
2457 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2459 * gdb.base/term.exp: Do not give a warning if not native, it is
2460 not an abnormal condition.
2462 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
2464 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
2467 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2469 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
2470 are getting the version number.
2472 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
2473 if not native, it is not an abnormal condition.
2475 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2477 * lib/gdb.exp: Just use "file exists", rather than undocumented
2478 dejagnu procedure "findfile".
2480 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2482 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
2483 (LDFLAGS): Set to -Xlinker -Ur.
2485 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
2486 Removed, these values are set by lib/gdb.exp.
2488 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
2490 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2492 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
2493 of replicating gdb startup code.
2495 * config/mt-vxworks (LDFLAGS): Set to -r.
2496 (CFLAGS_FOR_TARGET): Removed.
2498 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
2499 (gdb) and gdb for vxworks uses (vxgdb).
2501 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
2502 executable is not in the tree and host != target, use sed and
2503 program_transform_name to determine the gdb name used by the
2506 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
2507 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
2509 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2511 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
2512 floats, chars, and shorts where there are ANSI-style function
2515 * gdb.base/langs.exp, gdb.base/langs*: New test.
2516 * gdb.base/Makefile.in: Build it.
2517 * TODO: Remove item about checking that C names don't get C++
2518 demangling applied; this test tests it.
2520 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2522 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
2523 went with the const70 xfail. The xfail went away a year ago.
2525 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
2527 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
2530 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
2532 * gdb.base/a1-selftest.exp: Don't run on hp300.
2534 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2536 * Makefile.in (site.exp): Set host_alias and target_alias as well
2537 as host_triplet and target_triplet.
2539 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2541 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
2543 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
2544 places as other ecoff systems).
2546 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
2549 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2551 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
2553 * gdb.base/nodebug.exp: Accept "function" in addition to "text
2554 variable and "variable" in addition to "data variable".
2555 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
2557 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
2559 * gdb.base/list1.c (long_line): Add additional statement at start
2561 * gdb.base/list.exp (test_forward_search): Update line number to
2562 reflect new statement.
2564 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2566 * gdb.base/signals.exp: Reinitialize searched source directories
2567 after gdb_start call.
2569 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
2571 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
2572 * gdb.stabs/Makefile.in: Likewise.
2574 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
2575 change. Instead split the tests into smaller pieces.
2576 * gdb.disasm/hppa.s: Corresponding changes.
2578 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2580 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2581 Quote ^C when passing it to stty. For some shells ^ is a pipe.
2583 * gdb.base/funcargs.exp: Modify many tests so that every test
2584 either passes or fails. Make some test names unique.
2586 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2588 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2589 Call stty to set interrupt character.
2591 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
2592 for HP assembler versus GNU assembler based on actual behavior of
2593 $(CC), rather than assuming that $(AS) is always the GNU assembler.
2595 * TODO: Suggest a few more stepping tests.
2597 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
2599 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
2600 restart GDB for h8300 after a continue.
2601 (return): Add pattern to match a29k-udi behavior.
2602 * gdb.base/nodebug.exp: Remove obsolete comment.
2603 * gdb.base/regs.exp: New file, testing of register displays.
2604 * gdb.base/return.exp: Fix typo in reference to $objdir.
2605 * gdb.base/whatis.exp: Always start with a fresh GDB.
2607 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2609 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
2610 higher, these tests generate a lot of output.
2612 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2614 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
2615 code following the catch silently ignored some errors; without the
2616 catch they should be thrown like any other tcl error. Also, the
2617 catch used "" instead of {} which meant all the callers who wanted
2618 to include one of the characters "[]$ had to quote it an extra time.
2619 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
2620 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
2621 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
2622 Remove extra quoting.
2624 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
2626 * gdb.base/commands.exp: Make test names unique; every test either
2627 passes or fails. Update some comments.
2629 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
2631 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2633 The following fixes a FAIL caused by the fact that the alpha stabs
2634 configuration didn't use the ".if alpha" code in weird.def.
2635 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
2636 bit pointer, so the 32 bit version works even on the alpha.
2637 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
2638 Remove the stuff which allowed us to have separate versions for
2639 alpha and everything else.
2641 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
2642 regexp which "info func operator\[\](" is supposed to match. Fix
2643 string to send to GDB. Note that GDB still doesn't work right. Add a
2644 new test for "info func .perator\[\](" which GDB does handle correctly.
2646 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
2648 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2650 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
2651 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
2652 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
2653 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
2654 it makes the tests harder to understand and confuses test-o-matic.
2655 The preferred style is that each test provides a PASS or a FAIL,
2656 and has a unique message (e.g. "continue #54" not just "continue")
2657 which is the same for the pass and the fail.
2658 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2659 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
2661 * gdb.base/printcmds.exp: Use test_print_accept. Remove
2662 prt_accept which was basically the same thing. Likewise for
2663 test_print_reject and prt_reject.
2664 * lib/gdb.exp (test_print_reject): Add some more error message
2665 patterns to match from the former printcmds.exp (prt_reject).
2666 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
2667 One defect of the passcount stuff is that some of it failed to
2668 report XPASS where appropriate.
2669 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
2670 stuff before and after arg in expected pattern.
2671 (test_paddr_operator_functions): Re-do test without print_addr_of;
2672 this is the only test which seems to want extra stuff there.
2674 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2676 * gdb.base/nodebug.exp: Update new tests to reflect improved
2677 wording of gdb output.
2679 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
2680 and "ptype" work on variables in files compiled without -g.
2681 Replaces commented out "maint print msymbol" tests.
2683 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2685 * gdb.base/setvar.c (dummy): Call malloc.
2687 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
2688 losing with the irix4 sed.
2690 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
2693 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2695 * TODO: Remove items about corefile.exp testing new exec-file and
2696 backtrace; both are now done. Add items about printing enums.
2698 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2700 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
2701 "get signal $thissig" test fails.
2703 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
2705 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2707 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
2708 compiler warning with dec alpha compiler.
2710 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
2711 extra \n from gdb_test call (this explains why the prompt test
2712 that I removed yesterday was there).
2713 (user_defined_command_test): Remove extra \n and prompt test.
2715 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
2716 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
2718 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
2719 Also remove alpha workaround, which turns out to be because
2722 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
2724 * gdb.base/help.exp: Don't test "help show".
2726 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2728 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
2729 "set print address" is on.
2730 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
2731 pass prompt to gdb_test; gdb_test already looks for the prompt.
2733 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
2735 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
2736 was a vestige of the manual TESTSTRATEGY, and the purpose of it
2737 was to make sure that gdb can read a core file. But (a) the "read
2738 the corefile" part didn't make it to a1-selftest.exp, we just
2739 delete the corefile after creating it, and (b) we test reading
2740 corefiles in corefile.exp anyway. Also, this test left around a
2741 xgdb process on Solaris.
2743 * gdb.base/corefile.exp: Also test backtrace.
2745 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
2747 * gdb.base/commands.exp: Test a simple user defined command with
2748 arguments and if/while statements; verify the full user command is
2749 printed by "show user".
2751 * gdb.base/commands.exp: Test if/while commands as part of a
2752 breakpoint command list; verify they appear in breakpoint
2755 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2757 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
2758 than by dividing by zero.
2760 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
2762 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
2763 performing an inferior call with watchpoints enabled.
2764 * gdb.base/watchpoint.c (main): Delete second unnecessary read
2767 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2769 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
2772 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
2773 Add additional pattern for when "int operator int(void);" appears
2774 in a different order.
2776 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2778 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
2780 * gdb.base/help.exp: Replace most of docstrings for "info signals"
2781 and "signal" with ".*".
2783 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2785 * TODO: Add note about "handle all nostop".
2787 * gdb.base/{sigall.c, sigall.exp}: New test.
2788 * gdb.base/Makefile.in: Add it.
2790 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
2792 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
2793 when invoking GDB, suppresses any windowing interface.
2795 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
2797 * config/sim-gdb: New file, simulator testing support.
2799 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
2801 * gdb.base/interrupt.exp: Test calling func1 twice.
2803 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
2805 * gdb.base/list.exp (test_forward_search): Set timeout higher
2806 when we'll be getting lots of output from gdb.
2808 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
2809 "init_malloc" to after the expect statement. Run it if that
2810 regexp is taken, but also for two others which happen if source
2813 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2815 * gdb.base/printcmds.exp: New test, for printing register before
2818 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2820 * gdb.base/list.exp: Correct some alternate expect patterns
2821 to reflect changes in list1.c.
2823 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2825 * TODO: Add item regarding large frames.
2827 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
2829 * TODO: Remove item about enabling return.exp; it
2830 is enabled. Suggest a few more "return" tests.
2832 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2834 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
2837 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2839 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
2840 and pr-5646.o, so "make" is the same as "make all", not "make
2843 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
2845 * gdb.base/list.exp: Adjust expectations to reflect changes in
2847 (test_forward_search): New test proc.
2848 * gdb.base/list1.c (long_line): New function, has long source line.
2850 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
2852 * gdb.base/a1-selftest.exp: Change initial stepping to know about
2853 additional line of code that was added.
2855 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
2857 * gdb.disasm/hppa.s: Break the large branching tests into smaller
2858 tests so as not to overflow expect's input buffers.
2859 * gdb.disasm/hppa.exp: Corresponding changes.
2861 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2863 Beginnings of template debugging tests.
2864 * gdb.c++/templ-info.cc: New file to test for template
2865 debugging capability of the compiler.
2866 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
2868 * gdb.c++/templates.cc: Add explicit template instantiations
2869 to enable compiling with -fno-implicit-templates. Add destructor
2870 and 'value' method to T5 class for template tests.
2871 * gdb.c++/templates.exp: Add testcases for printing of template
2872 types, setting breakpoints on template methods and calling a
2875 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
2877 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
2878 branch target since some assemblers (gas-2.5) may emit a
2879 relocation for the branch instead of resolving it in the
2882 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2884 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
2885 through signal handler.
2887 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2889 * configure.in (*-*-netware): Use config/mt-netware.
2891 * config/mt-netware: New file.
2892 * config/mt-i386-netware: Removed, separate configs for different
2893 netware architectures are no longer needed now that we have
2896 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2898 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
2899 by the recent changes to use ANSI C arithmetic conversions.
2901 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2903 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
2904 bug involving using inferior_pid to figure out whether to select a
2907 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
2909 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
2910 match the current disassembler output.
2912 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
2914 * gdb.fortran/exprs.exp: Expect VOID instead of void.
2915 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
2916 types, expect "int" as type of integer values (for now).
2918 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
2920 * gdb.base/commands.exp: New tests for if/while commands.
2922 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
2924 * lib/gdb.exp (runto): Replace sub-pattern for hex value
2925 by .*, since hex values have different syntax in Chill mode.
2927 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2929 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
2930 linefeed from expect pattern for repeated types with indices > 9.
2932 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
2934 First part of Fortran test suite.
2935 * gdb.fortran: New directory.
2936 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
2938 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2940 * gdb.base/default.exp: Update expect pattern for load command
2943 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2945 * configure.in: Change i386 to i[345]86.
2946 * gdb.base/configure.in: Likewise.
2947 * gdb.c++/configure.in: Likewise.
2948 * gdb.chill/configure.in: Likewise.
2950 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2952 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
2953 patterns, since that is not a valid context for comments.
2955 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
2957 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
2958 repeated types and repeated types with indices > 9.
2960 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
2962 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
2963 2417; old bug has been fixed.
2965 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
2967 * gdb.base/interrupt.exp: When trying to wake up the inferior,
2968 send the newline ourselves instead of assuming gdb_test will do
2969 so when passed an empty input string.
2971 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
2974 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2976 * lib/gdb.exp (gdb_test): Don't send anything if the first
2977 argument is an empty string. This makes cases where we want to
2978 match output that is already in expect's buffers (for example,
2979 matching a breakpoint after gdb_run_cmd has been called) work
2982 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2984 * config/netware.exp: New file.
2986 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2988 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
2989 the -B and -L prefixes so we can find the debugging stub.
2991 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
2992 there and we are using the gcc from the tree.
2994 * gdb.base/types.c: Removed.
2996 * gdb.base/configure.in: Look for makefile fragments in ../config.
2997 Recognize i386-*-netware.
2998 * gdb.c++/configure.in: Likewise.
3000 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3002 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
3003 the correct TCL syntax.
3005 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3007 * gdb.base/opaque.exp: use runto instead of messing around with
3008 breakpoints. Simplify by using gdb_test.
3010 * gdb.base/bitfields.exp: restart between tests on netware targets
3011 because breakpoints aren't relocated after target death. Run
3012 processes to completion.
3014 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
3016 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
3018 * Makefile.in: Remove extra tabs that confuse some versions
3019 of "make". Use the newly built gdb to test with by default,
3020 rather than the first one in the tester's search path.
3022 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
3024 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
3026 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
3029 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3031 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
3033 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
3035 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
3036 * gdb.base/funcargs.exp: Likewise.
3038 * gdb.base/bitfields.exp: Simplify by using gdb_test.
3039 * gdb.base/funcargs.exp: Likewise.
3041 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
3044 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3046 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
3047 return,signals,twice}.exp: Handle non-existant binaries
3050 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
3051 * gdb.base/Makefile.in: Don't try to generate a core dump, we
3052 might testing a cross development system.
3054 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3056 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
3057 runtest script is relative to ${srcdir}, not ${rootdir}.
3059 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
3061 * gdb.base/signals.exp: Allow for optionality of breakpoint
3064 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3066 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
3068 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3070 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
3071 for size_t definition.
3072 * gdb.c++/templates.cc: Likewise
3074 * config/mt-i386-netware: New file.
3076 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
3079 * gdb.base/Makefile.in: Added support for systems that name core
3080 files by appending "core" to the program name.
3081 * gdb.base/a1-selftest.exp: Likewise.
3083 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3085 * gdb.base/return.exp: Add comment and message for `return double'
3086 test failure on Sparc Solaris.
3088 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
3090 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
3092 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3094 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
3095 from optimizing them away.
3096 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
3097 patterns to include default constructors and assignment operators,
3098 to match gcc versions beyond 2.5.8. Accept any cplus demangling
3099 character in the output of the virtual base pointer.
3101 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3103 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
3104 expression match in print_addr_of to avoid unintented matches.
3105 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
3106 versions up to 2.5.8.
3108 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3110 * gdb.base/list.exp: Tweak alternate pattern for listing of an
3111 included file to run under newer versions of expect.
3112 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
3113 consecutive >'s in templates to accomodate recent cplus-dem.c change.
3114 Remove xfail for the virtual table of BDDHookV.
3116 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
3118 * lib/gdb.exp (string_to_regexp): Set a default result.
3119 (default_gdb_start): Fix misleading message.
3121 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
3123 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
3124 Remove all CC, etc definitions.
3125 * config/mt-hpux: New file.
3126 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
3127 (CFLAGS, LDFLAGS): Define.
3128 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
3130 * Makefile.in (site.exp): Don't insert host_os, etc.
3131 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
3132 (distclean): Check existence of subdir.
3133 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
3134 * gdb.base/Makefile.in: General cleanup and simplification.
3135 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3136 to build executables. Use default rule to build .o files.
3137 (EXPECT, RUNTEST, CC): Fix relative pathname.
3138 (site.exp): Don't insert host_os, etc.
3139 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
3140 and/or SIGUSR1 defined.
3141 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
3142 * gdb.c++/Makefile.in: General cleanup and simplification.
3143 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3145 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
3147 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
3149 * gdb.base/recurse.exp: Misc changes to get tests running again
3150 after Kung's changes to the watchpoint code.
3151 * gdb.base/watchpoint.exp: Likewise.
3153 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
3155 * lib/gdb.exp (string_to_regexp): Convert {\} also.
3157 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
3159 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
3160 * lib/gdb.exp (default_gdb_start): Define.
3161 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
3162 gdb.base/funcargs.exp, gdb.base/opaque.exp,
3163 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
3164 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
3165 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
3166 Don't call gdb_target_udi in between tests.
3168 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3170 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
3171 (which was basically just a local version of the same thing). In
3172 addition to avoiding duplication, gdb_test_exact is faster.
3173 * lib/gdb.exp (gdb_test_exact): Fix typo.
3175 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
3176 don't give an error.
3178 * gdb.base/term.exp: Call delete_breakpoints before starting.
3180 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
3183 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3185 Reorganization of the GDB Test Suite.
3187 * gdb.base: New directory, contains all the basic tests.
3188 * gdb.c++: New directory, tests specific to C++.
3189 * gdb.chill: New directory, tests specific to Chill.
3190 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
3191 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
3192 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
3193 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
3194 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
3196 * */gdbme.*: Rename to match appropriate expect scripts.
3197 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
3198 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
3199 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
3200 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
3201 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
3202 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
3203 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
3204 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
3205 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
3206 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
3207 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
3208 gdb.c++/virtfunc.cc: New names of C++ files.
3209 * gdb.chill/chillvars.ch: New name of Chill file.
3210 * gdb.base/configure.in, gdb.c++/configure.in,
3211 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
3212 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3213 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
3214 * configure.in (configdirs): Update to reflect directory changes.
3215 (target_abbrev): No longer define for any configuration.
3216 * Makefile.in: Cosmetic improvements to header comments.
3218 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
3220 Various changes to gdb.t31:
3222 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
3223 * gdbme.ch: Make all key-words and predefineds be upper-case.
3224 * chillvars.exp: Expect key-words and predefinds in upper-case.
3226 * chillvars.exp: Use gdb_test_exact many places.
3227 Change expected output for arrays (which now includes index labels).
3229 * pr-5020.exp, gdme.ch (module PR_5020):
3230 New test, for PR-5020.
3232 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
3234 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
3235 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
3237 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
3239 * Makefile.in: Fix bit-rot in definitions of CHILL,
3240 CHILL_FOR_TARGET and Chill_LIB.
3241 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
3242 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
3243 CHILL, and CHILL_LIB.
3245 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
3247 * Revert the previous changes. Please see Rob's directory
3248 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
3250 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
3252 * Makefile.in, configure.in, config/mips-gdb.exp,
3253 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
3254 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
3255 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
3256 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
3257 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
3258 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
3259 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
3260 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
3261 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
3262 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
3263 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
3264 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
3265 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
3266 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
3267 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
3270 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
3272 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
3273 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
3274 Rob's new testing fragments.
3276 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
3278 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
3279 lib/gdb.exp: Replace error proc calls with perror.
3281 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3283 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
3284 version also, match on casted version strings, and match on
3285 gdb startup case where the line numbers might be messed up.
3287 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
3289 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
3290 (CFLAGS): Delete it from here.
3292 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
3294 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
3296 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
3298 * Makefile.in (RUNTEST): Default to just "runtest".
3300 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3302 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
3303 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
3304 the code has been restructured.
3306 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3308 * gdb.t00/default.exp (set write): Allow any number of \r and/or
3309 \n, not just one of each.
3311 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
3312 /bin/cc gives a warning if you do.
3314 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
3316 * gdb.t24/demangle.exp: change expect pattern of
3317 __t10ListS_link1ZUiRCUiPT0
3319 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3321 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
3322 on local variables in recursive functions.
3324 * gdb.t07/Makefile.in: Build the new test.
3326 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3328 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
3329 directly. Instead compare the return values from actual calls.
3331 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
3333 * Makefile.in (check): Set TCL_LIBRARY for runtest.
3335 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3337 * From Peter Schauer with minor modifications.
3338 * gdb.t15/return.exp (return_tests): Handle targets where "return"
3339 stops in mid-line in the caller. Add xfail for returning a float
3340 value on X86 targets.
3342 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3344 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
3345 to avoid expect lossage.
3346 (fmem_LRbug_tests): Likewise.
3347 * gdb.disasm/hppa.s: Corresponding changes.
3349 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
3350 conditions to work with latest dejagnu/expect.
3352 * gdb.t15/funcargs.exp (finish from indirect call): No longer
3353 expected to fail on the PA.
3354 (backtrace in call with trampolines): Explicitly require main
3355 to be frame #1 (no trampolines should show up in backtrace).
3357 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
3359 * gdb.t06/break.exp: Likewise.
3360 * gdb.t07/watchpoint.exp: Likewise.
3361 * gdb.t13/bitfields.exp: Likewise.
3362 * gdb.t15/{funcargs,return}.exp: Likewise.
3363 * gdb.stabs/weird.exp: Likewise.
3364 * config/{mips,udi}-gdb.exp: Likewise.
3366 * hppa.sed: Enclose comments within a sed command to avoid
3367 losing with the old OSF1 sed.
3369 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3371 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
3373 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
3374 * gdb.t15/funcargs.exp: Conditionally step again to really
3375 finish from marker_call_with_trampolines. Handle the case where
3376 the first step from within call_with_trampolines already steps
3378 * gdb.t15/gdbme.c: Add comment to closing brace of
3379 call_with_trampolines for funcargs.exp.
3381 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3383 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3386 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3388 * gdb.t07/gdbme.c: More code for watchpoint testing.
3390 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
3391 "Hardware watchpoint" throughout file.
3392 (test_watchpoint_triggered_in_syscall): New test.
3393 (test_complex_watchpoint): New test.
3395 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3397 * gdbme.c (call_with_trampolines): New function to try and step
3398 into. Tests trampoline problems on the PA.
3400 * funcargs.exp (localvars_in_indirect_call): No longer expect
3401 stepping into indirect call to fail on PAs.
3402 (test_stepping_over_trampolines): New test.
3404 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3406 * TODO: Add suggestions for static member function tests, and
3409 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3411 * TODO: Add suggestions for "p/a" tests.
3413 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
3414 (default_gdb_exit): Replace all the hair with sending "quit" to
3415 the process with a simple close.
3417 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3419 * TODO: Add suggestions for shared library tests.
3421 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3423 * TODO: Add suggestions for x/s tests.
3425 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3427 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
3428 "enable once", and "enable breakpoints once" with ".*".
3430 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3432 * TODO: Add suggestions about structure passing tests.
3434 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3436 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
3437 the primary1 test, use work around if __GNUC__ < 2.
3438 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
3439 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
3440 Test for bad output rather than waiting for timeout. Issue
3441 second continue only if first continue failed.
3443 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3445 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
3446 operator[] test with gdb_test because the old code didn't seem to
3447 be getting the quoting right with the new dejagnu.
3449 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
3451 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
3453 * Makefile.in: Use a fresh expect if there is one, use runtest
3454 from the src tree if there is one.
3456 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3458 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
3459 next over recursive call. Revise the tests from that point on
3460 (which had been skipped) to match GDB's actual (correct) output.
3462 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
3463 with next over a breakpoint whose condition is false.
3465 * gdb.t00/help.exp: Comment out "help set print" tests just like
3466 (and for same reason as) "help set" test.
3468 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3470 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
3471 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
3473 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3475 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
3476 necessary gdb_target_udi.
3478 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
3480 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
3481 1838 and 2417; they are fixed.
3483 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
3484 gdb.t03/ptype.exp (ptype structure, ptype union):
3485 Remove xfails; the test is looser than when the xfails were added.
3487 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
3488 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
3490 * gdb.t01/run.exp: Only run shell test if isnative.
3492 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
3493 since "run" automatically loads if necessary. Call gdb_target_udi
3494 after the "file" since "file" kills any execution target.
3496 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
3497 GDB. GDB doesn't work that way (not anymore at least) on UDI.
3498 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
3501 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3503 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
3505 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
3507 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3509 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
3510 properly quoting regexps. This makes the second argument to
3511 demangle a fixed string, which matches the callers, instead of a
3512 shell-style pattern which is what the previous implementation
3513 used. Update some of the callers.
3515 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3517 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
3518 (comib_nullified_tests): Fix typo.
3519 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
3520 strings. No longer expected to fail.
3522 * gdb.disasm/hppa.s (addib_tests): Fix typo.
3523 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
3524 strings. No longer expected to fail.
3526 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
3527 string. No longer expected to fail.
3529 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3531 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
3532 No longer expected to fail.
3534 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
3535 string. No longer expected to fail.
3537 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3539 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
3540 only in the names (I probably got most of them). I was even
3541 generous with some which differed in underscores in names, and
3542 probably missed a few, and I *still* was able to remove almost a
3543 third of the file with almost no impact on testsuite coverage.
3545 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3547 * gdb.t00/default.exp: Match udi_attach error message as well as
3548 the one from child_attach.
3550 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
3552 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
3554 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
3555 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
3557 * Move test with enums and partial symbols back to
3558 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
3559 Reverts the change of 26 May 93. Per today's change to
3560 stabs.texinfo, the behavior that weird.exp was expecting was
3561 unreasonable; what is important is that the compiler+gdb get
3562 things right, which happens with a recent gcc. Also fix the test
3563 to deal with native compilers which put out the stab gdb can't
3566 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3568 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
3569 in the names. The main thing these accomplish is to slow things down.
3570 Many more such duplicates surely remain.
3572 * gdb.t00/help.exp: Comment out "help support" test just like
3573 (and for same reason as) "help set" test.
3575 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
3577 * gdb.t06/break.exp: Remove setup_xfails for
3578 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
3579 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
3580 about known bug in gcc to include up through 2.5.8.
3581 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
3583 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
3584 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
3585 with latest gcc and gdb.
3586 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
3589 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3591 * configure.in (hppa*-*-*): Also configure and build stabs-only
3594 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3596 * gdb.t10/hppa.mt: A makefile fragment for the PA.
3597 * gdb.t10/configure.in (hppa*-*-*): Use it.
3599 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3601 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
3603 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3605 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
3606 versions prior to 1.13.5.
3608 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3610 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
3611 the prompt is at the start of a line.
3613 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3615 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
3616 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
3617 in the copr tests now.
3618 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
3619 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
3622 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
3624 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
3625 gdb.t31/chillvars.exp, lib/gdb.exp:
3626 Tweak to run under either version of expect.
3627 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
3628 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
3629 * gdb.t11/list.exp: Remove extraneous whitespace.
3631 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3633 * gdb.t16/printcmds.exp (test_print_strings): Accept
3634 "(unsigned char *) " before the string.
3636 * TODO: Add notes about printing of fancy types and GDB expressions.
3638 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
3640 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
3641 * gdb.t06/configure.in: Don't try to compile signals test program
3642 if doing mips-idt-ecoff.
3644 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
3646 * Most .exp files: Tweak to run under either version of expect.
3648 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3650 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
3651 xfails; I'm not sure why they are failing, but not because of PR 1806.
3653 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
3655 * config/unix-gdb.exp: Remove gdb_unload cause it's already
3656 defined in lib/gdb.exp.
3658 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3660 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
3661 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
3662 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
3663 have to be typeless.
3665 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3667 * TODO: Add suggestion for copyright year test.
3669 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
3671 * configure.in (*-*-lynxos*): Add stabs tests.
3673 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3675 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
3676 so insert a tab before any assembler directive in column zero.
3678 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
3680 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
3682 (fpu_short_memory_tests): Likewise.
3684 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3686 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
3687 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
3688 .stabs directives in comments.
3690 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3692 * TODO: New file, describing tests we could write.
3693 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
3695 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3697 * gdb.t06/signals.exp: Add kludge to force re-sync.
3699 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
3700 to xgdb instead of gdb, get out of gdb.
3702 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
3704 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
3707 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3709 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
3710 * gdb.stabs/configure.in (hppa*-*-*): Use it.
3711 * gdb.stabs/hppa.sed: New sed script for the PA.
3713 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3715 * gdb.stabs: Re-write weird.def and configuration to use sed
3716 instead of cpp. sed is portable and POSIX; cpp is neither.
3718 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3720 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
3722 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3724 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
3726 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3728 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
3730 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
3731 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
3733 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3735 * lib/gdb.exp: Comment out code which depends on non-existent
3736 `transform' procedure.
3738 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
3740 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
3741 * lib/gdb.exp: Transform tool name.
3742 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
3743 1.1's new error handling system.
3745 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3747 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
3749 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3751 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
3752 They made pattern matching so slow that timeouts happened on
3753 heavily loaded systems. Now any output from "show print" which
3754 gets us back to the GDB prompt is a PASS.
3756 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
3758 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
3760 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3762 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
3764 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
3765 It is not from PR 3220.
3767 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3769 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
3770 just started failing because they depended on the order the
3771 subcommands are presented, or exact docstring text. This kind of
3772 test is a pain and has minimal benefit.
3774 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3776 * gdb.t09/corefile.exp: At end of test, use "core" command with
3779 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
3781 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
3782 17}/Makefile.in: Make it possible to run the testsuite with Sun
3783 make and CC = cross gcc by adding explicit build rules for .o
3786 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3788 * gdb.t15/funcargs.exp: Don't put comments on same line as
3789 setup_xfail (@#$*%& tcl braindamage!).
3791 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3793 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
3795 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
3797 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
3798 * gdb.t20/inherit.exp: remove three dumplicate entries.
3800 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3802 * gdb.t06/break.exp: For "next over recursive call", fail on any
3803 incorrect output, not just on "factorial (value=2)".
3805 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3807 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
3808 working now. Add an xfail if accesing a bss variable causes
3809 a memory error if the target is not yet run.
3811 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3813 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
3814 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
3815 name of __st* demangling (2 strings). Did Kung really get the
3816 more than 95 others right without testing them?
3818 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
3820 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
3822 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
3824 * configure.in (configdirs): Add gdb.disasm
3825 * gdb.disasm: New directory for GDB disassembler tests.
3826 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
3828 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3830 * gdb.t00/help.exp: Don't test "help set".
3832 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
3833 from within expect statements. None of these happen anymore and
3834 they cause regressions to be silently unnoticed.
3836 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
3837 messages) about known failures with gcc cygnus-2.4.5-930417.
3839 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
3840 comp-info.exp so it gets built if it doesn't exist.
3842 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
3843 it is no longer used.
3844 * gdb.t13/comp-info.c: Removed.
3846 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3848 * gdb.t06/signals.exp: Add xfail for sun3.
3850 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3852 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
3853 relevant because ^C doesn't get sent but failure can be reproduced
3856 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3858 * gdb.stabs/alpha.mt: New configuration file for alpha.
3859 * gdb.stabs/configure.in: Use it.
3860 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
3861 sharing with alpha.mt, redefine long to word via preprocessor.
3862 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
3864 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
3866 * gdb.t00/teststrategy.exp: Change expect string so that we
3867 consume the `(xgdb)' from the command echo and from the gdb prompt.
3868 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
3869 gdb currently compares all values as long, so this failure probably
3870 applies to any configuration where LONGEST is bigger than a target int.
3871 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
3873 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
3874 to handle opaque pointers, gcc is.
3875 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
3876 as first argument. Include <sys/types.h> and change all operator
3877 new definitions to use size_t.
3878 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
3879 now that we use size_t.
3881 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3883 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
3884 a long or float array cast all array members to the same type.
3885 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
3887 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
3889 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
3891 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3893 * gdb.t24 (demangle.exp): Constructors of templates have names like
3894 vector<int>::vector(int) not vector<int>::vector<int>(int). See
3895 section 14.6 of the ARM.
3897 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
3898 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
3899 accomplish little and slow down the testsuite.
3901 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
3902 Accept spaces various places.
3904 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3906 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
3907 with watchpoint enabled.
3909 * Makefile.in: Remove definition of CC and remove the second
3910 definition of CXX (the "CXX = gcc" one remains). These definitions
3911 were causing backquotes to be expanded within backquotes, which
3914 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
3916 * gdb.t17/callfuncs.exp: Add "return 0" to end.
3918 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3920 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
3921 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
3922 by mips cc and contains no stabs entries.
3924 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
3926 * config/vx-gdb.exp: Use fake device to load files rather than
3928 * lib/gdb.exp: New proc to do "file" command.
3929 * config/unix-gdb.exp: Use new "file" proc.
3931 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3933 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
3934 Rework board rebooting slightly.
3935 (gdb_exit): Don't exit from the remote shell; there isn't one.
3936 * gdb.stabs/weird.exp: If a program is being debugged already,
3938 * gdb.t04/setvar.exp: Stop and restart gdb.
3939 * gdb.t05/expr.exp: Likewise.
3940 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
3941 restart gdb and reload the program.
3942 * gdb.t08/opaque.exp: Likewise.
3943 * gdb.t12/scope.exp: Likewise.
3944 * gdb.t13/bitfields.exp: Likewise.
3945 * gdb.t15/funcargs.exp: Likewise.
3946 * gdb.t20/classes.exp: Likewise.
3947 * gdb.t03/ptype.exp: Increase timeout.
3948 * gdb.t16/printcmds.exp (test_print_string_constants,
3949 test_print_array_constants): Likewise.
3950 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
3951 * gdb.t20/classes.exp (do_tests): Likewise.
3952 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
3954 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
3956 * gdb.stabs: Renamed *wierd* to *weird*.
3958 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3960 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
3961 for timeout. Add "known gcc 2.4.5 bug" to failure message.
3963 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3965 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
3966 (do_tests): Remove xfail for whatis on one_var and two_var.
3968 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
3970 * Makefile.in: Made cross building work better by adding
3971 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
3973 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3975 * gdb.t15/{return.c,return.exp,Makefile.in}:
3976 New test, currently commented out.
3978 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
3980 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
3981 still running and removes the leftover named socket so GDb can do
3984 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
3986 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
3988 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
3989 cross testing works better with "make check"
3990 * config/unix-gdb: Use default procedures for exit and version.
3991 * config/vx-gdb.exp: Cleaned up and massaged back to working order
3992 with the newest VxWorks.
3994 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3996 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
3999 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
4000 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
4002 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
4004 * config/unix-gdb.exp: Remove this version of gdb_exit
4005 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
4006 Rob says he'll look at it when he gets back to testing boards.
4008 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
4010 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
4011 an expected fail for certain ptype commands.
4013 * gdb.t20/classes.exp: Update expected results of "ptype class
4014 Base1" to account for the constructor that now appears in the type.
4016 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
4018 * configure.in (configdirs): Restore gdb.t04, which mysteriously
4019 disappeared from list.
4020 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
4021 "alldone" proc with call to cleanup and exit.
4022 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
4023 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
4024 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
4025 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
4026 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
4027 "alldone" proc with simple returns that suppress remaining
4028 tests. The alldone proc went away many months ago.
4030 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4032 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
4034 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
4036 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4038 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
4039 as vax gdb will display them.
4041 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4043 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
4046 * scope.exp: Change "bad value for localval" messages so each one
4049 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
4050 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
4052 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
4054 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4056 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
4057 doesn't exist (due to optimization).
4059 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4061 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
4062 contains \r because the filename is long.
4064 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
4065 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
4067 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4069 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
4070 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
4072 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
4074 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
4076 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
4078 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
4080 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
4081 to match does not match the passing case but still matches the
4084 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4086 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
4088 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
4090 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
4091 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
4092 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
4093 Remove various versions of gdb_exit.
4094 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
4096 * config/unix-gdb.exp: gdb_exit remains here, and should override
4097 the generic version, since it's doing a lot of wierd stuff that
4098 the other versions aren't. FIXME, fold it in, or abandon this
4101 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4103 * gdb.t24/demangle.exp: Add tests for PR 3220.
4105 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4107 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
4109 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
4111 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
4112 "i386-*-*". Works for i486 as well.
4114 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
4115 bug, and expand domain of xfail to all SVR4 systems, since the
4116 actual problem is likely to be in generic SVR4 /proc support.
4118 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4120 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
4122 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
4124 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
4125 xfails for other systems. Match a missing 'Continuing.' as an
4126 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
4128 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
4129 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
4130 Only issue warning for missing executables if -all option is used.
4132 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
4133 file if -all option is used. It's like an unpredictable XFAIL.
4135 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4137 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
4138 for dynamically linked binaries.
4140 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
4142 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4144 * gdb.t20/inherit.exp: Change message for "print tagless struct"
4145 to state that this is a known bug in old versions of g++.
4147 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4149 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
4150 while waiting for `Continuing'.
4152 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
4154 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
4155 in text, data, and bss.
4156 * gdb.t10/nodebug.c: Add local and global test variables for
4157 initialized and uninitialized data.
4159 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4161 * config/unix-gdb.exp (gdb_exit): Add "wait".
4163 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4165 * gdb.t06/signals.exp: xfail the continue from the handler for all
4168 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
4169 function with watchpoints enabled, the i386 call dummy starts with
4172 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
4173 386 bsd names its corefiles.
4175 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
4177 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
4178 compilers don't grok it.
4179 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
4180 with small octal ints rather than character constants, which
4181 are signed and might not fit if first promoted to int.
4183 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
4185 * gdb.t09/Makefile.in (clean): Remove corefile.
4187 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4189 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
4191 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4192 and Jim Kingdon (kingdon@cygnus.com)
4194 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
4195 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
4196 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
4198 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4200 * gdb.t17/interrupt.exp: Add xfail for hppa.
4202 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4204 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
4205 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
4206 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
4207 to determine signed-ness of bitfields and use the result to setup
4209 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
4210 * gdb.t15/funcargs.exp: Use them to step until the second indirect
4211 call line is reached if necessary.
4213 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4215 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
4217 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4219 * gdb.t06/break.exp: Also test `clear' command.
4221 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4223 * gdb.t00/teststrategy.exp: Remove extra quote.
4225 * gdb.t07/watchpoint.exp: Change xfail for calling function with
4226 watchpoint enabled to be for all non-68k machines.
4228 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
4230 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4232 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
4233 targets use aout.mt instead of ecoff.mt as gas understands
4234 standard aout format.
4236 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4238 * lib/gdb.exp (runto): Don't insist that function we are running to
4239 was compiled with -g.
4241 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
4243 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
4244 to get back into the read system call.
4245 Accept leading newline in case where we woke it up.
4247 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4249 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
4250 to make the stabs test work on ecoff systems using gcc and -with-stabs.
4251 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
4252 enable ecoff configuration.
4254 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4256 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
4258 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4260 * gdb.t16/printcmds.exp: Add another printf test.
4262 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
4264 * configure.in: If configured -with-stabs on any target, add
4265 stabsdirs to configdirs.
4267 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4269 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
4270 fun" so pattern does not match the command itself.
4272 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4274 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
4276 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4278 * gdb.t17/interrupt.exp: Test for more things.
4280 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4282 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
4283 compiler arranges the code and line numbers.
4285 * gdb.t17/interrupt.exp: Don't send \n after ^C.
4287 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4289 * gdb.t00/help.exp: Increase expect input buffer size.
4291 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4293 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
4295 * gdb.t07/watchpoint.exp: Add xfail for hppa.
4297 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
4299 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
4300 [0-9]*, not just [0-9].
4302 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4304 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
4306 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
4308 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4310 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
4312 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4314 * gdb.t06/signals.c: Add xfails for sun3.
4316 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
4318 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
4319 test_stepping tests.
4321 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4323 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
4325 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
4327 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
4328 rather than actually putting it through cpp twice.
4330 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
4332 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
4334 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
4337 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4339 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
4341 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
4342 C++ features prints as "struct", make it a pass, not an xfail.
4344 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4346 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
4347 Don't require VA to print as "class" rather than "struct".
4349 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
4351 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
4353 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4355 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
4357 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4359 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
4362 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4364 * gdb.t16/printcmds.exp: Add printf tests.
4366 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
4368 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
4370 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
4372 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
4373 pass counts, to counteract any existing or future setup_xfails.
4375 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4377 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
4378 {BEGIN,END}_COMMON for common block instead of STAB.
4379 * gdb.stabs/wierd.exp: Add xfail for rs6000.
4381 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
4382 intp_var should be N_GSYM not N_LSYM.
4383 wierd-aout.S: Use a label for the value of the N_SO.
4384 wierd.def: Remove all backslashes.
4385 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
4387 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4389 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
4390 get the expected next to inheritance3.
4392 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4394 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
4395 now that gcc-2.4 gets it right.
4397 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4399 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
4401 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
4402 generating comp-info.exp which works for cross-compilation.
4404 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
4406 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
4409 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
4411 * gdb.t01/run.exp: Start with a fresh gdb.
4412 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
4415 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
4417 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
4418 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
4419 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
4420 Makefile.in (distclean, realclean): Remove gdbme.c from list of
4423 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
4425 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
4426 test cases from bug reports.
4428 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
4430 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
4431 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
4432 avoid spurious xfails.
4433 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
4434 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
4435 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
4437 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
4439 * gdb.t00/teststrategy.exp: Rework to provide more useful
4440 description of each test, fix problem with systems that define
4441 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
4442 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
4443 results for "next over recursive call" so timeouts aren't taken
4446 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
4448 * gdb.t12/scope.exp: Test printing of variables before run.
4450 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
4451 printed in wrong order due to sorting.
4453 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
4455 * gdb.t00/teststrategy.exp: Fix expected results for printing
4456 user entered string constant. Is array of char, prints with no
4459 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
4461 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
4462 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
4463 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
4464 of struct of char arrays.
4465 * gdb.t00/radix.exp: New tests for radix commands.
4467 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
4469 * gdb.t16/printcmd.exp: Print a variable before running program
4470 (with xfail for AIX).
4472 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
4474 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
4476 * gdb.t16/printcmd.exp: Don't print variables before running program.
4478 * gdb.t06/break.exp: Don't require envp argument to main.
4480 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
4482 * gdb.t02/whatis.exp, gdb.t11/list.exp:
4483 Add xfails for rs6000.
4485 * gdb.t02/whatis.exp: Change other tests not to re-test something
4488 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
4489 each type used has a variable of that type.
4491 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
4493 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
4495 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4497 * configure.in: change srctrigger to be a file, not a directory
4499 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
4501 * configure.in (mips-idt-ecoff*): Added trailing '*'.
4503 * gdb.t11/list.exp: Fixed a couple of typos.
4505 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
4507 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
4508 is fixed and PR is closed.
4509 * gdb.t16 (gdbme.c): Add simple test string variable.
4510 * gdb.t16 (printcmds.exp): Add tests with simple test string
4511 variable, primarily for boundaries on "set print elements".
4513 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
4515 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
4516 Make leading 0's optional and don't expect a tab in the middle
4519 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
4521 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
4522 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
4523 don't end command passed to gdb_test with newline.
4525 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
4526 signed keyword away, don't expect signed bitfields to be signed.
4528 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
4529 printing with only as many 1's as are in the field as well as printing
4530 with 32 1's (see comment).
4532 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
4534 * gdb.t00/default.exp: Start with a fresh gdb.
4535 * configure.in (configdirs): Remove gdb.t31 until the chill
4536 compiler works again. It no longer is able to find chillrt0
4537 since it isn't in libchill.a anymore.
4538 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
4539 wierd.o, make more modular.
4540 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
4541 spurious newlines that caused problems.
4543 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4545 * Move test with enums and partial symbols from gdb.t03/ptype.exp
4546 to gdb.stabs/wierd.exp since GCC has worked around the bug.
4547 gdb.stabs/wierd.{exp,def}: Many new tests.
4549 * gdb.t00/default.exp: update info line for new message.
4551 * gdb.t02/{whatis.exp,gdbme.c}:
4552 Test that "char *" doesn't print as "caddr_t".
4554 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4556 * gdb.t00/help.exp: Use .* in place of some help messages which
4558 gdb.t00/default.exp: Update "info frame" test for new message.
4559 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
4562 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4564 * gdb.t03/{gdbme.c,ptype.exp}:
4565 Add tests for typedef'd struct and union without tags.
4566 Also check "whatis" on a variable of a typedef'd enum without a tag.
4568 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
4569 PRMS 1823; the bug still exists but isn't reproduced by this test
4570 anymore), and remove rs6000 XFAIL (the bug is fixed).
4572 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
4573 duplicated from whatis.exp. For those that are left, accept
4574 "long", "long int", or "int" for long variables (whatis.exp already
4575 has an XFAIL for "int", so no need to fail it here).
4577 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
4578 Deal with GCC's names for types now that GDB uses the compiler's names.
4580 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
4581 setup_xfail's for sunos4. If we #defined the signed keyword away,
4582 don't expect GDB to know that char it is signed.
4584 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
4586 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
4588 * configure.in (configdirs): Add gdb.t24 for C++ tests that
4589 should work on any system, regardless of debugging format.
4590 * gdb.t21/demangle.exp: Move to gdb.t24.
4591 * gdb.t24/demangle.exp: Move from gdb.t21.
4592 * gdb.t24/{Makefile.in, configure.in}: New files.
4594 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4596 * configure.in: Do gdb.stabs and C++ tests only for stabs.
4597 * gdb.stabs: New directory.
4599 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4601 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
4602 not just "Quit anyway?".
4604 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
4606 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
4607 that all setup_xfails are immediately followed by clear_xfails.
4609 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
4611 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
4612 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
4613 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
4614 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
4615 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
4616 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4617 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4618 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
4619 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
4620 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
4621 gdb.t31/chillvars.exp, lib/gdb.exp:
4622 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
4623 bug-gdb@prep.ai.mit.edu.
4625 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
4627 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
4628 with 0.0, not integer 0.
4630 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
4632 * gdb.t06/break.exp: Update for "Kill the program" message change.
4634 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
4636 * Makefile.in (GDBFLAGS): Set to -nx.
4637 * Makefile.in (site.exp): Use GDBFLAGS.
4639 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4641 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
4643 (check): depend on just-check.
4644 (just-check): added so that tests can be run without a noop
4647 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4649 Switch to using configure's configdirs.
4650 * Makefile.in (Makefile): add configure.in dependency.
4651 (SUBDIRS): removed redundant assignment.
4652 * configure.in: switch subdirs assignment to configdirs.
4653 * gdb.t*/configure.in: new files.
4655 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
4657 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
4660 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
4662 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
4663 in explicit rules. Apparently this is not supported by some makes.
4665 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
4667 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
4669 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4671 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
4674 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
4676 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
4678 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
4680 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
4681 watchpoint problem that is now fixed.
4682 * gdb.t30/chexp.exp: Remove setup_xfail for printing
4683 uninitialized convenience variables.
4684 * gdb.t31/chillvars.exp: Fix expected patterns for printing
4687 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4689 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
4690 which causes expect to get out of sync with gdb on long output
4692 * gdb.t09/corefile.exp: Make expected pattern for core file
4693 failing signal and frame output format less sun specific.
4695 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
4697 * gdb.t31/chillvars.exp: Add and remove initial dummy
4698 breakpoint, so that symbol table is forced in.
4699 (Needed at least on Sunos4, though it seems not SVR4.)
4700 * gdb.t31/chillvars.exp: Update for changed output format.
4702 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
4704 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
4706 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
4708 * Makefile.in: Added --srcdir when invoking runtest, removed the
4709 need for a local config file. (optional now)
4711 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
4713 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
4714 failure count used to force early termination. Add some more
4715 expected failures for gnu style demangling.
4717 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4719 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
4720 pmi variable from gdb.t20/gdbme to get optimized away.
4721 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
4722 Check for written corefile upon timeout _and_ eof.
4724 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4726 * config/unix-gdb.exp: Add missing return 0.
4728 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4730 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
4733 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
4735 * configure.in (subdirs): Put back gdb.t17 which mysteriously
4738 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
4740 * gdb.t10/crossload.exp: Disable the i860-elf test until such
4741 time as i860 support works.
4743 * gdb.t15/funcargs.exp: Fix expected outputs to include
4744 "backtrace 100\r" rather than just "backtrace\r", to match last
4747 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
4749 * config/udi-gdb.exp (gdb_exit): Remove close command.
4750 (gdb_target_udi): New procedure to set the UDI target.
4751 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
4752 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
4753 Added waits for prompts after several question responses. Added
4754 some more responses used by a29k-amd-udi-gdb.
4755 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
4756 pass different arguments, restart UDI connection after program
4758 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
4759 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4760 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
4761 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
4762 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
4763 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
4764 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4765 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
4766 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
4767 after program completion.
4768 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
4769 compiled with a SELECT_VECS setting.
4770 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
4773 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
4774 Added checks for COFF results, and made them expected failures for
4775 all targets. It would be better to make them expected failures
4776 for COFF targets only.
4778 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
4780 * Makefile.in: add null dvi target, don't bother to recurse
4781 through test directories for info and install-info; rename
4782 $(datadir) to be dejagnu instead of deja-gnu
4784 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
4786 * gdb.t31/gdbme.ch: Re-enable code that previously caused
4787 compiler to coredump.
4788 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
4791 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
4793 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
4795 * gdb.t31/chillvars.exp: Comment out tests that depend on that
4798 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
4800 * gdb.t03/ptype.exp: tests for return code from gdb_test.
4801 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
4802 which in a shell. Deletes xgdb when done.
4803 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
4804 Tests the return from the "set height" or "set width" commands.
4805 Added a few return codes where needed.
4807 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
4809 * Makefile.in (SUBDIRS): Add gdb.t17.
4810 * configure.in (subdirs): Add gdb.t17.
4811 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
4812 files to test gdb's calling of functions in the inferior with
4813 the correct arguments and gdb's ability to retrieve any
4816 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
4818 * config/unix-gdb.exp (gdb_exit): Remove close commands that
4819 may be called after gdb goes away. Previous versions of expect
4820 needed these to avoid file descriptor leaks, but they cause
4821 errors with the current revision of expect.
4822 * gdb.t00/gdbvars.exp: Use -re on expected output after
4823 setting sevenbit-strings.
4824 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
4825 to set sevenbit-strings consistent across tests.
4826 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
4827 set sevenbit-strings consistent across tests.
4829 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
4831 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
4832 expected output to match current "expect" expectations.
4834 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
4836 * gdb.t00/default.exp: Change expected output for default "source"
4837 command, to match new gdb behavior which requires a filename to
4840 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
4842 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
4843 expected fail for i486-*-* that misses the marker2 function.
4844 * gdb.t10/crossload.exp (bfddefault): Allow successful
4845 recognition of a format to pass even if no symbols are found.
4846 Explicitly catch failures where the format is not recognized
4847 or is ambiguous, and add the reason to the fail message.
4848 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
4849 the cause is and invalid target and add reason to failure message.
4850 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
4851 elf32-i386, elf32-sparc, and elf32-i860.
4852 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
4853 Set up expected failure for 'filename'::variable scope resolution,
4854 which is now apparently broken on all targets.
4855 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
4856 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
4857 gdb.t23/templates.exp: Change failure for missing binfile into
4859 gdb.t21/demangle.exp: Change all cfront references to 'arm'
4862 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
4864 * gdb.t00/default.exp: Add expected output for default "source"
4865 command, to match new gdb behavior.
4866 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
4868 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
4870 * config/*-gdb.exp: returns an error, rather than exiting on
4873 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
4875 * gdb.t03/gdbme.c: Add pointer to struct variable.
4876 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
4877 referencing struct members.
4879 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
4881 * configure.in (mips-idt-ecoff): New target.
4882 * config/mips-gdb.exp: New file for remote board using MIPS remote
4885 * Redid configuration scheme. Removed gdb.t*/configure.in.
4886 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
4887 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
4888 distclean targets. Built executables via .o files. Adjusted
4889 tests to account for source files in $(srcdir) rather than
4891 * lib/gdb.exp (runto): Don't expect () after the function name,
4892 because it may have arguments.
4894 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
4896 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
4897 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
4898 expected failures for mips-idt-* and mips-sgi-*.
4899 * gdb.t00/default.exp (attach): Kill process if requested.
4900 * gdb.t00/help.exp (help target core, help target): Accept a gdb
4901 that does not read core files.
4902 * gdb.t01/run.exp: Removed checks for exit status code.
4903 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
4905 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
4906 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
4907 appropriate, rather than doing it by hand.
4908 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
4910 * gdb.t10/crossload.exp: Kill existing program if needed.
4911 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
4912 appropriate, rather than doing it by hand. Always increase
4913 timeout for this test, not just for VxWorks.
4915 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
4917 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
4918 of Chill STRUCT types and STRUCT values.
4919 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
4921 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
4922 struct2): New struct definitions and initializations to test
4923 simple Chill STRUCT types.
4925 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
4927 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
4928 the null byte at the end of strings.
4929 * gdb.t00/default.exp: Make show version insensitive to copyright
4931 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
4932 to avoid dependencies on target char signedness.
4933 * gdb.t16/printcmds.exp: Update expected results for explicitly
4935 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
4937 * gdb.t21/demangle.exp: Add many more patterns for template
4938 demangling, most of them being expected failures.
4939 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
4940 string we are matching for, to match on the whole string.
4941 * gdb.t21/demangle.exp: Add many new test strings to demangle,
4942 and fix a whole bunch that had incorrect expected output but were
4943 passing anyway because of the bug in "proc demangle".
4944 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
4946 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
4948 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
4950 * gdb/testsuite: made modifications to testcases, etc., to allow
4951 them to work properly given the reorganization of deja-gnu and the
4952 relocation of the testcases from deja-gnu to a "tool" subdirectory.
4954 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
4956 * gdb/testsuite: Initial creation of gdb/testsuite.
4957 Migrated dejagnu testcases and support files for testing nm to
4958 gdb/testsuite from deja-gnu. These files were moved "as is"
4959 with no modifications. This migration is part of a major overhaul
4960 of dejagnu. The modifications to these testcases, etc., which
4961 will allow them to work with the new version of dejagnu will be
4962 made in a future update.
4968 version-control: never