1 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
3 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
4 here. Call gdb_target_exec before rebooting the target, to make
5 sure the connection to the target is closed.
6 (gdb_load): Pass the name of the executable to gdb_target_monitor.
7 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
9 * config/gdbserver.exp: Pass the executable being loaded to
10 gdb_target_monitor. Don't call gdb_file_cmd here; let
11 gdb_target_monitor do it.
13 * gdb.disasm/hppa.exp: Don't use exec_output.
15 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
17 * gdb.base/list.exp: If we're debugging a non-native target,
18 try to set the pc register to point to the start of the
19 program before doing the first list command.
21 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
22 test_calls after restarting.
24 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
27 * gdb.base/watchpoint.exp: Fix typo.
29 * gdb.base/setshow.exp: Check for use_gdb_stub.
31 * gdb.base/break.exp: Fix continue until exit test for the gdb
33 * gdb.base/langs.exp: Ditto.
35 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
36 gdb_load_offset. If we weren't given a file to load, figure out
37 what the current file is and use it.
39 * config/i386-bozo.exp: New file.
41 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
43 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
46 * config/proelf.exp: New entry.
48 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
50 * lib/gdb.exp: Remove spurious .* patterns at the beginning
53 * gdb.base/watchpoint.exp: Don't run the test_stepping
54 tests if gdb can't call functions on the target.
56 * gdb.base/setshow.exp: Don't run the set prompt tests if
57 the board has gdb_prompt set.
59 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
61 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
62 * gdb.base/commands.exp: Likewise.
63 * gdb.base/setshow.exp: Likewise.
65 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
67 * config/monitor.exp(gdb_start): Look for gdb_prompt target
70 * config/i960.exp: New file.
72 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
74 * gdb.base/funcargs.exp: Check for gdb,short_int target
75 feature instead of looking for explicit target triplets.
77 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
79 * gdb.base/printcmds.exp: add a couple more tests a la
80 "p 123DEADBEEF", to check parse_number.
81 * top.c: change "to enable to enable" to "to enable" in a couple
84 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
86 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
89 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
91 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
92 where the test executable is run with explicit args.
93 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
95 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
97 * gdb.base/run.c: Use FAKEARGV to build test executable that
98 does not require a command line arg, since most simulators
99 don't currently support passing such an arg into the simulated
101 * gdb.base/commands.exp: Change tests to insert the proper
102 value as the arg to the first recursive factorial call. Change
103 compilation line to define FAKEARGV at compile time.
105 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
107 * gdb.base/recurse.exp: Enable these tests for the mn10300.
108 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
109 function with watchpoint enabled" test.
111 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
113 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
114 Don't call gdb_test when the command doesn't return to a gdb prompt.
116 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
117 "Tests restarted" messages.
119 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
121 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
123 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
125 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
126 for INFO SYMBOL; add help tests for OVERLAY commands.
127 * gdb.base/default.exp: add tests for INFO SYMBOL command;
128 add tests for OVERLAY commands
129 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
130 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
131 * gdb.base/sigall.c: add usestubs code frag
132 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
134 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
136 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
138 (gdb_stop_suppressing_tests): Note that tests have restarted.
140 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
142 * config/h8300.exp: New file.
144 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
146 * gdb.base/setshow.exp: Check for the existence of a
147 feature, not its value.
149 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
151 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
153 * gdb.base/scope.exp: It's now init0(), not init().
155 * gdb.base/scope0.c: For now, change init() to be init0().
157 * config/monitor.exp: Use gdb_serial in preference to serial
160 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
161 and it's not already set.
163 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
165 * gdb.base/setshow.exp: Only test the run command if the target
166 isn't using a stub and if it supports argument passing.
168 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
170 * config/udi.exp(gdb_start): Make sure UDICONF is set
171 properly before starting gdb.
173 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
175 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
176 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
177 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
179 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
181 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
182 specialized code to reboot the board, use remote_reboot instead.
184 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
186 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
188 * config/monitor.exp: Make sure we disconnect from the target.
189 Also, try a reboot/reload cycle instead of failing if the
192 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
194 * gdb.base/default.exp: Don't set match_max.
195 * gdb.base/help.exp: Ditto.
196 * gdb.base/list.exp: Ditto.
197 * gdb.base/signals.exp: Ditto.
199 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
200 set, use remote_ld to download the testcase instead of
203 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
205 * config/vr5000.exp: New file.
207 * config/monitor.exp(gdb_target_monitor): Add pattern for
208 "Ending remote" to detect errors in connecting.
210 * gdb.base/setshow.exp: Add .* within auto language test.
212 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
215 * config/monitor.exp(gdb_load): Check for a failure when loading,
216 and reboot the board if necessary.
218 * gdb.base/setvar.exp(test_set): Handle multiple prints within
219 a set of tests. Remove print.* from the patterns being checked.
221 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
223 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
224 refer to gdb_spawn_id.
226 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
228 * config/sparclet.exp: Ditto.
229 * config/sparclet-old.exp: Ditto.
230 * config/slite.exp: Ditto.
231 * config/sim.exp: Ditto.
232 * gdb.base/funcargs.exp: Ditto.
234 * lib/gdb.exp:Remove references to gdb_spawn_id.
235 (gdb_expect): Move to remote.exp.
237 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
239 * config/monitor.exp: Detect the "Couldn't establish connection"
242 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
244 * gdb.base/bitfields.exp: Use runto instead of explicit
245 gdb_run_cmd/gdb_expect sequences.
247 * gdb.base/break.exp(text_next_with_recursion): Add match for
250 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
251 We also need to handle the "A program is being debugged already"
252 prompt from gdb. Use gdb_test to set the baud rate.
254 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
255 to 20000. Really. I mean it.
257 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
259 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
260 fails. If suppress_flag is set, skip perror message about not
261 being able to send to GDB.
262 (send_gdb): If suppress_flag is set, don't try to send commands to
264 (gdb_expect): If suppress_flag is set, always fail immediately.
265 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
266 (gdb_init): Call gdb_stop_suppressing_tests.
267 (default_gdb_exit): Ditto.
268 (default_gdb_start): Ditto.
270 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
271 gdb_stop_suppressing_tests as appropriate.
272 * gdb.base/break.exp: Ditto.
273 * gdb.base/callfuncs.exp: Ditto.
274 * gdb.base/commands.exp: Ditto.
275 * gdb.base/exprs.exp: Ditto.
276 * gdb.base/funcargs.exp: Ditto.
277 * gdb.base/list.exp: Ditto.
278 * gdb.base/recurse.exp: Ditto.
279 * gdb.base/scope.exp: Ditto.
280 * gdb.base/structs.exp: Ditto.
281 * gdb.c++/inherit.exp: Ditto.
283 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
285 * config/vr4300.exp: New file.
287 * gdb.*/*.exp: Call gdb_expect instead of expect.
289 * lib/gdb.exp(gdb_expect): New function.
291 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
293 * lib/gdb.exp(gdb_init): New function.
295 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
296 for each individual variable set.
298 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
301 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
303 * gdb.base/scope.exp: Use gdb_test.
305 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
306 aborting; the testsuite driver will do that for us (see
307 gdb_finish). Also, use gdb_test in a few more places.
309 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
311 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
313 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
315 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
316 and "add_tests" are not at the same address.
318 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
320 * gdb.base/ptype.exp: Use gdb_test.
322 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
324 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
325 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
326 left in. No longer expect them to fail.
328 * gdb.stabs/*.mt; Deleted, no longer used.
329 * gdb.stabs/configure.in: Remove references to target makefile
331 * gdb.stabs/configure: Rebuilt.
333 * gdb.disasm/*.mt: Deleted, no longer used.
334 * gdb.disasm/configure.in: Remove references to target makefile
335 frags. Use "sh3.s" as the unique filename for this directory.
336 * gdb.disasm/configure: Rebuilt.
338 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
339 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
340 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
342 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
344 * config/udi.exp: Use mondfe,name instead of remote_host.
346 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
348 * gdb.base/watchpoint.exp: Don't expect a failure when calling
349 a function with a watchpoint enabled on the mn10200.
351 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
352 before trying to create it!
354 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
356 * config/vx.exp: Use hostname instead of netport.
358 * config/vxworks.exp: New file.
360 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
362 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
363 gdb before assuming everything worked. Send a ^C if a timeout
366 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
367 $gdb_spawn_id directly.
368 (gdb_run_cmd): Try _start as well as start. Use the target feature
369 gdb,start_symbol as the symbol to start from when jumping.
371 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
373 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
376 * gdb.base/recurse.exp: Relax final value test for 'b' so that
377 it doesn't lose for 16bit integer systems.
379 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
381 * gdb.fortran/types.exp: If the target doesn't support "double"
382 data types, then expect "real" types to only be 4 bytes.
384 * gdb.c++/virtfunc.exp: Expect failure for virtual function
385 call tests if the target doesn't support inferior function calls.
387 * gdb.base/printcmds.exp: Allow minor deviation in FP values
390 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
392 * gdb.base/help.exp: Disable "help set", "help show", and
393 "help support". Simplify regexp for "help stack".
395 * gdb.base/default.exp: Set match_max to 5000 and the timeout
396 to 60 seconds. Temporarily set match_max to 15000 around the
399 * gdb.base/nodebug.exp: Don't try to do an inferior function
400 call if the target doesn't support them.
401 * gdb.base/printcmds.exp: Likewise.
402 * gdb.base/setvar.exp: Likewise.
403 * gdb.base/structs.exp: Likewise.
404 * gdb.c++/templates.exp: Likewise.
405 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
407 * gdb.base/recurse.exp: Enable for the mn10200.
409 * configure.in: Do configure gdb.stabs directory for *-*-elf
411 * configure: Rebuilt.
413 * gdb.base/break.exp: Check for gdb,noresults before testing
414 exit status and/or results from the target.
415 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
416 * lib/gdb.exp: Remove old (now bogus) initialization of
417 noinferior, noargs, noresults and nosignals.
419 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
421 * config/sh.exp: New file.
423 * config/slite.exp: Try to connect multiple times to the board
424 before rebooting. Only send a "monitor run" if need_monitor_run
427 * gdb.base/break.exp: Don't do the "stub continue" test if
428 the target has gdb_stub set.
430 * gdb.base/callfuncs.exp: Increase the timeout.
432 * gdb.base/interrupt.exp: Don't even try to compile the testcase
433 if the target has gdb,noinferiorio set.
435 * gdb.base/list.exp: Increase match_max to 10000 characters.
437 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
439 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
442 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
444 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
446 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
447 trying to delete the copy of gdb. Catch the file delete so we
448 don't die if the delete fails; also, the file should be copied to
449 the host, not to the build.
451 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
453 * lib/gdb.exp(gdb_test): Surround the result pattern with
454 parenthesis in case it contains multiple regexps separated
457 * gdb.base/watchpoint.exp: Use gdb_test.
458 * gdb.base/default.exp: Ditto.
460 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
462 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
464 * gdb.base/scope.exp: Use gdb_test.
465 * gdb.c++/classes.exp: Ditto.
466 * gdb.c++/inherit.exp: Ditto.
468 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
470 * gdb.base/crossload.exp: Don't use execute_anywhere, use
472 * gdb.base/corefile.exp: Don't be ridiculous.
473 * gdb.base/*.c: Add missing stub invocations.
475 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
477 * config/slite.exp: Miscellaneous fixes.
479 * lib/gdb.exp: Fix runto.
481 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
484 * gdb.base/watchpoint.exp: Fix regexp.
486 * lib/gdb.exp(default_gdb_exit): Add a catch to the
487 close and wait commands, as the descriptor may now be
488 invalid. Always call "remote_close host".
490 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
492 Major rewrite for testsuite revision.
494 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
495 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
496 instead of relying on spawn_id to always contain a valid
498 (get_compiler_info): New procedure to build the ${binfile}.ci
499 file, instead of replicating this in N different places.
500 (gdb_compile): New procedure.
502 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
503 appropriate arguments) instead of compile. Use gdb_test in a lot
504 more places. Use send_gdb instead of send. Always run gdb_start
505 at the start of a testcase, as this is no longer done magically.
507 config/*-gdb.exp: Rename without the -gdb suffix.
509 config/mips.exp: Use remote_close instead of exit_remote_shell.
510 config/monitor.exp: Use target_info instead of looking at
512 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
514 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
516 * gdb.c++/templates.exp (test_ptype_of_templates),
517 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
518 Update expect patterns for destructors and assignment operators
519 to match corresponding c-typeprint.c changes.
520 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
521 to destructor breakpoint test, GDB should be able to set the
522 destructor breakpoint without specifying arguments.
524 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@ninemoons.com>
526 * gdb.threads/pthreads.exp: Change result for failure to compile due
527 to lack of pthreads runtime support from an error to simply an
528 unsupported test, per dejagnu standards.
530 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
532 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
533 where GDB exits to reduce pattern match time.
534 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
536 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
538 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
540 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
541 * gdb.base/default.exp: ditto.
542 * gdb.base/nodebug.exp: ditto.
543 * gdb.base/printcmds.exp: ditto.
544 * gdb.base/ptype.exp: ditto.
545 * gdb.base/setvar.exp: ditto.
546 * gdb.base/structs.exp: ditto.
547 * gdb.base/setshow.c: Guard against uninitialized values of argc.
549 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
551 * configure, */configure: Rebuild with autoconf 2.12.
553 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
555 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
556 use new i*86-pc-linux*-gnu quads.
557 * gdb.base/corefile.exp: Ditto.
558 * gdb.base/signals.exp: Ditto.
559 * gdb.base/sigall.exp: Ditto.
560 * gdb.base/interrupt.exp: Ditto.
562 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
563 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
566 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
567 linux. This allows the test case to at least compile on latest
568 linux, but still not run due to missing the threads runtime library.
570 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
572 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
573 directory to search gdb directory. Accept and step over conditional
574 stack alignment code. Consume $prompt in failure cases.
575 Reset timeout to $oldtimeout instead of some arbitrary value.
576 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
577 timeout problems with infinite stack backtraces.
578 * gdb.base/ptype.exp (ptype struct link, union tu_link):
579 Accept function parameters for linkfunc member.
581 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
583 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
584 (CXXFLAGS): Remove, unreferenced.
585 (B_OPTIONS): Add for -B options and add code to initialize with
586 previous -B options and also add -B option to pick up cross compiled
588 (TARGET_INCLUDES): Add for -I options and add code to initialize when
589 doing cross compiles.
590 (target_alias): Declare global.
591 (xgcc): Set variable to full path of gcc in build tree. Use findfile
592 to verify that gcc exists in build tree, and if so set CC to that
593 gcc and to use B_OPTIONS and TARGET_INCLUDES.
595 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
597 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
598 ptype test for anonymous union. Fixup testcase to match
599 current gcc debug output.
601 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
603 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
604 force argument to an unsigned long type.
606 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
608 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
609 tests and anonymous union print/ptype tests.
610 * gdb.base/list.exp (test_forward-search): Increase timeout by
611 5 minutes for the "search extremely long line" case.
612 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
613 completely optional and that the pass/fail messages use the command as
614 the message if that third arg is a null string.
615 (gdb_test_exact): Arrange that a null string pattern means match a
616 null string output rather than any output, which might include random
618 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
620 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
621 always failing and failure is now exposed by gdb.exp changes.
623 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
625 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
628 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
630 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
631 * gdb.stabs/weird.exp: Remove v_comb xfails.
633 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
635 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
636 list.exp scope.exp watchpoint.exp]
637 Make all timeout error msgs explicitly say "(timeout)".
639 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
641 * config/monitor.exp: Increase download timeout to 1000 seconds.
643 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
645 * config/m32r.exp: Increase timeout to 120 seconds.
647 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
649 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
650 and accept older ordering as obsolescent gcc or gdb.
651 * gdb.c++/templates.exp: Ditto.
652 * gdb.c++/virtfunc.exp: Ditto.
654 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
656 * gdb.base/coremaker.c: Add code to mmap some data so we
657 can check that it ends up in the core file.
658 * gdb.base/corefile.exp: Add test to read mmapped data
661 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
663 * config/m32r.exp: New file.
665 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
667 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
668 that cflags can contains -gstabs, and work correctly for other tests.
670 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
672 * gdb.base/setshow.exp: New file, tests show and set.
673 * gdb.base/setshow.c: New file, tests show and set.
674 * gdb.base/help.exp: Add test for help set|show annotate.
675 * gdb.base/default.exp: Add test for set|show annotate.
677 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
679 * testsuite/gdb.base/break.exp: Make backtrace from factorial
681 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
684 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
686 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
687 and width commands. This is done elsewhere.
688 * (gdb_start): Don't call gdb_start_sim here. That's already
689 done in gdb_load. This fixes lots of failures in default.exp.
691 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
693 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
694 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
695 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
696 in the same we we treat other failures (since it may be an expected
697 condition), rather than as an error.
698 * gdb.base/signals.exp (test_handle_all_print): Revert back to
701 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
703 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
704 (distclean maintainer-clean realclean): No need to remove files
705 twice. Nuke the duplicates.
706 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
707 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
708 Remove config.h along with other config files.
710 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
712 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
713 "p func1 ()" and note that rests of tests are skipped.
714 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
715 setup_xfails for "print func2::coremaker_local".
716 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
717 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
718 affected by the previous run test.
719 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
720 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
721 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
722 "pass int powerset tuple" and "pass modeless int powerset tuple".
723 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
724 "real write 4" and "real write 8".
725 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
726 setup_xfails for "print vs1 after tuple assign 2",
727 "print \$i after tuple assign 2", and
728 "print vs2 after tuple assign 2".
729 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
730 meaningful error message and return -1 so the caller can
731 suppress further tests and avoid a cascade of errors.
733 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
735 * gdb.base/a1-selftest.exp: Tweak tests to account for new
736 format for printing version.
737 * gdb.base/default.exp: Ditto.
738 * gdb.base/interrupt.exp: Fix problem with cascade of
739 errors if child process dies while calling a function.
741 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
743 * Makefile.in (VPATH): Add
744 * Makefile.in (Makefile, config.status): Fix rules so things get
745 remade when necessary.
747 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
749 * Makefile.in (just-check): Add path to sibling expect dir
750 to environment variable specified by RPATH_ENVVAR.
752 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
754 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
755 (just-check): Add shared library paths for libstdc++, tk,
756 tcl, bfd, and opcodes to the environment variable specified
758 * configure.in: Add support to recognize --enable-shared flag
759 and generate correct value for RPATH_ENVVAR.
760 * configure: Regenerated with autoconf.
762 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
764 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
765 include all osf versions.
766 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
767 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
768 when target is linux. When failing to build pthreads test
769 executable, give more meaningful message.
770 * gdb.threads/pthreads.c: Hpux also uses old definition of second
771 arg for pthread_create.
773 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
775 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
776 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
777 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
778 and -lpthreads (everybody else).
779 (test_startup): Fail gracefully if threads are not supported.
780 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
781 "p/c array_index("abcdef",2)" when not gcc compiled.
782 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
783 "print func2::coremaker_local" when not gcc compiled.
784 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
785 "ptype on opaque struct tagname (statically)",
786 "ptype on opaque struct tagname (dynamically) 1", and
787 "ptype on opaque struct tagname (dynamically) 2"
788 for not compiled with gcc.
789 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
790 backtrace when compiled with gcc.
791 * lib/gdb.exp (runto_main): Return result of "runto main" rather
792 than always return success.
794 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
796 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
798 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
800 * gdb.base/structs.exp: Undo last change.
802 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
804 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
805 encapsulate all the steps/nexts done during self test, starting
806 at main, and makes them less sensitive to optimization issues.
807 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
808 signal handler" test.
809 * gdb.threads/pthreads.exp: Only run this for native configs.
810 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
811 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
813 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
814 for "runto test_calls(void)" test.
816 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
818 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
819 and don't expect address info in breakpoint confirmations.
821 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
823 * gdb.base/list.exp (test_forward_search): Increase timeout
824 temporarily by 60 seconds for searching extremely long line,
825 and then reset to old value when done. Increase expect input
828 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
830 * gdb.base/list.exp (test_forward_search): Fix to handle very
831 long source line without overflowing expect's input buffer.
833 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
835 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
838 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
841 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
844 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
847 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
849 * configure.in (configdirs): Add gdb.threads.
850 * configure: Regenerated with autoconf.
851 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
852 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
853 * gdb.threads/configure: New, generated with autoconf.
855 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
857 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
859 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
861 * gdb.base/signals.exp (test_handle_all_print): Test separately for
862 each signal's status in the output of "handle all print".
863 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
864 the \r\n sequence that immediately precedes the gdb prompt.
865 * gdb.base/a1-selftest.exp: Save original timeout and restore
868 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
870 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
873 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
875 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
877 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
879 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
880 timeout by 60 seconds.
882 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
884 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
885 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
888 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
890 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
891 gdb initialization, also report how long dejagnu waited. Restore
892 old timeout before doing error return. Temporarily increase timeout
893 by 3 minutes to allow for slow startups over heavy NFS use.
895 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
897 * lib/gdb.exp: Report timeout value for verbosity level 2.
898 * config/gdbserver.exp: Ditto.
899 * config/hppro.exp: Ditto.
900 * config/mips-gdb.exp: Ditto.
901 * config/monitor.exp: Ditto.
902 * config/netware.exp: Ditto.
903 * config/sim-gdb.exp: Ditto.
904 * config/slite-gdb.exp: Ditto.
905 * config/udi-gdb.exp: Ditto.
906 * config/unix-gdb.exp: Ditto.
907 * config/vx-gdb.exp: Ditto.
908 * gdb.base/a1-selftest.exp: Ditto.
909 * gdb.base/a2-run.exp: Ditto.
910 * gdb.base/break.exp: Ditto.
911 * gdb.base/corefile.exp: Ditto.
912 * gdb.base/list.exp: Ditto.
913 * gdb.base/recurse.exp: Ditto.
914 * gdb.base/scope.exp: Ditto.
915 * gdb.base/signals.exp: Ditto.
917 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
919 * gdb.threads/Makefile.in (docdir): Removed.
921 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
923 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
924 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
926 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
927 autoconf 2.5 or higher.
928 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
930 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
932 * configure: Regenerated.
933 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
934 avoid name clashes with SunOS headers.
936 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
938 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
940 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
942 * gdb.base/callfuncs.exp: Finish last change -- make sure the
943 prototype information ends up in the compiler info file.
945 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
947 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
948 attempting to regenerate it. Eliminate use of a temporary file
949 and just generate the info file directly. Source it immediately,
950 for consistency of use.
951 * gdb.base/corefile.exp: Ditto
952 * gdb.base/exprs.exp: Ditto.
953 * gdb.base/funcargs.exp: Ditto.
954 * gdb.base/langs.exp: Ditto.
955 * gdb.base/list.exp: Ditto.
956 * gdb.base/mips_pro.exp: Ditto.
957 * gdb.base/nodebug.exp: Ditto.
958 * gdb.base/opaque.exp: Ditto.
959 * gdb.base/ptype.exp: Ditto.
960 * gdb.base/scope.exp: Ditto.
961 * gdb.base/setvar.exp: Ditto.
962 * gdb.base/signals.exp: Ditto.
963 * gdb.base/whatis.exp: Ditto.
964 * gdb.c++/templates.exp: Ditto.
965 * gdb.c++/virtfunc.exp: Ditto.
966 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
967 whether or not to add -lstdc++ to the compile command line args.
969 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
971 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
972 it got fixed by the recent lookup_minimal_symbol_by_pc change.
973 Increase timeout, a lot of single stepping might be needed if the
974 target has no hardware watchpoints.
976 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
978 * gdb.base/break.exp: Ignore compiler warnings when compiling
980 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
981 * gdb.base/default.exp: Add h8300 xfails. Handle messages
983 * gdb.base/exprs.exp: Add h8300 xfails.
984 * gdb.base/funcargs.exp: Likewise.
985 * gdb.base/nodebug.exp: Likewise.
986 * gdb.base/printcmds.exp: Likewise.
987 * gdb.base/ptype.exp: Likewise.
988 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
990 * gdb.base/return.exp: Handle float/double precision problems
992 * gdb.base/funcargs.c: Explicitly make last constant argument to
993 call_after_alloca_subr an unsigned long type.
994 * gdb.base/return.c: Include stdio.h.
996 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
998 * config/abug.exp: New file for the older Motorola Bug monitor
999 that runs on the mvme13x series VME boards.
1000 * config/monitor.exp: Use the new config array for target settings
1003 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
1005 * sim-gdb.exp: Make the SH simulator allocate less space when
1008 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
1010 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
1013 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
1015 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
1016 "rs6000-*-*" for "list function in include file" when gcc compiled.
1017 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
1018 for "p ctable1[120]".
1019 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
1020 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
1021 Remove setup_xfail for "rs6000-*-*" for
1022 "print 'scope0.c'::filelocal before run".
1023 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
1024 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
1025 since some compilers don't allow both options to be given
1026 on the same command line. Create object file and move it.
1028 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
1030 * gdb.base/corefile.exp: Always regenerate the core file, since
1031 we always regenerate the coremaker program. Detect special case
1032 where registers cannot be read from core file.
1034 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
1036 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
1037 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
1038 * gdb.c++/templates.exp: Only match on basename of file since
1039 some formats like xcoff don't encode directory information.
1040 * gdb.stabs/weird.exp: Use the right sed script for powerpc
1041 and rs6000 AIX xcoff targets.
1042 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
1043 * configure: Regenerate.
1044 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
1045 here, rather than in distclean.
1047 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
1049 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
1050 defined, and use it to compile the test case with -O2. The
1051 native compilation still uses no optimization.
1052 * gdb.base/mips_pro.c: Remove inline assembly code since
1053 it is compiled PIC by default, which results in assembler
1054 warnings that make the testsuite think the compilation
1057 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
1059 * gdb.c++/misc.exp: Add note to message for
1060 "print s.a for foo struct" that this is a known gcc 2.7.2
1063 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
1065 * gdb.base/break.exp: Fix pattern for matching "Delete all
1066 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
1067 setup_xfail for deleting all breakpoints test. Fix various
1068 timeout messages to include "(timeout)".
1069 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
1070 for "p t_float_values2(3.14159,float_val2)".
1071 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
1072 for "continue to call2g" when gcc compiled.
1073 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
1074 "up to foo in langs.exp", "show language at foo in langs.exp",
1075 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
1076 and "show language at fsub in langs.exp".
1077 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
1078 "list line 1 in include file", "list message for lines past EOF",
1079 "list function in include file", "list list0.h:foo", and
1080 "list filename:function; nonexistant function".
1081 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
1082 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
1083 and "ptype t_char_array" to be for native cc only.
1085 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
1087 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
1088 setup_xfail for "print coremaker_bss", "print coremaker_ro",
1089 "print func2::coremaker_local", and "backtrace in corefile.exp".
1091 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
1093 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
1094 "bt in signals.exp". This problem only appears when running
1095 the testsuite, and then only intermittently.
1097 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
1099 * gdb.base/return.exp (return_tests): Differentiate between
1100 two tests of continuing.
1102 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
1104 * */Makefile.in (maintainer-clean): Remove config.log.
1105 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
1106 * gdb.c++/Makefile.in (PROGS): Add inherit.
1107 (clean): Remove *.ci.
1109 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
1111 * gdb.c++/misc.cc: Add test code from Mike Stump.
1112 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
1114 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
1116 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
1117 to "alpha-*-osf2*" and add comment.
1118 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
1119 setup_xfail for "step over execarg initialization" and
1120 "step over corearg initialization".
1121 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
1122 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
1123 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
1124 gcc compiled for "print coremaker_bss", "print coremaker_ro",
1125 "print func2::coremaker_local", and "backtrace in corefile.exp".
1126 * gdb.base/signals.exp: Build and source signals.ci.
1127 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
1129 * lib/gdb.exp: Move verbose statements outside conditionals.
1131 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1133 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
1134 Feb 3 procfs.c change.
1136 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
1138 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
1140 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
1142 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
1143 from dejagnu's apparent default of 10 seconds, which gives random
1144 results when running the tests over NFS on moderately loaded systems.
1145 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
1147 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
1149 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
1150 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
1153 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
1155 * configure.in (CY_AC_PATH_TCLH): Remove.
1156 * configure: Regenerate.
1158 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
1160 * gdb.c++/Makefile.in (clean): Add missing '{'.
1162 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
1164 * lib/gdb.exp: Provide a default value for noinferior.
1166 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
1169 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
1171 * gdb.disasm/hppa.exp: Compile directly into an executable, use
1172 the executable, not the .o to run the tests from.
1174 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
1176 * gdb.base/break.exp: Don't test for program exit or exit status
1177 if $noresults if nonzero.
1178 * gdb.base/langs.exp: Likewise.
1179 * gdb.base/watchpoint.exp: Likewise.
1181 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
1182 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
1183 trying to compile the testcase.
1185 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
1187 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
1188 * gdb.base/signals.exp (continue to handler): Likewise.
1190 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
1192 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
1194 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
1196 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
1198 * gdb.base/corefile.exp: Recognize "not found" as failure
1199 when trying to determine if a core file was generated.
1200 If no core file was generate the first time, try again without
1201 the ulimit -c to work around braindamaged shells.
1203 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
1205 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
1206 [] tests with "test" and enclose string in quotes.
1207 * gdb.stabs/configure: Rebuild
1209 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
1211 Changes in sync with expect:
1212 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
1213 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
1214 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
1215 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
1216 argument to AC_REQUIRE.
1217 * configure: Regenerated.
1219 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
1221 * gdb.base/corefile.exp: When generating a core, discard any
1222 error messages about ulimit not found and the "core dumped"
1223 message from the shell that runs the coredumper.
1225 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
1227 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
1229 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
1230 which sed script to run. Expect failure for v_comb test
1233 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
1235 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
1236 "print func2::coremaker_local" and for "backtrace in corefile.exp"
1238 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
1240 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
1241 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
1242 "sparc-sun-solaris*" xfails for "p v_comb".
1243 * lib/gdb.exp (default_gdb_start): Fix typo.
1244 * gdb.base/corefile.exp: Allow "Core was generated by ..."
1245 messages to not include the full program name that caused
1246 the core dump since some systems (such as solaris) apparently
1247 truncate this path to about 80 characters.
1248 When generating a core file first try increasing the core file
1249 size limit to unlimited since some systems may default it to
1250 zero, and it is harmless to try it. Move the test for failing
1251 to generate a core file to where it will actually get executed.
1252 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
1253 new gdb result from g++ debug info improvements and make old
1254 pattern obsolescent. Also account for size_t differences
1255 (may be int or long).
1256 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
1257 initialization before function call is placed in the delay slot
1258 and thus appears to be skipped over by commands such as "next".
1260 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
1262 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
1264 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
1266 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
1267 input source file; fix code to compile test to deal with this
1269 * gdb.c++/*.exp: Likewise.
1271 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
1273 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
1274 "bt in signals.exp".
1276 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
1278 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
1279 "step over execarg initialization" and
1280 "step over corearg initialization".
1282 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
1284 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
1285 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1287 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
1289 From Rob Savoye (rob@poseidon.cygnus.com)
1290 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
1291 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
1292 configure.in}, gdb.disasm/{Makefile.in, configure.in},
1293 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
1294 configure.in}: Major reworking for autoconfig.
1295 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
1296 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
1298 * config/unix-gdb.exp: Make GDB global.
1299 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
1300 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
1301 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
1302 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
1303 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
1304 term.exp, twice.exp, watchpoint.exp, whatis.exp},
1305 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
1306 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
1307 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
1308 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
1309 pr-8136.exp, result.exp, string.exp, tuples.exp},
1310 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
1311 to returns as necessary, arrange for test to compile own testcase
1313 * lib/gdb.exp: Changes for testsuite to compile own test cases.
1315 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
1317 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
1318 clear_xfail at end of test which might not call either pass or fail.
1319 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
1320 "backtrace through signal handler".
1322 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1324 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
1325 continuing from a job control stop signal.
1326 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
1328 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
1330 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
1331 * gdb.base/corefile.exp: Likewise.
1332 * gdb.base/funcargs.exp: Likewise.
1334 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
1336 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
1337 * config/monitor.exp: Add support for setting baud rate.
1339 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
1341 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
1342 i*86-*-linux* xfails for "backtrace through signal handler".
1343 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
1344 "print func2::coremaker_local".
1345 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
1346 alpha-dec-osf2* xfail for
1347 "delete all breakpoints when none".
1349 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
1351 * gdb.base/break.exp: Change test that deletes all breakpoints
1352 when no user breakpoints are installed. A post 4.15 change
1353 causes gdb to no longer prompt in this case.
1355 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
1357 * gdb.base/return.exp (return_tests): Change xfail for test
1358 "correct value returned double test" to stop xfailing at
1359 Solaris 2.5. Apparently the bug has been fixed.
1361 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
1363 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
1364 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1366 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
1368 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
1369 * gdb.disasm/hppa.s: Corresponding changes.
1371 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
1373 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
1375 * config/mt-hpux: Deleted.
1377 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
1379 * Many files: When warning about suppressed tests due to a
1380 nonexistant test binary, avoid incrementing the warning count.
1382 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
1384 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
1386 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1388 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
1389 "sparc-*-solaris2*".
1391 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1393 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
1394 Add global and local variables and initialize them.
1395 * gdb.base/corefile.exp: Test correct mapping of corefile sections
1396 by printing variables. Remove rs6000 and powerpc xfails, BFD now
1397 extracts the file name and terminating signal from the core file.
1398 * TODO: Remove note about tests for correct mapping of corefile.
1399 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
1400 from optimizing it away.
1401 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
1402 handles common blocks.
1404 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
1406 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
1407 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
1409 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
1411 * Makefile.in (maintainer-clean): New target, synonym for
1413 * gdb.base/Makefile.in (maintainer-clean): Likewise.
1414 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
1415 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
1416 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
1417 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
1418 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
1420 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
1422 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
1423 xfails when not gcc compiled for "print foo::funclocal".
1424 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
1425 "print foo::funclocal at foo",
1426 "print 'scope1.c'::foo::funclocal at foo",
1427 "print foo::funclocal_bss at foo",
1428 "print 'scope1.c'::foo::funclocal_bss at foo",
1429 "print foo::funclocal_ro at foo",
1430 "print 'scope1.c'::foo::funclocal_ro at foo",
1431 "print bar::funclocal at foo" and
1432 "print 'scope1.c'::bar::funclocal at foo".
1433 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
1434 gcc compiled for "print foo::funclocal at bar".
1435 Expand all messages to ensure that they identify that
1436 the test is at bar().
1437 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
1439 "ptype on opaque struct pointer (statically)",
1440 "ptype on opaque struct tagname (statically)",
1441 "ptype on opaque struct pointer (dynamically) 1",
1442 "ptype on opaque struct tagname (dynamically) 1",
1443 "ptype on opaque struct pointer (dynamically) 2" and
1444 "ptype on opaque struct tagname (dynamically) 2
1445 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
1451 "whatis bsslocal", and
1453 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
1454 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
1455 when not gcc compiled.
1456 * gdb.base/funcargs.exp (float_and_integral_args): Add
1457 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
1459 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
1460 "backtrace from call6a" when not gcc compiled.
1461 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
1462 "backtrace from call7a" when not gcc compiled.
1463 * gdb.base/callfuncs.exp (do_function_calls):
1464 Add "hppa*-*-hpux*" xfail when not gcc compiled for
1465 "p t_char_array_values(char_array_val2,char_array_val1)",
1466 "p t_char_array_values(char_array_val1,char_array_val2)",
1467 "p t_char_array_values("carray 1","carray 2")",
1468 "p t_char_array_values("carray 1",char_array_val2)",
1469 "p t_char_array_values(char_array_val1,"carray 2")",
1470 "p sum_args(1,{2})",
1471 "p sum_args(2,{2,3})",
1472 "p sum_args(3,{2,3,4})",
1473 "p sum_args(4,{2,3,4,5})"
1474 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
1475 "backtrace in corefile.exp" when not gcc compiled.
1477 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1479 * gdb.base/signals.exp: Rewrite `handle all print' test as
1480 a procedure. Accept blanks or TABs as whitespace, increase
1481 timeout and expect input buffer size for the large output
1482 from the command. Remove "i*86-*-bsdi2.0" xfail.
1484 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1486 * gdb.base/setvar.exp: Add new testcases for truncation when
1487 assigning invalid values to bitfields.
1489 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
1491 * gdb.base/callfuncs.exp (do_function_calls): Remove
1492 mips-sgi-irix* xfail for
1493 "call inferior func with struct - returns char *"
1494 and fix test so that an optional (unsigned char *) cast is
1495 accepted in the result.
1497 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
1499 * gdb.base/funcargs.exp (float_and_integral_args): Remove
1500 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1501 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
1502 * gdb.base/signals.exp: Remove duplicate "handle all print" test
1503 that accidentally got checked in.
1505 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
1507 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
1508 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
1510 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
1511 Add mips-sgi-irix5* xfail for not gcc compiled.
1512 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
1513 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
1514 "p top", "whatis top", "p middle", and "whatis middle".
1515 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
1516 "whatis signed char" for not gcc compiled.
1517 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
1518 "set variable signed char=-1 (-1)" and
1519 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
1520 * gdb.base/funcargs.exp (float_and_integral_args):
1521 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
1522 Add mips-sgi-irix* xfail when not gcc compiled for
1523 "continue to call2b".
1524 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
1525 "continue to call2g".
1526 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
1527 "backtrace from call6a"
1528 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
1529 "backtrace from call7k".
1530 Add mips-sgi-irix5* xfail when not gcc compiled for
1531 "backtrace from call7a".
1532 (localvars_after_alloca): Fix gdb_test cmds for
1533 "print * after runto ...".
1534 Remove rs6000-*-* xfails for
1535 "print i after runto localvars_after_alloca" and
1536 "print l after runto localvars_after_alloca"
1538 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
1539 when not compiled with gcc, for:
1540 "print signed char == (minus)",
1541 "print signed char != (minus)",
1542 "print signed char < (minus)",
1543 "print signed char > (minus)".
1544 * gdb.base/callfuncs.exp (do_function_calls):
1545 Add mips-sgi-irix* xfail, when compiled with native compiler, for
1546 "call inferior func with struct - returns char *".
1547 * gdb.base/return.exp (return_tests): Change xfail for
1548 "correct value returned double test" to include Solaris 2.4.
1549 * gdb.base/funcargs.exp (float_and_integral_args):
1550 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1552 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1554 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
1555 enumeration bitfields if compiling with GNU C.
1556 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
1559 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
1561 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
1562 test for PRO targets.
1564 * gdb.base/funcargs.exp: Avoid ever setting more than 8
1565 breakpoints in the inferior at any given time by making
1566 two groups of breakpoints for call2*, call6* and call7*
1569 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1571 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
1572 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
1573 from optimizing it away.
1574 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
1575 "call inferior func with struct".
1577 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
1579 * configure.in: Only configure gdb.chill for particular targets.
1581 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
1583 * gdb.base/Makefile.in: Add action to .c.o transformation
1584 rule that generates a .ci file for each .o file and remove
1585 explicit .c.o rules except for callfuncs.o.
1586 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
1587 generates a .ci file for each .o file and remove explicit
1589 (clean): Remove *.tmp *.ci files.
1590 (EXECUTABLES): Remove templ-info.exp.
1591 * gdb.base/compiler.c: New file.
1592 * gdb.c++/compiler.cc: New file
1593 * gdb.base/scope.exp: Source gdb.base/scope.ci.
1594 Change rs6000-*-* xfail for
1595 "print 'scope0.c'::filelocal_ro" and
1596 "print 'scope1.c'::filelocal" and
1597 "print 'scope1.c'::filelocal_bss" and
1598 "print 'scope1.c'::filelocal_ro" and
1599 "print 'scope1.c'::foo::funclocal" and
1600 "print 'scope1.c'::foo::funclocal_ro" and
1601 "print 'scope1.c'::bar::funclocal" and
1602 "print 'scope0.c'::filelocal_ro" and
1603 "print 'scope1.c'::filelocal at foo" and
1604 "print 'scope1.c'::filelocal_bss at foo" and
1605 "print 'scope1.c'::filelocal_ro at foo" and
1606 "print 'scope1.c'::foo::funclocal at foo" and
1607 "print 'scope1.c'::foo::funclocal_bss at foo" and
1608 "print 'scope1.c'::foo::funclocal_ro at foo" and
1609 "print 'scope1.c'::bar::funclocal at foo" and
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_bss" and
1616 "print 'scope1.c'::foo::funclocal_ro" and
1617 "print 'scope1.c'::bar::funclocal" and
1618 "print 'scope1.c'::bar::funclocal_bss"
1619 to only be xfail'd when not compiled with gcc.
1620 Add rs6000-*-* xfail for
1621 "print 'scope0.c'::filelocal_bss before run"
1622 when compiled with gcc.
1623 (test_at_main): Add rs6000-*-* xfail for
1624 "print filelocal_ro in test_at_main"
1625 when compiled with gcc.
1626 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
1627 Add rs6000-*-aix* xfail for
1628 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
1629 "ptype t_char_array", not compiled with gcc.
1630 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
1631 xfail for "list foo (in include file)" when gcc compiled.
1632 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
1633 (integral_args): Add rs6000-*-* xfail for
1634 "run to call0a" if not compiled with gcc.
1635 (unsigned_integral_args): Add rs6000-*-* xfail for
1636 "run to call1a" if not compiled with gcc.
1637 (float_and_integral_args): Add rs6000-*-* xfail for
1638 "run to call2a" if not compiled with gcc and for
1639 "continue to call2b" for any compiler.
1640 Add rs6000-*-* xfail to
1641 "print f1 after run to call2a" for gcc compiled.
1642 (discard_and_shuffle): Add rs6000-*-* xfail for
1644 (shuffle_round_robin): Add rs6000-*-* xfail for
1645 "backtrace from call7a" if not compiled with gcc.
1646 Add rs6000-*-* xfail for
1647 "backtrace from call7b" if compiled with gcc.
1648 (call_after_alloca): Add rs6000-*-* xfail for
1649 "print c in call_after_alloca" and
1650 "print s in call_after_alloca" and
1651 "backtrace from call_after_alloca_subr"
1652 if not compiled with gcc.
1653 (localvars_in_indirect_call): Add rs6000-*-* xfail for
1654 "print c in localvars_in_indirect_call" and
1655 "print c in localvars_in_indirect_call" and
1656 "backtrace in indirectly called function" and
1657 "stepping into indirectly called function"
1658 if not compiled with gcc.
1659 (localvars_after_alloca): Add rs6000-*-* xfail for
1660 "print c after runto localvars_after_alloca" and
1661 "print s after runto localvars_after_alloca" and
1662 "print i after runto localvars_after_alloca" and
1663 "print l after runto localvars_after_alloca"
1665 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
1666 than whatis-info.exp.
1667 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
1668 than opaque-info.exp.
1669 Setup rs6000-*-* xfail for
1670 "ptype on opaque struct pointer (statically)" and
1671 "ptype on opaque struct pointer (dynamically)" when
1672 not compiled with gcc.
1673 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
1674 rather than callf-info.exp.
1675 (do_function_calls): Add clear_xfail for rs6000-*-* for
1676 "p t_float_values2(3.14159,float_val2)". Seems to work
1677 fine there, both with xlc and gcc. Need to find out what
1678 it is doing right and fix other platforms.
1679 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
1680 "call inferior func with struct - returns int",
1681 "call inferior func with struct - returns long",
1682 "call inferior func with struct - returns float",
1683 "call inferior func with struct - returns double",
1684 "call inferior func with struct - returns char *",
1685 but only if not gcc compiled (presumes xlc compiled).
1686 Change rs6000-*-* xfails for
1687 "call inferior func with struct - returns char" and
1688 " call inferior func with struct - returns short" to only
1689 xfail if not using gcc.
1690 (clean mostlyclean): Remove *.ci and *.tmp files.
1691 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
1692 than templ-info.exp.
1693 * gdb.base/langs.exp: Source gdb.base/langs.ci.
1694 Add rs6000-*-* xfail for "up to foo in langs.exp"
1695 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
1696 when not gcc compiled.
1698 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1700 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
1701 * gdb.base/corefile.exp: Likewise.
1702 * gdb.base/list.exp: Likewise.
1703 * gdb.base/scope.exp: Likewise.
1704 * gdb.base/siganls.exp: Likewise.
1706 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
1708 * gdb.base/whatis.exp: Likewise.
1710 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
1712 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
1713 failure (opcode table has been fixed to match reality).
1715 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
1717 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
1718 "call inferior func with struct - returns char",
1719 "call inferior func with struct - returns short"
1721 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
1722 "print 'scope0.c'::filelocal at main",
1723 "print 'scope0.c'::filelocal_bss in test_at_main",
1724 "print 'scope0.c'::filelocal at foo",
1725 "print 'scope0.c'::filelocal_bss in test_at_foo",
1726 "print 'scope0.c'::filelocal at bar",
1727 "print 'scope0.c'::filelocal_bss in test_at_bar"
1729 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
1730 in source file 1". This bug seems to have been fixed with both
1731 gcc and native cc (was native assembler bug?).
1733 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
1735 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
1736 "backtrace through signal handler" to "i*86-*-sysv4*".
1737 * gdb.base/signals.exp: Add xfail for "'next' behaved as
1738 continue" case. Add "known SVR4 bug" to fail message.
1739 Add "i*86-*-bsdi2.0" xfail for "handle all print".
1740 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
1741 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
1742 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
1743 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
1744 "up to foo in langs.exp", "show language at foo in
1745 langs.exp", "up to cppsub_ in langs.exp", "show
1746 language at cppsub_ in langs.exp", "up to fsub in
1747 langs.exp", and "show language at fsub in langs.exp".
1748 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
1749 "bactrace in corefile.exp".
1750 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
1751 "call inferior function with struct - returns float" and
1752 "call inferior function with struct - returns double".
1754 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
1756 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
1757 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
1758 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
1759 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
1761 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
1763 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
1764 (or overriden) "CHILL" macro rather then bare "gcc".
1765 Also look for ../../gcc/xgcc since that is what we will
1766 actually need, not "Makefile". Remove following assignment
1767 of CHILL to CHILL_FOR_TARGET because that results in
1768 recursive definition.
1770 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
1772 * gdb.base/corefile.exp: Change xfail for backtrace in
1773 corefile.exp from linuxaout to all linux.
1774 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
1775 cases where we miss the breakpoint at the signal handler
1776 for some reason. Setup xfail for linuxoldld/linuxaout and
1777 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
1778 hitting SIGURG breakpoint.
1779 * gdb.base/signals.exp: Setup xfail for "next" acting like
1780 continue to add linuxoldld. Setup xfail for all linux for
1781 "next to handler in signals_tests_1", "backtrace in
1782 signals_tests_1", "continue to func1", "pass SIGUSR1",
1783 and continue to handler".
1785 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1787 * Update all FSF addresses except those in COPYING* files.
1789 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
1791 * gdb.base/a2-run.exp: Change messages to be more explicit about
1792 the status of args, and quote binfile in results.
1794 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
1796 * gdb.base/callfuncs.exp: Add tests for passing structs to
1797 inferior functions and return various types.
1798 * gdb.base/callfuncs.c: Add functions to receive a struct
1799 and return a member of the struct, in various types.
1801 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1803 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
1805 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
1807 * config/vxworks29k.exp: New file, sources vxworks.exp.
1809 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1811 * config/gdbremote.exp: New file. Testing framework using
1814 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
1816 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
1817 "call function when asleep" and "send end of file".
1818 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
1819 for "backtrace in corefile.exp".
1820 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
1821 for "backtrace through signal handler".
1822 * gdb.base/corefile.exp: Make sure we actually generate a core file
1823 before trying the core tests. Some systems allow the user to suppress
1824 generation of core files and default to that (linux for example).
1825 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
1826 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
1828 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1830 * gdb.threads: New directory with some crude multi-threaded
1831 gdb tests (step.exp and step2.exp).
1832 * config/mt-lynx (STEP_EXECUTABLE): Define.
1833 (THREADFLAGS): Define.
1835 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
1837 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
1839 * gdb.base/signals.exp: Disable whole file for lynx until
1842 * gdb.base/signals.exp: xfail test where "next" acts like
1843 "continue" for lynx.
1845 * gdb.base/interrupt.exp: xfail test for calling function while
1846 inferior is asleep for lynx.
1848 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
1849 than one cr-lf after each command.
1851 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1853 * configure.in: Reinstate setting of stabsdirs variable, fix
1854 typo in setting up configdirs for native builds.
1856 * gdb.base/return.exp: Fix typo in return double test.
1857 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
1858 compiler from optimizing them away.
1860 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
1862 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
1863 sequences to be echo'd by gdb when using gdb_test.
1864 * gdb.chill/chexp.exp: Likewise.
1865 * gdb.fortran/exprs.exp: Likewise
1867 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1869 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
1870 after the inferior gdb has started.
1872 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
1874 * gdb.base/funcargs.exp: Likewise.
1875 * gdb.base/gdbvars.exp: Likewise.
1876 * gdb.base/interrupt.exp: Likewise.
1877 * gdb.base/list.exp: Likewise.
1878 * gdb.base/watchpoint.exp: Likewise.
1879 * gdb.c++/demangle.exp: Likewise.
1880 * gdb.c++/inherit.exp: Likewise.
1881 * gdb.chill/chexp.exp: Likewise.
1882 * gdb.fortran/exprs.exp: Likewise.
1884 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
1885 test if we can't handle IO to/from the inferior.
1887 * gdb.c++/misc.exp: Always check for a program already being
1888 started after sending a "run" command to gdb.
1890 * gdb.base/twice.exp: Start with a fresh gdb.
1892 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
1893 only depend on gdb's expression code, not the chill runtime.
1895 * gdb.base/return.c: Put return values into variables so we
1896 can have gdb print them rather than depending on the program
1898 * gdb.base/return.exp: Corresponding changes.
1900 * lib/gdb.exp: Provide default value for noinferiorio.
1901 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
1904 * gdb.base/break.exp: Always check for a program already being
1905 started after sending a "run" command to gdb.
1906 (text_next_with_recursion): Don't check the output from the
1907 program's printf statement. Instead just make sure the program
1910 * gdb.base/commands.exp: Protect tests which need arguments with
1911 $noargs conditionals.
1913 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1915 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
1916 of structure member arrays to match gdb/valops.c:value_addr change.
1918 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
1920 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
1923 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
1925 * configure.in (configdirs): Remove gdb.chill from default list
1926 of subdirs and then add it back in only if doing a native build.
1927 The current chill compiler does not yet work in any cross build.
1928 * Revert all signal changes from Jul 6.
1929 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
1930 for sh-hms targets, allowing these tests to link, with no other
1931 changes. Testing is suppressed by setting "nosignals" in site.exp.
1933 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
1935 * configure.in (signaldirs): Define and add to configdirs for all
1936 targets except some specific ones that are known to not support signals.
1937 Also clean up formatting.
1938 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
1939 (signals, sigall): Remove rules to build.
1940 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
1941 Moved to new gdb.signals directory.
1942 * gdb.signals: New test directory.
1943 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
1944 signals.c signals.exp}: New or moved files.
1946 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
1948 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
1950 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
1952 * gdb.base/return.exp: Xfail `return double' test failure
1953 on at least Solaris 2.3 and handle future/past versions on
1954 a case by case basis as appropriate. Also update message
1955 to include i*86 failures.
1957 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1959 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
1961 * lib/gdb.exp: Fix comment which erroneously identified
1962 gdb_file_cmd as gdb_load (the 19 May change was in fact to
1963 gdb_file_cmd not gdb_load).
1964 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1966 * gdb.base/setvar.exp: Make test names consistent between pass and
1967 fail cases. Use gdb_test more.
1969 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1971 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
1973 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1975 * gdb.base/help.exp: Fix expected help string for `show commands'.
1977 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1979 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
1981 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
1984 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
1986 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
1987 that loop eventually terminates. Fix Connection refused logic so
1988 that testsuite will expire nicely.
1990 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
1992 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
1993 config/rom68k.exp: New tcl glue for the appropriate monitors.
1994 These all just end up calling monitor.exp.
1995 * config/monitor.exp (gdb_target_monitor): Handle `Connection
1996 refused' by retrying. Cleanup some timeout issues.
1997 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
1998 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
1999 callers don't have to set/restore global timeout variable.
2001 * The following set of changes centralizes management of the global
2002 timeout variable. This way, it can be set in one target dependent
2003 place instead of dozens of places scattered throughout the test suite.
2004 If you need to lengthen a timeout, then you should either set timeout
2005 in one of the config/{target}.exp files, or multiply it by a factor.
2006 Setting it to an absolute value is always going to lose for some
2008 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
2009 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
2010 * gdb.base/funcargs.exp: Don't set timeout.
2011 * gdb.base/list.exp (test_forward_search): Only use local timeout.
2012 * gdb.base/printcmds.exp (test_print_string_constants
2013 test_print_array_constants): Don't set timeout.
2014 * gdb.base/ptype.exp: Don't set timeout.
2015 * gdb.base/recurse.exp: Don't set timeout.
2016 * gdb.base/return.exp: Don't set timeout.
2017 * gdb.base/watchpoint.exp: Don't set timeout.
2018 * gdb.c++/classes.exp (do_tests): Don't set timeout.
2019 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
2021 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
2023 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
2025 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2027 * lib/gdb.exp: Disable chill tests for irix5.
2029 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2031 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
2032 each test pass or fail.
2034 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2036 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
2039 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
2041 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
2043 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
2045 * config/est.exp: Fix copyright and comments. Remove dead code.
2046 Use targetname, serialport and baud variables instead of fixed
2048 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
2049 * config/cpu32bug.exp: New file to support cpu32bug monitors.
2051 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2053 * gdb.base/watchpoint.exp: Don't run
2054 test_watchpoint_triggered_in_syscall for sunos.
2056 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2058 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
2059 they don't seem to exist. Do include stdio.h.
2061 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2063 * gdb.base/a1-selftest.exp: Add alpha xfail.
2065 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2067 * gdb.base/watchpoint.c (main): Prompt before calling read().
2068 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
2069 Revise accordingly. Remove cruft about sending "123" several
2070 times, until it gets noticed. Clean up the "print buf[0]" stuff
2071 so that it passes or fails, and waits for prompts in the usual way.
2073 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2075 * gdb.base/recurse.exp: Fix comment.
2077 * TODO: Remove item about printing variables in nodebug.exp. Add
2078 item about enabling tests which are only run on some targets.
2080 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
2081 fail, make test names unique, use new gdb_test convention
2082 regarding pattern, use gdb_test more, etc.).
2084 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
2085 fail, make test names unique, etc.).
2087 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2089 * gdb.base/nodebug.c: Change return type of top and middle to
2091 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
2092 are fixed by the recent mdebugread.c changes. Allow `short ()'
2093 as type for top and middle.
2095 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2097 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
2098 nearly as I can tell, the whole thing was an accident in Stu's
2099 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
2100 to replace a send/expect pair with gdb_test, but ended up only
2101 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
2102 of 30 Mar 1995 took care of it, but left this vestigial comment
2103 which I am now nuking.
2105 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2107 * gdb.base/break.exp: Look for different line number for
2108 breakpoint at main depending on usestubs.
2110 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2112 * gdb.base/list.exp: Adjust some alternate expect patterns to
2113 match recent list0.c change. Add alternate expect pattern for
2114 output from `list default lines around main' for optimizing
2117 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2119 * lib/gdb.exp: If nosignals is not set, set it to 0.
2121 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
2123 * config/slite-gdb.exp: Responds to load symbol table prompt.
2124 * gdb.base/break.exp: Adjust line number, fix rerun.
2125 * gdb.base/langs0.c: Add #ifdef usestubs.
2127 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
2129 * gdb.base/list.exp: Adjust line contents after adding new lines in
2130 list0.c. Also fix a syntax error.
2132 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
2133 * gdb.base/break.exp: ditto.
2134 * gdb.base/list.exp: ditto.
2135 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
2136 * gdb.base/run.c: ditto.
2137 * gdb.base/list0.c: ditto.
2138 * gdb.base/funcargs.c: ditto.
2140 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
2142 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
2143 $targetname, $serialport and $baud instead of hardwired variables.
2144 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
2145 target doesn't support signals.
2147 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
2149 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
2151 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2153 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
2154 Don't rely on the value of an auto variable before it has been
2155 initialized. Use gdb_test more.
2157 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2159 * lib/gdb.exp (default_gdb_version): A version number must start
2160 with a digit, but other than that contains all characters up to
2161 the first whitespace character.
2163 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2165 * gdb.base/commands.exp (breakpoint_command_test): New tests.
2167 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2169 * gdb.c++/*.exp: Warn if executable does not exist. The original
2170 reason for skipping the warning was that configure.in sometimes
2171 intentionally skipped building the executables but the tcl code
2172 had no way of knowing. That (a) was always bogus with respect to
2173 error handling, (b) is no longer true (right now there is no way
2176 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
2178 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2180 * gdb.base/list.exp: Add expect patterns for output from
2181 SunPRO compiled executables.
2182 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
2185 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2187 * gdb.base/break.exp (test_next_with_recursion): Accept any line
2188 number (we are already testing that the correct source line text
2191 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
2192 that is what is intended, but something needed to be done to get
2193 sunos4 native working again.
2195 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
2197 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
2198 apparently went with a (very) old xfail.
2200 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
2202 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
2203 runto_main is a proc in gdb.exp that will do 'step' for target use
2205 * gdb.base/exprs.exp: ditto.
2206 * gdb.base/interrupt.exp: ditto.
2207 * gdb.base/opaque.exp: ditto.
2208 * gdb.base/printcmds.exp: ditto.
2209 * gdb.base/ptype.exp: ditto.
2210 * gdb.base/scope.exp: ditto.
2211 * gdb.base/setvar.exp: ditto.
2212 * gdb.base/signals.exp: ditto.
2213 * gdb.base/twice.exp: ditto.
2214 * gdb.c++/classes.exp: ditto.
2215 * gdb.c++/inherit.exp: ditto.
2216 * gdb.c++/templates.exp: ditto.
2217 * gdb.base/break.exp: no run and hit main for stubs. Change line
2218 numbers for breakpoints and info breakpoint.
2219 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
2221 * gdb.base/callfuncs.c: ditto.
2222 * gdb.base/exprs: ditto.
2223 * gdb.base/interrupt.c: ditto.
2224 * gdb.base/opaque0.c: ditto.
2225 * gdb.base/printcmds.c: ditto.
2226 * gdb.base/ptype.c: ditto.
2227 * gdb.base/scope0.c: ditto.
2228 * gdb.base/setvar.c: ditto.
2229 * gdb.base/signals.c: ditto.
2230 * gdb.base/twice.c: ditto.
2231 * gdb.c++/misc.cc: ditto.
2232 * gdb.c++/templates.cc: ditto.
2234 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2236 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
2238 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
2239 somewhere between `read' and `main.c'. I'm pretty sure the
2240 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
2241 and it isn't particularly useful.
2243 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
2245 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2247 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
2249 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
2251 * config/mt-slite: add LIBS and -nostdlib.
2252 * config/slite-gdb.exp: add this new file to support sparclite target.
2254 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
2256 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
2258 * gdb.base/a2-run.exp: Change argument to istarget from
2259 "*-*-vxworks" to "*-*-vxworks*".
2260 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
2262 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
2264 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
2265 will not runto main but do a 'step' to step out of breakpoint().
2266 * config/mt-slite: add -Dusestubs.
2268 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2270 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
2273 * gdb.base/signals.exp: Add test for "handle all print".
2274 * TODO: Remove "handle all print". Also remove item about
2275 checking copyright date (I don't like the idea of a spurious FAIL
2276 based on when we run the tests).
2278 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
2279 for SunOS4 (reason for failure not investigated). Remove
2280 redundant test for $binfile.
2282 * gdb.base/nodebug.c (array_index): Call malloc.
2284 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
2286 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
2288 * gdb.base/recurse.exp: Update gdb_test invocation to use new
2289 conventions and slightly simplify the matching regexp.
2291 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2293 * gdb.base/break.exp: Update gdb_test invocation to use new
2296 * lib/gdb.exp: If noargs is not set, set it to 0.
2298 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
2301 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
2303 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2305 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
2306 one argument of type "<non-float parameter>".
2308 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
2310 * config/rom68k.exp: New file to support Motorola IDP board.
2311 * gdb.base/a2-run.exp: Skip this file if noargs is set.
2312 * gdb.base/break.c: Change things around so that this program
2313 doesn't depend upon args. This is necessary to make remote
2314 targets work (in general, they can't take args).
2315 * gdb.base/break.exp: Don't try to send args to program. Don't
2316 expect output. Also, replace lots of code with gdb_test.
2318 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2320 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
2321 printing of '\'' (which is what the comment says we are testing,
2322 even though we were not), not '''.
2323 (test_integer_literals_rejected): Test that printing ''' is an error.
2325 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2326 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
2327 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
2328 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
2329 Use gdb_test not test_print_accept.
2330 * lib/gdb.exp: Remove test_print_accept.
2332 * gdb.base/signals.exp (signal_tests_1): Make pass message
2333 consistent with fail message.
2335 * gdb.base/whatis.exp: Remove xfails for printing char vs.
2336 unsigned char; the bug (PR 1821) is fixed.
2338 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
2340 * gdb.base/scope.exp (test_at_localscopes): Call pass for
2341 successful tests--makes xfailing them work right.
2343 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2345 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
2346 only \r\n, not .*. The test can pass .* as the last thing in
2347 $pattern if that is what it wants. In addition to providing this
2348 flexibility, this change should speed up pattern matching in cases
2349 where the pattern already ended with .* (there were a number of
2350 them). This change also helps catch bad patterns--in the old
2351 scheme the typo "char \*" instead of "char \\*" would pass. Now
2353 * Many .exp files: Update callers.
2355 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
2356 clearer and does not spuriously match multiple ('s. Likewise for
2359 * gdb.base/nodebug.exp: Test ability to call a function and pass
2360 it a string (even with no debugging info).
2362 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
2363 "p '\'", which is the same as "p ''" once tcl gets done with
2364 quoting, to "p '\\'", which I suspect is what is intended (one
2365 backslash gets sent to GDB).
2367 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
2369 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2371 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
2372 1817) was fixed literally years ago.
2374 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2376 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
2377 test, it causes stepping out of call_after_alloca_subr with
2378 optimizing compilers.
2379 (localvars_in_indirect_call): Consume GDB prompt if `finish'
2382 * gdb.c++/templates.exp: Source templ-info.exp only if
2383 the templates executable exists.
2385 * gdb.c++/misc.cc (class Contains_static_instance,
2386 class Contains_nested_static_instance),
2387 gdb.c++/classes.exp (test_static_members): Test printing of
2388 a class that contains a static instance of the class.
2390 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2392 * gdb.base/langs2.c (cppsub_): Don't prototype.
2393 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
2396 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2398 * lib/gdb.exp (skip_chill_tests): New procedure.
2400 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
2402 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
2404 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
2405 each expect pattern. Cuts runtime from 12 to about 4 seconds.
2407 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2409 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
2411 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
2412 disassemble 8, not 16, instructions for part 4.
2414 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
2415 support the latter anymore.
2417 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
2419 * gdb.base/callfuncs.c: Control use of prototypes based on
2420 NO_PROTOTYPES, not __STDC__.
2421 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
2422 t_float_values2 tests if prototypes in use.
2424 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
2425 t_double_values): When checking differences against DELTA, check
2426 that difference is within the range (-DELTA,DELTA), not just
2429 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
2431 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
2432 'file' command firts, then 'target', then 'load', this is due to gdb
2434 * config/mips-gdb.exp: Fix a couple regular exp bugs.
2436 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
2438 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
2439 FP load/store variants.
2440 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
2442 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2444 * gdb.base/term.exp: Do not give a warning if not native, it is
2445 not an abnormal condition.
2447 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
2449 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
2452 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2454 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
2455 are getting the version number.
2457 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
2458 if not native, it is not an abnormal condition.
2460 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2462 * lib/gdb.exp: Just use "file exists", rather than undocumented
2463 dejagnu procedure "findfile".
2465 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2467 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
2468 (LDFLAGS): Set to -Xlinker -Ur.
2470 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
2471 Removed, these values are set by lib/gdb.exp.
2473 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
2475 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2477 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
2478 of replicating gdb startup code.
2480 * config/mt-vxworks (LDFLAGS): Set to -r.
2481 (CFLAGS_FOR_TARGET): Removed.
2483 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
2484 (gdb) and gdb for vxworks uses (vxgdb).
2486 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
2487 executable is not in the tree and host != target, use sed and
2488 program_transform_name to determine the gdb name used by the
2491 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
2492 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
2494 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2496 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
2497 floats, chars, and shorts where there are ANSI-style function
2500 * gdb.base/langs.exp, gdb.base/langs*: New test.
2501 * gdb.base/Makefile.in: Build it.
2502 * TODO: Remove item about checking that C names don't get C++
2503 demangling applied; this test tests it.
2505 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2507 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
2508 went with the const70 xfail. The xfail went away a year ago.
2510 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
2512 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
2515 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
2517 * gdb.base/a1-selftest.exp: Don't run on hp300.
2519 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2521 * Makefile.in (site.exp): Set host_alias and target_alias as well
2522 as host_triplet and target_triplet.
2524 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2526 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
2528 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
2529 places as other ecoff systems).
2531 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
2534 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2536 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
2538 * gdb.base/nodebug.exp: Accept "function" in addition to "text
2539 variable and "variable" in addition to "data variable".
2540 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
2542 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
2544 * gdb.base/list1.c (long_line): Add additional statement at start
2546 * gdb.base/list.exp (test_forward_search): Update line number to
2547 reflect new statement.
2549 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2551 * gdb.base/signals.exp: Reinitialize searched source directories
2552 after gdb_start call.
2554 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
2556 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
2557 * gdb.stabs/Makefile.in: Likewise.
2559 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
2560 change. Instead split the tests into smaller pieces.
2561 * gdb.disasm/hppa.s: Corresponding changes.
2563 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2565 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2566 Quote ^C when passing it to stty. For some shells ^ is a pipe.
2568 * gdb.base/funcargs.exp: Modify many tests so that every test
2569 either passes or fails. Make some test names unique.
2571 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2573 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2574 Call stty to set interrupt character.
2576 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
2577 for HP assembler versus GNU assembler based on actual behavior of
2578 $(CC), rather than assuming that $(AS) is always the GNU assembler.
2580 * TODO: Suggest a few more stepping tests.
2582 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
2584 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
2585 restart GDB for h8300 after a continue.
2586 (return): Add pattern to match a29k-udi behavior.
2587 * gdb.base/nodebug.exp: Remove obsolete comment.
2588 * gdb.base/regs.exp: New file, testing of register displays.
2589 * gdb.base/return.exp: Fix typo in reference to $objdir.
2590 * gdb.base/whatis.exp: Always start with a fresh GDB.
2592 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2594 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
2595 higher, these tests generate a lot of output.
2597 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2599 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
2600 code following the catch silently ignored some errors; without the
2601 catch they should be thrown like any other tcl error. Also, the
2602 catch used "" instead of {} which meant all the callers who wanted
2603 to include one of the characters "[]$ had to quote it an extra time.
2604 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
2605 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
2606 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
2607 Remove extra quoting.
2609 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
2611 * gdb.base/commands.exp: Make test names unique; every test either
2612 passes or fails. Update some comments.
2614 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
2616 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2618 The following fixes a FAIL caused by the fact that the alpha stabs
2619 configuration didn't use the ".if alpha" code in weird.def.
2620 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
2621 bit pointer, so the 32 bit version works even on the alpha.
2622 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
2623 Remove the stuff which allowed us to have separate versions for
2624 alpha and everything else.
2626 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
2627 regexp which "info func operator\[\](" is supposed to match. Fix
2628 string to send to GDB. Note that GDB still doesn't work right. Add a
2629 new test for "info func .perator\[\](" which GDB does handle correctly.
2631 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
2633 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2635 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
2636 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
2637 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
2638 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
2639 it makes the tests harder to understand and confuses test-o-matic.
2640 The preferred style is that each test provides a PASS or a FAIL,
2641 and has a unique message (e.g. "continue #54" not just "continue")
2642 which is the same for the pass and the fail.
2643 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2644 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
2646 * gdb.base/printcmds.exp: Use test_print_accept. Remove
2647 prt_accept which was basically the same thing. Likewise for
2648 test_print_reject and prt_reject.
2649 * lib/gdb.exp (test_print_reject): Add some more error message
2650 patterns to match from the former printcmds.exp (prt_reject).
2651 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
2652 One defect of the passcount stuff is that some of it failed to
2653 report XPASS where appropriate.
2654 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
2655 stuff before and after arg in expected pattern.
2656 (test_paddr_operator_functions): Re-do test without print_addr_of;
2657 this is the only test which seems to want extra stuff there.
2659 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2661 * gdb.base/nodebug.exp: Update new tests to reflect improved
2662 wording of gdb output.
2664 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
2665 and "ptype" work on variables in files compiled without -g.
2666 Replaces commented out "maint print msymbol" tests.
2668 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2670 * gdb.base/setvar.c (dummy): Call malloc.
2672 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
2673 losing with the irix4 sed.
2675 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
2678 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2680 * TODO: Remove items about corefile.exp testing new exec-file and
2681 backtrace; both are now done. Add items about printing enums.
2683 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2685 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
2686 "get signal $thissig" test fails.
2688 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
2690 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2692 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
2693 compiler warning with dec alpha compiler.
2695 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
2696 extra \n from gdb_test call (this explains why the prompt test
2697 that I removed yesterday was there).
2698 (user_defined_command_test): Remove extra \n and prompt test.
2700 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
2701 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
2703 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
2704 Also remove alpha workaround, which turns out to be because
2707 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
2709 * gdb.base/help.exp: Don't test "help show".
2711 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2713 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
2714 "set print address" is on.
2715 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
2716 pass prompt to gdb_test; gdb_test already looks for the prompt.
2718 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
2720 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
2721 was a vestige of the manual TESTSTRATEGY, and the purpose of it
2722 was to make sure that gdb can read a core file. But (a) the "read
2723 the corefile" part didn't make it to a1-selftest.exp, we just
2724 delete the corefile after creating it, and (b) we test reading
2725 corefiles in corefile.exp anyway. Also, this test left around a
2726 xgdb process on Solaris.
2728 * gdb.base/corefile.exp: Also test backtrace.
2730 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
2732 * gdb.base/commands.exp: Test a simple user defined command with
2733 arguments and if/while statements; verify the full user command is
2734 printed by "show user".
2736 * gdb.base/commands.exp: Test if/while commands as part of a
2737 breakpoint command list; verify they appear in breakpoint
2740 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2742 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
2743 than by dividing by zero.
2745 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
2747 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
2748 performing an inferior call with watchpoints enabled.
2749 * gdb.base/watchpoint.c (main): Delete second unnecessary read
2752 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2754 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
2757 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
2758 Add additional pattern for when "int operator int(void);" appears
2759 in a different order.
2761 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2763 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
2765 * gdb.base/help.exp: Replace most of docstrings for "info signals"
2766 and "signal" with ".*".
2768 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2770 * TODO: Add note about "handle all nostop".
2772 * gdb.base/{sigall.c, sigall.exp}: New test.
2773 * gdb.base/Makefile.in: Add it.
2775 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
2777 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
2778 when invoking GDB, suppresses any windowing interface.
2780 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
2782 * config/sim-gdb: New file, simulator testing support.
2784 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
2786 * gdb.base/interrupt.exp: Test calling func1 twice.
2788 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
2790 * gdb.base/list.exp (test_forward_search): Set timeout higher
2791 when we'll be getting lots of output from gdb.
2793 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
2794 "init_malloc" to after the expect statement. Run it if that
2795 regexp is taken, but also for two others which happen if source
2798 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2800 * gdb.base/printcmds.exp: New test, for printing register before
2803 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2805 * gdb.base/list.exp: Correct some alternate expect patterns
2806 to reflect changes in list1.c.
2808 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2810 * TODO: Add item regarding large frames.
2812 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
2814 * TODO: Remove item about enabling return.exp; it
2815 is enabled. Suggest a few more "return" tests.
2817 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2819 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
2822 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2824 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
2825 and pr-5646.o, so "make" is the same as "make all", not "make
2828 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
2830 * gdb.base/list.exp: Adjust expectations to reflect changes in
2832 (test_forward_search): New test proc.
2833 * gdb.base/list1.c (long_line): New function, has long source line.
2835 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
2837 * gdb.base/a1-selftest.exp: Change initial stepping to know about
2838 additional line of code that was added.
2840 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
2842 * gdb.disasm/hppa.s: Break the large branching tests into smaller
2843 tests so as not to overflow expect's input buffers.
2844 * gdb.disasm/hppa.exp: Corresponding changes.
2846 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2848 Beginnings of template debugging tests.
2849 * gdb.c++/templ-info.cc: New file to test for template
2850 debugging capability of the compiler.
2851 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
2853 * gdb.c++/templates.cc: Add explicit template instantiations
2854 to enable compiling with -fno-implicit-templates. Add destructor
2855 and 'value' method to T5 class for template tests.
2856 * gdb.c++/templates.exp: Add testcases for printing of template
2857 types, setting breakpoints on template methods and calling a
2860 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
2862 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
2863 branch target since some assemblers (gas-2.5) may emit a
2864 relocation for the branch instead of resolving it in the
2867 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2869 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
2870 through signal handler.
2872 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2874 * configure.in (*-*-netware): Use config/mt-netware.
2876 * config/mt-netware: New file.
2877 * config/mt-i386-netware: Removed, separate configs for different
2878 netware architectures are no longer needed now that we have
2881 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2883 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
2884 by the recent changes to use ANSI C arithmetic conversions.
2886 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2888 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
2889 bug involving using inferior_pid to figure out whether to select a
2892 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
2894 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
2895 match the current disassembler output.
2897 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
2899 * gdb.fortran/exprs.exp: Expect VOID instead of void.
2900 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
2901 types, expect "int" as type of integer values (for now).
2903 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
2905 * gdb.base/commands.exp: New tests for if/while commands.
2907 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
2909 * lib/gdb.exp (runto): Replace sub-pattern for hex value
2910 by .*, since hex values have different syntax in Chill mode.
2912 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2914 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
2915 linefeed from expect pattern for repeated types with indices > 9.
2917 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
2919 First part of Fortran test suite.
2920 * gdb.fortran: New directory.
2921 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
2923 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2925 * gdb.base/default.exp: Update expect pattern for load command
2928 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2930 * configure.in: Change i386 to i[345]86.
2931 * gdb.base/configure.in: Likewise.
2932 * gdb.c++/configure.in: Likewise.
2933 * gdb.chill/configure.in: Likewise.
2935 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2937 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
2938 patterns, since that is not a valid context for comments.
2940 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
2942 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
2943 repeated types and repeated types with indices > 9.
2945 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
2947 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
2948 2417; old bug has been fixed.
2950 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
2952 * gdb.base/interrupt.exp: When trying to wake up the inferior,
2953 send the newline ourselves instead of assuming gdb_test will do
2954 so when passed an empty input string.
2956 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
2959 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2961 * lib/gdb.exp (gdb_test): Don't send anything if the first
2962 argument is an empty string. This makes cases where we want to
2963 match output that is already in expect's buffers (for example,
2964 matching a breakpoint after gdb_run_cmd has been called) work
2967 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2969 * config/netware.exp: New file.
2971 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2973 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
2974 the -B and -L prefixes so we can find the debugging stub.
2976 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
2977 there and we are using the gcc from the tree.
2979 * gdb.base/types.c: Removed.
2981 * gdb.base/configure.in: Look for makefile fragments in ../config.
2982 Recognize i386-*-netware.
2983 * gdb.c++/configure.in: Likewise.
2985 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2987 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
2988 the correct TCL syntax.
2990 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2992 * gdb.base/opaque.exp: use runto instead of messing around with
2993 breakpoints. Simplify by using gdb_test.
2995 * gdb.base/bitfields.exp: restart between tests on netware targets
2996 because breakpoints aren't relocated after target death. Run
2997 processes to completion.
2999 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
3001 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
3003 * Makefile.in: Remove extra tabs that confuse some versions
3004 of "make". Use the newly built gdb to test with by default,
3005 rather than the first one in the tester's search path.
3007 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
3009 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
3011 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
3014 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3016 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
3018 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
3020 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
3021 * gdb.base/funcargs.exp: Likewise.
3023 * gdb.base/bitfields.exp: Simplify by using gdb_test.
3024 * gdb.base/funcargs.exp: Likewise.
3026 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
3029 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3031 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
3032 return,signals,twice}.exp: Handle non-existant binaries
3035 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
3036 * gdb.base/Makefile.in: Don't try to generate a core dump, we
3037 might testing a cross development system.
3039 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3041 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
3042 runtest script is relative to ${srcdir}, not ${rootdir}.
3044 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
3046 * gdb.base/signals.exp: Allow for optionality of breakpoint
3049 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3051 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
3053 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3055 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
3056 for size_t definition.
3057 * gdb.c++/templates.cc: Likewise
3059 * config/mt-i386-netware: New file.
3061 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
3064 * gdb.base/Makefile.in: Added support for systems that name core
3065 files by appending "core" to the program name.
3066 * gdb.base/a1-selftest.exp: Likewise.
3068 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3070 * gdb.base/return.exp: Add comment and message for `return double'
3071 test failure on Sparc Solaris.
3073 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
3075 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
3077 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3079 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
3080 from optimizing them away.
3081 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
3082 patterns to include default constructors and assignment operators,
3083 to match gcc versions beyond 2.5.8. Accept any cplus demangling
3084 character in the output of the virtual base pointer.
3086 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3088 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
3089 expression match in print_addr_of to avoid unintented matches.
3090 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
3091 versions up to 2.5.8.
3093 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3095 * gdb.base/list.exp: Tweak alternate pattern for listing of an
3096 included file to run under newer versions of expect.
3097 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
3098 consecutive >'s in templates to accomodate recent cplus-dem.c change.
3099 Remove xfail for the virtual table of BDDHookV.
3101 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
3103 * lib/gdb.exp (string_to_regexp): Set a default result.
3104 (default_gdb_start): Fix misleading message.
3106 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
3108 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
3109 Remove all CC, etc definitions.
3110 * config/mt-hpux: New file.
3111 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
3112 (CFLAGS, LDFLAGS): Define.
3113 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
3115 * Makefile.in (site.exp): Don't insert host_os, etc.
3116 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
3117 (distclean): Check existence of subdir.
3118 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
3119 * gdb.base/Makefile.in: General cleanup and simplification.
3120 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3121 to build executables. Use default rule to build .o files.
3122 (EXPECT, RUNTEST, CC): Fix relative pathname.
3123 (site.exp): Don't insert host_os, etc.
3124 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
3125 and/or SIGUSR1 defined.
3126 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
3127 * gdb.c++/Makefile.in: General cleanup and simplification.
3128 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3130 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
3132 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
3134 * gdb.base/recurse.exp: Misc changes to get tests running again
3135 after Kung's changes to the watchpoint code.
3136 * gdb.base/watchpoint.exp: Likewise.
3138 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
3140 * lib/gdb.exp (string_to_regexp): Convert {\} also.
3142 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
3144 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
3145 * lib/gdb.exp (default_gdb_start): Define.
3146 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
3147 gdb.base/funcargs.exp, gdb.base/opaque.exp,
3148 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
3149 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
3150 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
3151 Don't call gdb_target_udi in between tests.
3153 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3155 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
3156 (which was basically just a local version of the same thing). In
3157 addition to avoiding duplication, gdb_test_exact is faster.
3158 * lib/gdb.exp (gdb_test_exact): Fix typo.
3160 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
3161 don't give an error.
3163 * gdb.base/term.exp: Call delete_breakpoints before starting.
3165 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
3168 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3170 Reorganization of the GDB Test Suite.
3172 * gdb.base: New directory, contains all the basic tests.
3173 * gdb.c++: New directory, tests specific to C++.
3174 * gdb.chill: New directory, tests specific to Chill.
3175 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
3176 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
3177 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
3178 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
3179 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
3181 * */gdbme.*: Rename to match appropriate expect scripts.
3182 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
3183 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
3184 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
3185 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
3186 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
3187 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
3188 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
3189 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
3190 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
3191 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
3192 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
3193 gdb.c++/virtfunc.cc: New names of C++ files.
3194 * gdb.chill/chillvars.ch: New name of Chill file.
3195 * gdb.base/configure.in, gdb.c++/configure.in,
3196 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
3197 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3198 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
3199 * configure.in (configdirs): Update to reflect directory changes.
3200 (target_abbrev): No longer define for any configuration.
3201 * Makefile.in: Cosmetic improvements to header comments.
3203 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
3205 Various changes to gdb.t31:
3207 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
3208 * gdbme.ch: Make all key-words and predefineds be upper-case.
3209 * chillvars.exp: Expect key-words and predefinds in upper-case.
3211 * chillvars.exp: Use gdb_test_exact many places.
3212 Change expected output for arrays (which now includes index labels).
3214 * pr-5020.exp, gdme.ch (module PR_5020):
3215 New test, for PR-5020.
3217 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
3219 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
3220 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
3222 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
3224 * Makefile.in: Fix bit-rot in definitions of CHILL,
3225 CHILL_FOR_TARGET and Chill_LIB.
3226 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
3227 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
3228 CHILL, and CHILL_LIB.
3230 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
3232 * Revert the previous changes. Please see Rob's directory
3233 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
3235 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
3237 * Makefile.in, configure.in, config/mips-gdb.exp,
3238 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
3239 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
3240 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
3241 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
3242 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
3243 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
3244 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
3245 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
3246 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
3247 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
3248 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
3249 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
3250 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
3251 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
3252 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
3255 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
3257 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
3258 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
3259 Rob's new testing fragments.
3261 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
3263 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
3264 lib/gdb.exp: Replace error proc calls with perror.
3266 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3268 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
3269 version also, match on casted version strings, and match on
3270 gdb startup case where the line numbers might be messed up.
3272 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
3274 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
3275 (CFLAGS): Delete it from here.
3277 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
3279 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
3281 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
3283 * Makefile.in (RUNTEST): Default to just "runtest".
3285 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3287 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
3288 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
3289 the code has been restructured.
3291 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3293 * gdb.t00/default.exp (set write): Allow any number of \r and/or
3294 \n, not just one of each.
3296 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
3297 /bin/cc gives a warning if you do.
3299 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
3301 * gdb.t24/demangle.exp: change expect pattern of
3302 __t10ListS_link1ZUiRCUiPT0
3304 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3306 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
3307 on local variables in recursive functions.
3309 * gdb.t07/Makefile.in: Build the new test.
3311 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3313 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
3314 directly. Instead compare the return values from actual calls.
3316 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
3318 * Makefile.in (check): Set TCL_LIBRARY for runtest.
3320 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3322 * From Peter Schauer with minor modifications.
3323 * gdb.t15/return.exp (return_tests): Handle targets where "return"
3324 stops in mid-line in the caller. Add xfail for returning a float
3325 value on X86 targets.
3327 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3329 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
3330 to avoid expect lossage.
3331 (fmem_LRbug_tests): Likewise.
3332 * gdb.disasm/hppa.s: Corresponding changes.
3334 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
3335 conditions to work with latest dejagnu/expect.
3337 * gdb.t15/funcargs.exp (finish from indirect call): No longer
3338 expected to fail on the PA.
3339 (backtrace in call with trampolines): Explicitly require main
3340 to be frame #1 (no trampolines should show up in backtrace).
3342 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
3344 * gdb.t06/break.exp: Likewise.
3345 * gdb.t07/watchpoint.exp: Likewise.
3346 * gdb.t13/bitfields.exp: Likewise.
3347 * gdb.t15/{funcargs,return}.exp: Likewise.
3348 * gdb.stabs/weird.exp: Likewise.
3349 * config/{mips,udi}-gdb.exp: Likewise.
3351 * hppa.sed: Enclose comments within a sed command to avoid
3352 losing with the old OSF1 sed.
3354 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3356 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
3358 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
3359 * gdb.t15/funcargs.exp: Conditionally step again to really
3360 finish from marker_call_with_trampolines. Handle the case where
3361 the first step from within call_with_trampolines already steps
3363 * gdb.t15/gdbme.c: Add comment to closing brace of
3364 call_with_trampolines for funcargs.exp.
3366 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3368 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3371 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3373 * gdb.t07/gdbme.c: More code for watchpoint testing.
3375 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
3376 "Hardware watchpoint" throughout file.
3377 (test_watchpoint_triggered_in_syscall): New test.
3378 (test_complex_watchpoint): New test.
3380 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3382 * gdbme.c (call_with_trampolines): New function to try and step
3383 into. Tests trampoline problems on the PA.
3385 * funcargs.exp (localvars_in_indirect_call): No longer expect
3386 stepping into indirect call to fail on PAs.
3387 (test_stepping_over_trampolines): New test.
3389 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3391 * TODO: Add suggestions for static member function tests, and
3394 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3396 * TODO: Add suggestions for "p/a" tests.
3398 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
3399 (default_gdb_exit): Replace all the hair with sending "quit" to
3400 the process with a simple close.
3402 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3404 * TODO: Add suggestions for shared library tests.
3406 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3408 * TODO: Add suggestions for x/s tests.
3410 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3412 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
3413 "enable once", and "enable breakpoints once" with ".*".
3415 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3417 * TODO: Add suggestions about structure passing tests.
3419 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3421 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
3422 the primary1 test, use work around if __GNUC__ < 2.
3423 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
3424 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
3425 Test for bad output rather than waiting for timeout. Issue
3426 second continue only if first continue failed.
3428 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3430 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
3431 operator[] test with gdb_test because the old code didn't seem to
3432 be getting the quoting right with the new dejagnu.
3434 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
3436 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
3438 * Makefile.in: Use a fresh expect if there is one, use runtest
3439 from the src tree if there is one.
3441 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3443 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
3444 next over recursive call. Revise the tests from that point on
3445 (which had been skipped) to match GDB's actual (correct) output.
3447 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
3448 with next over a breakpoint whose condition is false.
3450 * gdb.t00/help.exp: Comment out "help set print" tests just like
3451 (and for same reason as) "help set" test.
3453 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3455 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
3456 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
3458 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3460 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
3461 necessary gdb_target_udi.
3463 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
3465 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
3466 1838 and 2417; they are fixed.
3468 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
3469 gdb.t03/ptype.exp (ptype structure, ptype union):
3470 Remove xfails; the test is looser than when the xfails were added.
3472 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
3473 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
3475 * gdb.t01/run.exp: Only run shell test if isnative.
3477 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
3478 since "run" automatically loads if necessary. Call gdb_target_udi
3479 after the "file" since "file" kills any execution target.
3481 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
3482 GDB. GDB doesn't work that way (not anymore at least) on UDI.
3483 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
3486 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3488 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
3490 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
3492 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3494 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
3495 properly quoting regexps. This makes the second argument to
3496 demangle a fixed string, which matches the callers, instead of a
3497 shell-style pattern which is what the previous implementation
3498 used. Update some of the callers.
3500 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3502 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
3503 (comib_nullified_tests): Fix typo.
3504 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
3505 strings. No longer expected to fail.
3507 * gdb.disasm/hppa.s (addib_tests): Fix typo.
3508 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
3509 strings. No longer expected to fail.
3511 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
3512 string. No longer expected to fail.
3514 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3516 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
3517 No longer expected to fail.
3519 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
3520 string. No longer expected to fail.
3522 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3524 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
3525 only in the names (I probably got most of them). I was even
3526 generous with some which differed in underscores in names, and
3527 probably missed a few, and I *still* was able to remove almost a
3528 third of the file with almost no impact on testsuite coverage.
3530 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3532 * gdb.t00/default.exp: Match udi_attach error message as well as
3533 the one from child_attach.
3535 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
3537 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
3539 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
3540 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
3542 * Move test with enums and partial symbols back to
3543 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
3544 Reverts the change of 26 May 93. Per today's change to
3545 stabs.texinfo, the behavior that weird.exp was expecting was
3546 unreasonable; what is important is that the compiler+gdb get
3547 things right, which happens with a recent gcc. Also fix the test
3548 to deal with native compilers which put out the stab gdb can't
3551 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3553 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
3554 in the names. The main thing these accomplish is to slow things down.
3555 Many more such duplicates surely remain.
3557 * gdb.t00/help.exp: Comment out "help support" test just like
3558 (and for same reason as) "help set" test.
3560 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
3562 * gdb.t06/break.exp: Remove setup_xfails for
3563 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
3564 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
3565 about known bug in gcc to include up through 2.5.8.
3566 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
3568 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
3569 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
3570 with latest gcc and gdb.
3571 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
3574 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3576 * configure.in (hppa*-*-*): Also configure and build stabs-only
3579 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3581 * gdb.t10/hppa.mt: A makefile fragment for the PA.
3582 * gdb.t10/configure.in (hppa*-*-*): Use it.
3584 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3586 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
3588 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3590 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
3591 versions prior to 1.13.5.
3593 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3595 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
3596 the prompt is at the start of a line.
3598 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3600 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
3601 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
3602 in the copr tests now.
3603 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
3604 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
3607 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
3609 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
3610 gdb.t31/chillvars.exp, lib/gdb.exp:
3611 Tweak to run under either version of expect.
3612 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
3613 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
3614 * gdb.t11/list.exp: Remove extraneous whitespace.
3616 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3618 * gdb.t16/printcmds.exp (test_print_strings): Accept
3619 "(unsigned char *) " before the string.
3621 * TODO: Add notes about printing of fancy types and GDB expressions.
3623 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
3625 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
3626 * gdb.t06/configure.in: Don't try to compile signals test program
3627 if doing mips-idt-ecoff.
3629 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
3631 * Most .exp files: Tweak to run under either version of expect.
3633 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3635 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
3636 xfails; I'm not sure why they are failing, but not because of PR 1806.
3638 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
3640 * config/unix-gdb.exp: Remove gdb_unload cause it's already
3641 defined in lib/gdb.exp.
3643 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3645 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
3646 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
3647 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
3648 have to be typeless.
3650 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3652 * TODO: Add suggestion for copyright year test.
3654 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
3656 * configure.in (*-*-lynxos*): Add stabs tests.
3658 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3660 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
3661 so insert a tab before any assembler directive in column zero.
3663 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
3665 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
3667 (fpu_short_memory_tests): Likewise.
3669 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3671 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
3672 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
3673 .stabs directives in comments.
3675 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3677 * TODO: New file, describing tests we could write.
3678 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
3680 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3682 * gdb.t06/signals.exp: Add kludge to force re-sync.
3684 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
3685 to xgdb instead of gdb, get out of gdb.
3687 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
3689 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
3692 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3694 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
3695 * gdb.stabs/configure.in (hppa*-*-*): Use it.
3696 * gdb.stabs/hppa.sed: New sed script for the PA.
3698 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3700 * gdb.stabs: Re-write weird.def and configuration to use sed
3701 instead of cpp. sed is portable and POSIX; cpp is neither.
3703 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3705 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
3707 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3709 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
3711 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3713 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
3715 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
3716 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
3718 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3720 * lib/gdb.exp: Comment out code which depends on non-existent
3721 `transform' procedure.
3723 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
3725 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
3726 * lib/gdb.exp: Transform tool name.
3727 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
3728 1.1's new error handling system.
3730 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3732 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
3734 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3736 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
3737 They made pattern matching so slow that timeouts happened on
3738 heavily loaded systems. Now any output from "show print" which
3739 gets us back to the GDB prompt is a PASS.
3741 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
3743 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
3745 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3747 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
3749 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
3750 It is not from PR 3220.
3752 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3754 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
3755 just started failing because they depended on the order the
3756 subcommands are presented, or exact docstring text. This kind of
3757 test is a pain and has minimal benefit.
3759 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3761 * gdb.t09/corefile.exp: At end of test, use "core" command with
3764 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
3766 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
3767 17}/Makefile.in: Make it possible to run the testsuite with Sun
3768 make and CC = cross gcc by adding explicit build rules for .o
3771 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3773 * gdb.t15/funcargs.exp: Don't put comments on same line as
3774 setup_xfail (@#$*%& tcl braindamage!).
3776 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3778 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
3780 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
3782 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
3783 * gdb.t20/inherit.exp: remove three dumplicate entries.
3785 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3787 * gdb.t06/break.exp: For "next over recursive call", fail on any
3788 incorrect output, not just on "factorial (value=2)".
3790 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3792 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
3793 working now. Add an xfail if accesing a bss variable causes
3794 a memory error if the target is not yet run.
3796 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3798 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
3799 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
3800 name of __st* demangling (2 strings). Did Kung really get the
3801 more than 95 others right without testing them?
3803 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
3805 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
3807 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
3809 * configure.in (configdirs): Add gdb.disasm
3810 * gdb.disasm: New directory for GDB disassembler tests.
3811 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
3813 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3815 * gdb.t00/help.exp: Don't test "help set".
3817 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
3818 from within expect statements. None of these happen anymore and
3819 they cause regressions to be silently unnoticed.
3821 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
3822 messages) about known failures with gcc cygnus-2.4.5-930417.
3824 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
3825 comp-info.exp so it gets built if it doesn't exist.
3827 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
3828 it is no longer used.
3829 * gdb.t13/comp-info.c: Removed.
3831 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3833 * gdb.t06/signals.exp: Add xfail for sun3.
3835 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3837 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
3838 relevant because ^C doesn't get sent but failure can be reproduced
3841 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3843 * gdb.stabs/alpha.mt: New configuration file for alpha.
3844 * gdb.stabs/configure.in: Use it.
3845 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
3846 sharing with alpha.mt, redefine long to word via preprocessor.
3847 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
3849 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
3851 * gdb.t00/teststrategy.exp: Change expect string so that we
3852 consume the `(xgdb)' from the command echo and from the gdb prompt.
3853 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
3854 gdb currently compares all values as long, so this failure probably
3855 applies to any configuration where LONGEST is bigger than a target int.
3856 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
3858 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
3859 to handle opaque pointers, gcc is.
3860 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
3861 as first argument. Include <sys/types.h> and change all operator
3862 new definitions to use size_t.
3863 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
3864 now that we use size_t.
3866 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3868 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
3869 a long or float array cast all array members to the same type.
3870 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
3872 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
3874 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
3876 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3878 * gdb.t24 (demangle.exp): Constructors of templates have names like
3879 vector<int>::vector(int) not vector<int>::vector<int>(int). See
3880 section 14.6 of the ARM.
3882 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
3883 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
3884 accomplish little and slow down the testsuite.
3886 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
3887 Accept spaces various places.
3889 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3891 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
3892 with watchpoint enabled.
3894 * Makefile.in: Remove definition of CC and remove the second
3895 definition of CXX (the "CXX = gcc" one remains). These definitions
3896 were causing backquotes to be expanded within backquotes, which
3899 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
3901 * gdb.t17/callfuncs.exp: Add "return 0" to end.
3903 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3905 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
3906 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
3907 by mips cc and contains no stabs entries.
3909 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
3911 * config/vx-gdb.exp: Use fake device to load files rather than
3913 * lib/gdb.exp: New proc to do "file" command.
3914 * config/unix-gdb.exp: Use new "file" proc.
3916 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3918 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
3919 Rework board rebooting slightly.
3920 (gdb_exit): Don't exit from the remote shell; there isn't one.
3921 * gdb.stabs/weird.exp: If a program is being debugged already,
3923 * gdb.t04/setvar.exp: Stop and restart gdb.
3924 * gdb.t05/expr.exp: Likewise.
3925 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
3926 restart gdb and reload the program.
3927 * gdb.t08/opaque.exp: Likewise.
3928 * gdb.t12/scope.exp: Likewise.
3929 * gdb.t13/bitfields.exp: Likewise.
3930 * gdb.t15/funcargs.exp: Likewise.
3931 * gdb.t20/classes.exp: Likewise.
3932 * gdb.t03/ptype.exp: Increase timeout.
3933 * gdb.t16/printcmds.exp (test_print_string_constants,
3934 test_print_array_constants): Likewise.
3935 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
3936 * gdb.t20/classes.exp (do_tests): Likewise.
3937 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
3939 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
3941 * gdb.stabs: Renamed *wierd* to *weird*.
3943 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3945 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
3946 for timeout. Add "known gcc 2.4.5 bug" to failure message.
3948 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3950 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
3951 (do_tests): Remove xfail for whatis on one_var and two_var.
3953 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
3955 * Makefile.in: Made cross building work better by adding
3956 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
3958 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3960 * gdb.t15/{return.c,return.exp,Makefile.in}:
3961 New test, currently commented out.
3963 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
3965 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
3966 still running and removes the leftover named socket so GDb can do
3969 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
3971 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
3973 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
3974 cross testing works better with "make check"
3975 * config/unix-gdb: Use default procedures for exit and version.
3976 * config/vx-gdb.exp: Cleaned up and massaged back to working order
3977 with the newest VxWorks.
3979 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3981 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
3984 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
3985 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
3987 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
3989 * config/unix-gdb.exp: Remove this version of gdb_exit
3990 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
3991 Rob says he'll look at it when he gets back to testing boards.
3993 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
3995 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
3996 an expected fail for certain ptype commands.
3998 * gdb.t20/classes.exp: Update expected results of "ptype class
3999 Base1" to account for the constructor that now appears in the type.
4001 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
4003 * configure.in (configdirs): Restore gdb.t04, which mysteriously
4004 disappeared from list.
4005 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
4006 "alldone" proc with call to cleanup and exit.
4007 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
4008 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
4009 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
4010 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
4011 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
4012 "alldone" proc with simple returns that suppress remaining
4013 tests. The alldone proc went away many months ago.
4015 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4017 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
4019 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
4021 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4023 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
4024 as vax gdb will display them.
4026 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4028 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
4031 * scope.exp: Change "bad value for localval" messages so each one
4034 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
4035 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
4037 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
4039 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4041 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
4042 doesn't exist (due to optimization).
4044 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4046 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
4047 contains \r because the filename is long.
4049 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
4050 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
4052 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4054 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
4055 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
4057 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
4059 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
4061 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
4063 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
4065 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
4066 to match does not match the passing case but still matches the
4069 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4071 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
4073 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
4075 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
4076 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
4077 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
4078 Remove various versions of gdb_exit.
4079 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
4081 * config/unix-gdb.exp: gdb_exit remains here, and should override
4082 the generic version, since it's doing a lot of wierd stuff that
4083 the other versions aren't. FIXME, fold it in, or abandon this
4086 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4088 * gdb.t24/demangle.exp: Add tests for PR 3220.
4090 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4092 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
4094 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
4096 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
4097 "i386-*-*". Works for i486 as well.
4099 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
4100 bug, and expand domain of xfail to all SVR4 systems, since the
4101 actual problem is likely to be in generic SVR4 /proc support.
4103 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4105 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
4107 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
4109 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
4110 xfails for other systems. Match a missing 'Continuing.' as an
4111 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
4113 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
4114 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
4115 Only issue warning for missing executables if -all option is used.
4117 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
4118 file if -all option is used. It's like an unpredictable XFAIL.
4120 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4122 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
4123 for dynamically linked binaries.
4125 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
4127 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4129 * gdb.t20/inherit.exp: Change message for "print tagless struct"
4130 to state that this is a known bug in old versions of g++.
4132 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4134 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
4135 while waiting for `Continuing'.
4137 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
4139 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
4140 in text, data, and bss.
4141 * gdb.t10/nodebug.c: Add local and global test variables for
4142 initialized and uninitialized data.
4144 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4146 * config/unix-gdb.exp (gdb_exit): Add "wait".
4148 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4150 * gdb.t06/signals.exp: xfail the continue from the handler for all
4153 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
4154 function with watchpoints enabled, the i386 call dummy starts with
4157 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
4158 386 bsd names its corefiles.
4160 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
4162 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
4163 compilers don't grok it.
4164 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
4165 with small octal ints rather than character constants, which
4166 are signed and might not fit if first promoted to int.
4168 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
4170 * gdb.t09/Makefile.in (clean): Remove corefile.
4172 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4174 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
4176 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4177 and Jim Kingdon (kingdon@cygnus.com)
4179 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
4180 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
4181 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
4183 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4185 * gdb.t17/interrupt.exp: Add xfail for hppa.
4187 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4189 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
4190 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
4191 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
4192 to determine signed-ness of bitfields and use the result to setup
4194 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
4195 * gdb.t15/funcargs.exp: Use them to step until the second indirect
4196 call line is reached if necessary.
4198 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4200 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
4202 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4204 * gdb.t06/break.exp: Also test `clear' command.
4206 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4208 * gdb.t00/teststrategy.exp: Remove extra quote.
4210 * gdb.t07/watchpoint.exp: Change xfail for calling function with
4211 watchpoint enabled to be for all non-68k machines.
4213 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
4215 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4217 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
4218 targets use aout.mt instead of ecoff.mt as gas understands
4219 standard aout format.
4221 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4223 * lib/gdb.exp (runto): Don't insist that function we are running to
4224 was compiled with -g.
4226 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
4228 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
4229 to get back into the read system call.
4230 Accept leading newline in case where we woke it up.
4232 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4234 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
4235 to make the stabs test work on ecoff systems using gcc and -with-stabs.
4236 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
4237 enable ecoff configuration.
4239 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4241 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
4243 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4245 * gdb.t16/printcmds.exp: Add another printf test.
4247 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
4249 * configure.in: If configured -with-stabs on any target, add
4250 stabsdirs to configdirs.
4252 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4254 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
4255 fun" so pattern does not match the command itself.
4257 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4259 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
4261 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4263 * gdb.t17/interrupt.exp: Test for more things.
4265 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4267 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
4268 compiler arranges the code and line numbers.
4270 * gdb.t17/interrupt.exp: Don't send \n after ^C.
4272 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4274 * gdb.t00/help.exp: Increase expect input buffer size.
4276 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4278 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
4280 * gdb.t07/watchpoint.exp: Add xfail for hppa.
4282 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
4284 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
4285 [0-9]*, not just [0-9].
4287 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4289 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
4291 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
4293 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4295 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
4297 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4299 * gdb.t06/signals.c: Add xfails for sun3.
4301 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
4303 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
4304 test_stepping tests.
4306 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4308 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
4310 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
4312 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
4313 rather than actually putting it through cpp twice.
4315 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
4317 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
4319 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
4322 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4324 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
4326 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
4327 C++ features prints as "struct", make it a pass, not an xfail.
4329 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4331 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
4332 Don't require VA to print as "class" rather than "struct".
4334 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
4336 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
4338 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4340 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
4342 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4344 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
4347 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4349 * gdb.t16/printcmds.exp: Add printf tests.
4351 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
4353 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
4355 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
4357 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
4358 pass counts, to counteract any existing or future setup_xfails.
4360 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4362 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
4363 {BEGIN,END}_COMMON for common block instead of STAB.
4364 * gdb.stabs/wierd.exp: Add xfail for rs6000.
4366 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
4367 intp_var should be N_GSYM not N_LSYM.
4368 wierd-aout.S: Use a label for the value of the N_SO.
4369 wierd.def: Remove all backslashes.
4370 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
4372 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4374 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
4375 get the expected next to inheritance3.
4377 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4379 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
4380 now that gcc-2.4 gets it right.
4382 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4384 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
4386 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
4387 generating comp-info.exp which works for cross-compilation.
4389 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
4391 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
4394 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
4396 * gdb.t01/run.exp: Start with a fresh gdb.
4397 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
4400 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
4402 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
4403 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
4404 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
4405 Makefile.in (distclean, realclean): Remove gdbme.c from list of
4408 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
4410 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
4411 test cases from bug reports.
4413 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
4415 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
4416 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
4417 avoid spurious xfails.
4418 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
4419 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
4420 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
4422 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
4424 * gdb.t00/teststrategy.exp: Rework to provide more useful
4425 description of each test, fix problem with systems that define
4426 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
4427 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
4428 results for "next over recursive call" so timeouts aren't taken
4431 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
4433 * gdb.t12/scope.exp: Test printing of variables before run.
4435 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
4436 printed in wrong order due to sorting.
4438 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
4440 * gdb.t00/teststrategy.exp: Fix expected results for printing
4441 user entered string constant. Is array of char, prints with no
4444 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
4446 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
4447 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
4448 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
4449 of struct of char arrays.
4450 * gdb.t00/radix.exp: New tests for radix commands.
4452 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
4454 * gdb.t16/printcmd.exp: Print a variable before running program
4455 (with xfail for AIX).
4457 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
4459 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
4461 * gdb.t16/printcmd.exp: Don't print variables before running program.
4463 * gdb.t06/break.exp: Don't require envp argument to main.
4465 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
4467 * gdb.t02/whatis.exp, gdb.t11/list.exp:
4468 Add xfails for rs6000.
4470 * gdb.t02/whatis.exp: Change other tests not to re-test something
4473 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
4474 each type used has a variable of that type.
4476 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
4478 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
4480 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4482 * configure.in: change srctrigger to be a file, not a directory
4484 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
4486 * configure.in (mips-idt-ecoff*): Added trailing '*'.
4488 * gdb.t11/list.exp: Fixed a couple of typos.
4490 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
4492 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
4493 is fixed and PR is closed.
4494 * gdb.t16 (gdbme.c): Add simple test string variable.
4495 * gdb.t16 (printcmds.exp): Add tests with simple test string
4496 variable, primarily for boundaries on "set print elements".
4498 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
4500 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
4501 Make leading 0's optional and don't expect a tab in the middle
4504 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
4506 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
4507 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
4508 don't end command passed to gdb_test with newline.
4510 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
4511 signed keyword away, don't expect signed bitfields to be signed.
4513 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
4514 printing with only as many 1's as are in the field as well as printing
4515 with 32 1's (see comment).
4517 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
4519 * gdb.t00/default.exp: Start with a fresh gdb.
4520 * configure.in (configdirs): Remove gdb.t31 until the chill
4521 compiler works again. It no longer is able to find chillrt0
4522 since it isn't in libchill.a anymore.
4523 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
4524 wierd.o, make more modular.
4525 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
4526 spurious newlines that caused problems.
4528 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4530 * Move test with enums and partial symbols from gdb.t03/ptype.exp
4531 to gdb.stabs/wierd.exp since GCC has worked around the bug.
4532 gdb.stabs/wierd.{exp,def}: Many new tests.
4534 * gdb.t00/default.exp: update info line for new message.
4536 * gdb.t02/{whatis.exp,gdbme.c}:
4537 Test that "char *" doesn't print as "caddr_t".
4539 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4541 * gdb.t00/help.exp: Use .* in place of some help messages which
4543 gdb.t00/default.exp: Update "info frame" test for new message.
4544 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
4547 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4549 * gdb.t03/{gdbme.c,ptype.exp}:
4550 Add tests for typedef'd struct and union without tags.
4551 Also check "whatis" on a variable of a typedef'd enum without a tag.
4553 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
4554 PRMS 1823; the bug still exists but isn't reproduced by this test
4555 anymore), and remove rs6000 XFAIL (the bug is fixed).
4557 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
4558 duplicated from whatis.exp. For those that are left, accept
4559 "long", "long int", or "int" for long variables (whatis.exp already
4560 has an XFAIL for "int", so no need to fail it here).
4562 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
4563 Deal with GCC's names for types now that GDB uses the compiler's names.
4565 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
4566 setup_xfail's for sunos4. If we #defined the signed keyword away,
4567 don't expect GDB to know that char it is signed.
4569 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
4571 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
4573 * configure.in (configdirs): Add gdb.t24 for C++ tests that
4574 should work on any system, regardless of debugging format.
4575 * gdb.t21/demangle.exp: Move to gdb.t24.
4576 * gdb.t24/demangle.exp: Move from gdb.t21.
4577 * gdb.t24/{Makefile.in, configure.in}: New files.
4579 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4581 * configure.in: Do gdb.stabs and C++ tests only for stabs.
4582 * gdb.stabs: New directory.
4584 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4586 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
4587 not just "Quit anyway?".
4589 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
4591 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
4592 that all setup_xfails are immediately followed by clear_xfails.
4594 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
4596 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
4597 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
4598 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
4599 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
4600 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
4601 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4602 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4603 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
4604 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
4605 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
4606 gdb.t31/chillvars.exp, lib/gdb.exp:
4607 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
4608 bug-gdb@prep.ai.mit.edu.
4610 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
4612 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
4613 with 0.0, not integer 0.
4615 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
4617 * gdb.t06/break.exp: Update for "Kill the program" message change.
4619 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
4621 * Makefile.in (GDBFLAGS): Set to -nx.
4622 * Makefile.in (site.exp): Use GDBFLAGS.
4624 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4626 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
4628 (check): depend on just-check.
4629 (just-check): added so that tests can be run without a noop
4632 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4634 Switch to using configure's configdirs.
4635 * Makefile.in (Makefile): add configure.in dependency.
4636 (SUBDIRS): removed redundant assignment.
4637 * configure.in: switch subdirs assignment to configdirs.
4638 * gdb.t*/configure.in: new files.
4640 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
4642 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
4645 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
4647 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
4648 in explicit rules. Apparently this is not supported by some makes.
4650 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
4652 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
4654 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4656 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
4659 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
4661 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
4663 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
4665 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
4666 watchpoint problem that is now fixed.
4667 * gdb.t30/chexp.exp: Remove setup_xfail for printing
4668 uninitialized convenience variables.
4669 * gdb.t31/chillvars.exp: Fix expected patterns for printing
4672 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4674 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
4675 which causes expect to get out of sync with gdb on long output
4677 * gdb.t09/corefile.exp: Make expected pattern for core file
4678 failing signal and frame output format less sun specific.
4680 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
4682 * gdb.t31/chillvars.exp: Add and remove initial dummy
4683 breakpoint, so that symbol table is forced in.
4684 (Needed at least on Sunos4, though it seems not SVR4.)
4685 * gdb.t31/chillvars.exp: Update for changed output format.
4687 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
4689 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
4691 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
4693 * Makefile.in: Added --srcdir when invoking runtest, removed the
4694 need for a local config file. (optional now)
4696 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
4698 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
4699 failure count used to force early termination. Add some more
4700 expected failures for gnu style demangling.
4702 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4704 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
4705 pmi variable from gdb.t20/gdbme to get optimized away.
4706 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
4707 Check for written corefile upon timeout _and_ eof.
4709 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4711 * config/unix-gdb.exp: Add missing return 0.
4713 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4715 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
4718 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
4720 * configure.in (subdirs): Put back gdb.t17 which mysteriously
4723 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
4725 * gdb.t10/crossload.exp: Disable the i860-elf test until such
4726 time as i860 support works.
4728 * gdb.t15/funcargs.exp: Fix expected outputs to include
4729 "backtrace 100\r" rather than just "backtrace\r", to match last
4732 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
4734 * config/udi-gdb.exp (gdb_exit): Remove close command.
4735 (gdb_target_udi): New procedure to set the UDI target.
4736 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
4737 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
4738 Added waits for prompts after several question responses. Added
4739 some more responses used by a29k-amd-udi-gdb.
4740 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
4741 pass different arguments, restart UDI connection after program
4743 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
4744 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4745 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
4746 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
4747 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
4748 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
4749 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4750 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
4751 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
4752 after program completion.
4753 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
4754 compiled with a SELECT_VECS setting.
4755 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
4758 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
4759 Added checks for COFF results, and made them expected failures for
4760 all targets. It would be better to make them expected failures
4761 for COFF targets only.
4763 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
4765 * Makefile.in: add null dvi target, don't bother to recurse
4766 through test directories for info and install-info; rename
4767 $(datadir) to be dejagnu instead of deja-gnu
4769 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
4771 * gdb.t31/gdbme.ch: Re-enable code that previously caused
4772 compiler to coredump.
4773 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
4776 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
4778 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
4780 * gdb.t31/chillvars.exp: Comment out tests that depend on that
4783 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
4785 * gdb.t03/ptype.exp: tests for return code from gdb_test.
4786 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
4787 which in a shell. Deletes xgdb when done.
4788 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
4789 Tests the return from the "set height" or "set width" commands.
4790 Added a few return codes where needed.
4792 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
4794 * Makefile.in (SUBDIRS): Add gdb.t17.
4795 * configure.in (subdirs): Add gdb.t17.
4796 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
4797 files to test gdb's calling of functions in the inferior with
4798 the correct arguments and gdb's ability to retrieve any
4801 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
4803 * config/unix-gdb.exp (gdb_exit): Remove close commands that
4804 may be called after gdb goes away. Previous versions of expect
4805 needed these to avoid file descriptor leaks, but they cause
4806 errors with the current revision of expect.
4807 * gdb.t00/gdbvars.exp: Use -re on expected output after
4808 setting sevenbit-strings.
4809 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
4810 to set sevenbit-strings consistent across tests.
4811 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
4812 set sevenbit-strings consistent across tests.
4814 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
4816 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
4817 expected output to match current "expect" expectations.
4819 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
4821 * gdb.t00/default.exp: Change expected output for default "source"
4822 command, to match new gdb behavior which requires a filename to
4825 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
4827 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
4828 expected fail for i486-*-* that misses the marker2 function.
4829 * gdb.t10/crossload.exp (bfddefault): Allow successful
4830 recognition of a format to pass even if no symbols are found.
4831 Explicitly catch failures where the format is not recognized
4832 or is ambiguous, and add the reason to the fail message.
4833 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
4834 the cause is and invalid target and add reason to failure message.
4835 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
4836 elf32-i386, elf32-sparc, and elf32-i860.
4837 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
4838 Set up expected failure for 'filename'::variable scope resolution,
4839 which is now apparently broken on all targets.
4840 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
4841 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
4842 gdb.t23/templates.exp: Change failure for missing binfile into
4844 gdb.t21/demangle.exp: Change all cfront references to 'arm'
4847 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
4849 * gdb.t00/default.exp: Add expected output for default "source"
4850 command, to match new gdb behavior.
4851 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
4853 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
4855 * config/*-gdb.exp: returns an error, rather than exiting on
4858 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
4860 * gdb.t03/gdbme.c: Add pointer to struct variable.
4861 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
4862 referencing struct members.
4864 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
4866 * configure.in (mips-idt-ecoff): New target.
4867 * config/mips-gdb.exp: New file for remote board using MIPS remote
4870 * Redid configuration scheme. Removed gdb.t*/configure.in.
4871 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
4872 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
4873 distclean targets. Built executables via .o files. Adjusted
4874 tests to account for source files in $(srcdir) rather than
4876 * lib/gdb.exp (runto): Don't expect () after the function name,
4877 because it may have arguments.
4879 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
4881 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
4882 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
4883 expected failures for mips-idt-* and mips-sgi-*.
4884 * gdb.t00/default.exp (attach): Kill process if requested.
4885 * gdb.t00/help.exp (help target core, help target): Accept a gdb
4886 that does not read core files.
4887 * gdb.t01/run.exp: Removed checks for exit status code.
4888 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
4890 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
4891 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
4892 appropriate, rather than doing it by hand.
4893 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
4895 * gdb.t10/crossload.exp: Kill existing program if needed.
4896 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
4897 appropriate, rather than doing it by hand. Always increase
4898 timeout for this test, not just for VxWorks.
4900 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
4902 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
4903 of Chill STRUCT types and STRUCT values.
4904 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
4906 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
4907 struct2): New struct definitions and initializations to test
4908 simple Chill STRUCT types.
4910 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
4912 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
4913 the null byte at the end of strings.
4914 * gdb.t00/default.exp: Make show version insensitive to copyright
4916 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
4917 to avoid dependencies on target char signedness.
4918 * gdb.t16/printcmds.exp: Update expected results for explicitly
4920 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
4922 * gdb.t21/demangle.exp: Add many more patterns for template
4923 demangling, most of them being expected failures.
4924 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
4925 string we are matching for, to match on the whole string.
4926 * gdb.t21/demangle.exp: Add many new test strings to demangle,
4927 and fix a whole bunch that had incorrect expected output but were
4928 passing anyway because of the bug in "proc demangle".
4929 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
4931 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
4933 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
4935 * gdb/testsuite: made modifications to testcases, etc., to allow
4936 them to work properly given the reorganization of deja-gnu and the
4937 relocation of the testcases from deja-gnu to a "tool" subdirectory.
4939 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
4941 * gdb/testsuite: Initial creation of gdb/testsuite.
4942 Migrated dejagnu testcases and support files for testing nm to
4943 gdb/testsuite from deja-gnu. These files were moved "as is"
4944 with no modifications. This migration is part of a major overhaul
4945 of dejagnu. The modifications to these testcases, etc., which
4946 will allow them to work with the new version of dejagnu will be
4947 made in a future update.
4953 version-control: never