1 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
3 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
4 for INFO SYMBOL; add help tests for OVERLAY commands.
5 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6 add tests for OVERLAY commands
7 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
8 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
9 * gdb.base/sigall.c: add usestubs code frag
10 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
12 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
14 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
16 (gdb_stop_suppressing_tests): Note that tests have restarted.
18 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
20 * config/h8300.exp: New file.
22 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
24 * gdb.base/setshow.exp: Check for the existence of a
25 feature, not its value.
27 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
29 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
31 * gdb.base/scope.exp: It's now init0(), not init().
33 * gdb.base/scope0.c: For now, change init() to be init0().
35 * config/monitor.exp: Use gdb_serial in preference to serial
38 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
39 and it's not already set.
41 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
43 * gdb.base/setshow.exp: Only test the run command if the target
44 isn't using a stub and if it supports argument passing.
46 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
48 * config/udi.exp(gdb_start): Make sure UDICONF is set
49 properly before starting gdb.
51 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
53 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
54 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
55 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
57 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
59 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
60 specialized code to reboot the board, use remote_reboot instead.
62 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
64 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
66 * config/monitor.exp: Make sure we disconnect from the target.
67 Also, try a reboot/reload cycle instead of failing if the
70 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
72 * gdb.base/default.exp: Don't set match_max.
73 * gdb.base/help.exp: Ditto.
74 * gdb.base/list.exp: Ditto.
75 * gdb.base/signals.exp: Ditto.
77 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
78 set, use remote_ld to download the testcase instead of
81 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
83 * config/vr5000.exp: New file.
85 * config/monitor.exp(gdb_target_monitor): Add pattern for
86 "Ending remote" to detect errors in connecting.
88 * gdb.base/setshow.exp: Add .* within auto language test.
90 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
93 * config/monitor.exp(gdb_load): Check for a failure when loading,
94 and reboot the board if necessary.
96 * gdb.base/setvar.exp(test_set): Handle multiple prints within
97 a set of tests. Remove print.* from the patterns being checked.
99 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
101 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
102 refer to gdb_spawn_id.
104 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
106 * config/sparclet.exp: Ditto.
107 * config/sparclet-old.exp: Ditto.
108 * config/slite.exp: Ditto.
109 * config/sim.exp: Ditto.
110 * gdb.base/funcargs.exp: Ditto.
112 * lib/gdb.exp:Remove references to gdb_spawn_id.
113 (gdb_expect): Move to remote.exp.
115 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
117 * config/monitor.exp: Detect the "Couldn't establish connection"
120 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
122 * gdb.base/bitfields.exp: Use runto instead of explicit
123 gdb_run_cmd/gdb_expect sequences.
125 * gdb.base/break.exp(text_next_with_recursion): Add match for
128 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
129 We also need to handle the "A program is being debugged already"
130 prompt from gdb. Use gdb_test to set the baud rate.
132 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
133 to 20000. Really. I mean it.
135 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
137 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
138 fails. If suppress_flag is set, skip perror message about not
139 being able to send to GDB.
140 (send_gdb): If suppress_flag is set, don't try to send commands to
142 (gdb_expect): If suppress_flag is set, always fail immediately.
143 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
144 (gdb_init): Call gdb_stop_suppressing_tests.
145 (default_gdb_exit): Ditto.
146 (default_gdb_start): Ditto.
148 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
149 gdb_stop_suppressing_tests as appropriate.
150 * gdb.base/break.exp: Ditto.
151 * gdb.base/callfuncs.exp: Ditto.
152 * gdb.base/commands.exp: Ditto.
153 * gdb.base/exprs.exp: Ditto.
154 * gdb.base/funcargs.exp: Ditto.
155 * gdb.base/list.exp: Ditto.
156 * gdb.base/recurse.exp: Ditto.
157 * gdb.base/scope.exp: Ditto.
158 * gdb.base/structs.exp: Ditto.
159 * gdb.c++/inherit.exp: Ditto.
161 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
163 * config/vr4300.exp: New file.
165 * gdb.*/*.exp: Call gdb_expect instead of expect.
167 * lib/gdb.exp(gdb_expect): New function.
169 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
171 * lib/gdb.exp(gdb_init): New function.
173 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
174 for each individual variable set.
176 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
179 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
181 * gdb.base/scope.exp: Use gdb_test.
183 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
184 aborting; the testsuite driver will do that for us (see
185 gdb_finish). Also, use gdb_test in a few more places.
187 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
189 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
191 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
193 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
194 and "add_tests" are not at the same address.
196 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
198 * gdb.base/ptype.exp: Use gdb_test.
200 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
202 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
203 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
204 left in. No longer expect them to fail.
206 * gdb.stabs/*.mt; Deleted, no longer used.
207 * gdb.stabs/configure.in: Remove references to target makefile
209 * gdb.stabs/configure: Rebuilt.
211 * gdb.disasm/*.mt: Deleted, no longer used.
212 * gdb.disasm/configure.in: Remove references to target makefile
213 frags. Use "sh3.s" as the unique filename for this directory.
214 * gdb.disasm/configure: Rebuilt.
216 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
217 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
218 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
220 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
222 * config/udi.exp: Use mondfe,name instead of remote_host.
224 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
226 * gdb.base/watchpoint.exp: Don't expect a failure when calling
227 a function with a watchpoint enabled on the mn10200.
229 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
230 before trying to create it!
232 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
234 * config/vx.exp: Use hostname instead of netport.
236 * config/vxworks.exp: New file.
238 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
240 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
241 gdb before assuming everything worked. Send a ^C if a timeout
244 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
245 $gdb_spawn_id directly.
246 (gdb_run_cmd): Try _start as well as start. Use the target feature
247 gdb,start_symbol as the symbol to start from when jumping.
249 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
251 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
254 * gdb.base/recurse.exp: Relax final value test for 'b' so that
255 it doesn't lose for 16bit integer systems.
257 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
259 * gdb.fortran/types.exp: If the target doesn't support "double"
260 data types, then expect "real" types to only be 4 bytes.
262 * gdb.c++/virtfunc.exp: Expect failure for virtual function
263 call tests if the target doesn't support inferior function calls.
265 * gdb.base/printcmds.exp: Allow minor deviation in FP values
268 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
270 * gdb.base/help.exp: Disable "help set", "help show", and
271 "help support". Simplify regexp for "help stack".
273 * gdb.base/default.exp: Set match_max to 5000 and the timeout
274 to 60 seconds. Temporarily set match_max to 15000 around the
277 * gdb.base/nodebug.exp: Don't try to do an inferior function
278 call if the target doesn't support them.
279 * gdb.base/printcmds.exp: Likewise.
280 * gdb.base/setvar.exp: Likewise.
281 * gdb.base/structs.exp: Likewise.
282 * gdb.c++/templates.exp: Likewise.
283 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
285 * gdb.base/recurse.exp: Enable for the mn10200.
287 * configure.in: Do configure gdb.stabs directory for *-*-elf
289 * configure: Rebuilt.
291 * gdb.base/break.exp: Check for gdb,noresults before testing
292 exit status and/or results from the target.
293 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
294 * lib/gdb.exp: Remove old (now bogus) initialization of
295 noinferior, noargs, noresults and nosignals.
297 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
299 * config/sh.exp: New file.
301 * config/slite.exp: Try to connect multiple times to the board
302 before rebooting. Only send a "monitor run" if need_monitor_run
305 * gdb.base/break.exp: Don't do the "stub continue" test if
306 the target has gdb_stub set.
308 * gdb.base/callfuncs.exp: Increase the timeout.
310 * gdb.base/interrupt.exp: Don't even try to compile the testcase
311 if the target has gdb,noinferiorio set.
313 * gdb.base/list.exp: Increase match_max to 10000 characters.
315 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
317 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
320 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
322 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
324 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
325 trying to delete the copy of gdb. Catch the file delete so we
326 don't die if the delete fails; also, the file should be copied to
327 the host, not to the build.
329 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
331 * lib/gdb.exp(gdb_test): Surround the result pattern with
332 parenthesis in case it contains multiple regexps separated
335 * gdb.base/watchpoint.exp: Use gdb_test.
336 * gdb.base/default.exp: Ditto.
338 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
340 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
342 * gdb.base/scope.exp: Use gdb_test.
343 * gdb.c++/classes.exp: Ditto.
344 * gdb.c++/inherit.exp: Ditto.
346 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
348 * gdb.base/crossload.exp: Don't use execute_anywhere, use
350 * gdb.base/corefile.exp: Don't be ridiculous.
351 * gdb.base/*.c: Add missing stub invocations.
353 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
355 * config/slite.exp: Miscellaneous fixes.
357 * lib/gdb.exp: Fix runto.
359 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
362 * gdb.base/watchpoint.exp: Fix regexp.
364 * lib/gdb.exp(default_gdb_exit): Add a catch to the
365 close and wait commands, as the descriptor may now be
366 invalid. Always call "remote_close host".
368 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
370 Major rewrite for testsuite revision.
372 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
373 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
374 instead of relying on spawn_id to always contain a valid
376 (get_compiler_info): New procedure to build the ${binfile}.ci
377 file, instead of replicating this in N different places.
378 (gdb_compile): New procedure.
380 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
381 appropriate arguments) instead of compile. Use gdb_test in a lot
382 more places. Use send_gdb instead of send. Always run gdb_start
383 at the start of a testcase, as this is no longer done magically.
385 config/*-gdb.exp: Rename without the -gdb suffix.
387 config/mips.exp: Use remote_close instead of exit_remote_shell.
388 config/monitor.exp: Use target_info instead of looking at
390 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
392 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
394 * gdb.c++/templates.exp (test_ptype_of_templates),
395 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
396 Update expect patterns for destructors and assignment operators
397 to match corresponding c-typeprint.c changes.
398 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
399 to destructor breakpoint test, GDB should be able to set the
400 destructor breakpoint without specifying arguments.
402 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@ninemoons.com>
404 * gdb.threads/pthreads.exp: Change result for failure to compile due
405 to lack of pthreads runtime support from an error to simply an
406 unsupported test, per dejagnu standards.
408 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
410 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
411 where GDB exits to reduce pattern match time.
412 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
414 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
416 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
418 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
419 * gdb.base/default.exp: ditto.
420 * gdb.base/nodebug.exp: ditto.
421 * gdb.base/printcmds.exp: ditto.
422 * gdb.base/ptype.exp: ditto.
423 * gdb.base/setvar.exp: ditto.
424 * gdb.base/structs.exp: ditto.
425 * gdb.base/setshow.c: Guard against uninitialized values of argc.
427 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
429 * configure, */configure: Rebuild with autoconf 2.12.
431 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
433 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
434 use new i*86-pc-linux*-gnu quads.
435 * gdb.base/corefile.exp: Ditto.
436 * gdb.base/signals.exp: Ditto.
437 * gdb.base/sigall.exp: Ditto.
438 * gdb.base/interrupt.exp: Ditto.
440 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
441 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
444 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
445 linux. This allows the test case to at least compile on latest
446 linux, but still not run due to missing the threads runtime library.
448 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
450 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
451 directory to search gdb directory. Accept and step over conditional
452 stack alignment code. Consume $prompt in failure cases.
453 Reset timeout to $oldtimeout instead of some arbitrary value.
454 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
455 timeout problems with infinite stack backtraces.
456 * gdb.base/ptype.exp (ptype struct link, union tu_link):
457 Accept function parameters for linkfunc member.
459 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
461 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
462 (CXXFLAGS): Remove, unreferenced.
463 (B_OPTIONS): Add for -B options and add code to initialize with
464 previous -B options and also add -B option to pick up cross compiled
466 (TARGET_INCLUDES): Add for -I options and add code to initialize when
467 doing cross compiles.
468 (target_alias): Declare global.
469 (xgcc): Set variable to full path of gcc in build tree. Use findfile
470 to verify that gcc exists in build tree, and if so set CC to that
471 gcc and to use B_OPTIONS and TARGET_INCLUDES.
473 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
475 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
476 ptype test for anonymous union. Fixup testcase to match
477 current gcc debug output.
479 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
481 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
482 force argument to an unsigned long type.
484 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
486 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
487 tests and anonymous union print/ptype tests.
488 * gdb.base/list.exp (test_forward-search): Increase timeout by
489 5 minutes for the "search extremely long line" case.
490 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
491 completely optional and that the pass/fail messages use the command as
492 the message if that third arg is a null string.
493 (gdb_test_exact): Arrange that a null string pattern means match a
494 null string output rather than any output, which might include random
496 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
498 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
499 always failing and failure is now exposed by gdb.exp changes.
501 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
503 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
506 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
508 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
509 * gdb.stabs/weird.exp: Remove v_comb xfails.
512 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
514 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
515 list.exp scope.exp watchpoint.exp]
516 Make all timeout error msgs explicitly say "(timeout)".
519 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
521 * config/monitor.exp: Increase download timeout to 1000 seconds.
524 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
526 * config/m32r.exp: Increase timeout to 120 seconds.
530 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
532 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
533 and accept older ordering as obsolescent gcc or gdb.
534 * gdb.c++/templates.exp: Ditto.
535 * gdb.c++/virtfunc.exp: Ditto.
537 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
539 * gdb.base/coremaker.c: Add code to mmap some data so we
540 can check that it ends up in the core file.
541 * gdb.base/corefile.exp: Add test to read mmapped data
545 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
547 * config/m32r.exp: New file.
550 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
552 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
553 that cflags can contains -gstabs, and work correctly for other tests.
555 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
557 * gdb.base/setshow.exp: New file, tests show and set.
558 * gdb.base/setshow.c: New file, tests show and set.
559 * gdb.base/help.exp: Add test for help set|show annotate.
560 * gdb.base/default.exp: Add test for set|show annotate.
562 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
564 * testsuite/gdb.base/break.exp: Make backtrace from factorial
566 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
569 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
571 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
572 and width commands. This is done elsewhere.
573 * (gdb_start): Don't call gdb_start_sim here. That's already
574 done in gdb_load. This fixes lots of failures in default.exp.
576 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
578 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
579 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
580 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
581 in the same we we treat other failures (since it may be an expected
582 condition), rather than as an error.
583 * gdb.base/signals.exp (test_handle_all_print): Revert back to
586 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
588 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
589 (distclean maintainer-clean realclean): No need to remove files
590 twice. Nuke the duplicates.
591 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
592 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
593 Remove config.h along with other config files.
595 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
597 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
598 "p func1 ()" and note that rests of tests are skipped.
599 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
600 setup_xfails for "print func2::coremaker_local".
601 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
602 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
603 affected by the previous run test.
604 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
605 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
606 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
607 "pass int powerset tuple" and "pass modeless int powerset tuple".
608 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
609 "real write 4" and "real write 8".
610 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
611 setup_xfails for "print vs1 after tuple assign 2",
612 "print \$i after tuple assign 2", and
613 "print vs2 after tuple assign 2".
614 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
615 meaningful error message and return -1 so the caller can
616 suppress further tests and avoid a cascade of errors.
618 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
620 * gdb.base/a1-selftest.exp: Tweak tests to account for new
621 format for printing version.
622 * gdb.base/default.exp: Ditto.
623 * gdb.base/interrupt.exp: Fix problem with cascade of
624 errors if child process dies while calling a function.
626 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
628 * Makefile.in (VPATH): Add
629 * Makefile.in (Makefile, config.status): Fix rules so things get
630 remade when necessary.
632 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
634 * Makefile.in (just-check): Add path to sibling expect dir
635 to environment variable specified by RPATH_ENVVAR.
637 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
639 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
640 (just-check): Add shared library paths for libstdc++, tk,
641 tcl, bfd, and opcodes to the environment variable specified
643 * configure.in: Add support to recognize --enable-shared flag
644 and generate correct value for RPATH_ENVVAR.
645 * configure: Regenerated with autoconf.
647 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
649 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
650 include all osf versions.
651 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
652 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
653 when target is linux. When failing to build pthreads test
654 executable, give more meaningful message.
655 * gdb.threads/pthreads.c: Hpux also uses old definition of second
656 arg for pthread_create.
658 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
660 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
661 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
662 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
663 and -lpthreads (everybody else).
664 (test_startup): Fail gracefully if threads are not supported.
665 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
666 "p/c array_index("abcdef",2)" when not gcc compiled.
667 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
668 "print func2::coremaker_local" when not gcc compiled.
669 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
670 "ptype on opaque struct tagname (statically)",
671 "ptype on opaque struct tagname (dynamically) 1", and
672 "ptype on opaque struct tagname (dynamically) 2"
673 for not compiled with gcc.
674 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
675 backtrace when compiled with gcc.
676 * lib/gdb.exp (runto_main): Return result of "runto main" rather
677 than always return success.
679 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
681 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
683 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
685 * gdb.base/structs.exp: Undo last change.
687 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
689 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
690 encapsulate all the steps/nexts done during self test, starting
691 at main, and makes them less sensitive to optimization issues.
692 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
693 signal handler" test.
694 * gdb.threads/pthreads.exp: Only run this for native configs.
695 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
696 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
698 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
699 for "runto test_calls(void)" test.
701 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
703 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
704 and don't expect address info in breakpoint confirmations.
706 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
708 * gdb.base/list.exp (test_forward_search): Increase timeout
709 temporarily by 60 seconds for searching extremely long line,
710 and then reset to old value when done. Increase expect input
713 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
715 * gdb.base/list.exp (test_forward_search): Fix to handle very
716 long source line without overflowing expect's input buffer.
718 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
720 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
723 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
726 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
729 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
732 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
734 * configure.in (configdirs): Add gdb.threads.
735 * configure: Regenerated with autoconf.
736 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
737 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
738 * gdb.threads/configure: New, generated with autoconf.
740 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
742 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
744 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
746 * gdb.base/signals.exp (test_handle_all_print): Test separately for
747 each signal's status in the output of "handle all print".
748 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
749 the \r\n sequence that immediately precedes the gdb prompt.
750 * gdb.base/a1-selftest.exp: Save original timeout and restore
753 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
755 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
758 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
760 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
762 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
764 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
765 timeout by 60 seconds.
767 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
769 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
770 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
773 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
775 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
776 gdb initialization, also report how long dejagnu waited. Restore
777 old timeout before doing error return. Temporarily increase timeout
778 by 3 minutes to allow for slow startups over heavy NFS use.
780 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
782 * lib/gdb.exp: Report timeout value for verbosity level 2.
783 * config/gdbserver.exp: Ditto.
784 * config/hppro.exp: Ditto.
785 * config/mips-gdb.exp: Ditto.
786 * config/monitor.exp: Ditto.
787 * config/netware.exp: Ditto.
788 * config/sim-gdb.exp: Ditto.
789 * config/slite-gdb.exp: Ditto.
790 * config/udi-gdb.exp: Ditto.
791 * config/unix-gdb.exp: Ditto.
792 * config/vx-gdb.exp: Ditto.
793 * gdb.base/a1-selftest.exp: Ditto.
794 * gdb.base/a2-run.exp: Ditto.
795 * gdb.base/break.exp: Ditto.
796 * gdb.base/corefile.exp: Ditto.
797 * gdb.base/list.exp: Ditto.
798 * gdb.base/recurse.exp: Ditto.
799 * gdb.base/scope.exp: Ditto.
800 * gdb.base/signals.exp: Ditto.
802 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
804 * gdb.threads/Makefile.in (docdir): Removed.
806 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
808 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
809 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
811 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
812 autoconf 2.5 or higher.
813 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
815 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
817 * configure: Regenerated.
818 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
819 avoid name clashes with SunOS headers.
821 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
823 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
825 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
827 * gdb.base/callfuncs.exp: Finish last change -- make sure the
828 prototype information ends up in the compiler info file.
830 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
832 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
833 attempting to regenerate it. Eliminate use of a temporary file
834 and just generate the info file directly. Source it immediately,
835 for consistency of use.
836 * gdb.base/corefile.exp: Ditto
837 * gdb.base/exprs.exp: Ditto.
838 * gdb.base/funcargs.exp: Ditto.
839 * gdb.base/langs.exp: Ditto.
840 * gdb.base/list.exp: Ditto.
841 * gdb.base/mips_pro.exp: Ditto.
842 * gdb.base/nodebug.exp: Ditto.
843 * gdb.base/opaque.exp: Ditto.
844 * gdb.base/ptype.exp: Ditto.
845 * gdb.base/scope.exp: Ditto.
846 * gdb.base/setvar.exp: Ditto.
847 * gdb.base/signals.exp: Ditto.
848 * gdb.base/whatis.exp: Ditto.
849 * gdb.c++/templates.exp: Ditto.
850 * gdb.c++/virtfunc.exp: Ditto.
851 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
852 whether or not to add -lstdc++ to the compile command line args.
854 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
856 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
857 it got fixed by the recent lookup_minimal_symbol_by_pc change.
858 Increase timeout, a lot of single stepping might be needed if the
859 target has no hardware watchpoints.
861 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
863 * gdb.base/break.exp: Ignore compiler warnings when compiling
865 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
866 * gdb.base/default.exp: Add h8300 xfails. Handle messages
868 * gdb.base/exprs.exp: Add h8300 xfails.
869 * gdb.base/funcargs.exp: Likewise.
870 * gdb.base/nodebug.exp: Likewise.
871 * gdb.base/printcmds.exp: Likewise.
872 * gdb.base/ptype.exp: Likewise.
873 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
875 * gdb.base/return.exp: Handle float/double precision problems
877 * gdb.base/funcargs.c: Explicitly make last constant argument to
878 call_after_alloca_subr an unsigned long type.
879 * gdb.base/return.c: Include stdio.h.
881 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
883 * config/abug.exp: New file for the older Motorola Bug monitor
884 that runs on the mvme13x series VME boards.
885 * config/monitor.exp: Use the new config array for target settings
888 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
890 * sim-gdb.exp: Make the SH simulator allocate less space when
893 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
895 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
898 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
900 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
901 "rs6000-*-*" for "list function in include file" when gcc compiled.
902 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
903 for "p ctable1[120]".
904 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
905 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
906 Remove setup_xfail for "rs6000-*-*" for
907 "print 'scope0.c'::filelocal before run".
908 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
909 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
910 since some compilers don't allow both options to be given
911 on the same command line. Create object file and move it.
913 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
915 * gdb.base/corefile.exp: Always regenerate the core file, since
916 we always regenerate the coremaker program. Detect special case
917 where registers cannot be read from core file.
919 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
921 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
922 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
923 * gdb.c++/templates.exp: Only match on basename of file since
924 some formats like xcoff don't encode directory information.
925 * gdb.stabs/weird.exp: Use the right sed script for powerpc
926 and rs6000 AIX xcoff targets.
927 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
928 * configure: Regenerate.
929 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
930 here, rather than in distclean.
932 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
934 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
935 defined, and use it to compile the test case with -O2. The
936 native compilation still uses no optimization.
937 * gdb.base/mips_pro.c: Remove inline assembly code since
938 it is compiled PIC by default, which results in assembler
939 warnings that make the testsuite think the compilation
942 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
944 * gdb.c++/misc.exp: Add note to message for
945 "print s.a for foo struct" that this is a known gcc 2.7.2
948 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
950 * gdb.base/break.exp: Fix pattern for matching "Delete all
951 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
952 setup_xfail for deleting all breakpoints test. Fix various
953 timeout messages to include "(timeout)".
954 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
955 for "p t_float_values2(3.14159,float_val2)".
956 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
957 for "continue to call2g" when gcc compiled.
958 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
959 "up to foo in langs.exp", "show language at foo in langs.exp",
960 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
961 and "show language at fsub in langs.exp".
962 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
963 "list line 1 in include file", "list message for lines past EOF",
964 "list function in include file", "list list0.h:foo", and
965 "list filename:function; nonexistant function".
966 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
967 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
968 and "ptype t_char_array" to be for native cc only.
970 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
972 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
973 setup_xfail for "print coremaker_bss", "print coremaker_ro",
974 "print func2::coremaker_local", and "backtrace in corefile.exp".
976 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
978 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
979 "bt in signals.exp". This problem only appears when running
980 the testsuite, and then only intermittently.
982 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
984 * gdb.base/return.exp (return_tests): Differentiate between
985 two tests of continuing.
987 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
989 * */Makefile.in (maintainer-clean): Remove config.log.
990 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
991 * gdb.c++/Makefile.in (PROGS): Add inherit.
992 (clean): Remove *.ci.
994 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
996 * gdb.c++/misc.cc: Add test code from Mike Stump.
997 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
999 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
1001 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
1002 to "alpha-*-osf2*" and add comment.
1003 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
1004 setup_xfail for "step over execarg initialization" and
1005 "step over corearg initialization".
1006 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
1007 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
1008 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
1009 gcc compiled for "print coremaker_bss", "print coremaker_ro",
1010 "print func2::coremaker_local", and "backtrace in corefile.exp".
1011 * gdb.base/signals.exp: Build and source signals.ci.
1012 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
1014 * lib/gdb.exp: Move verbose statements outside conditionals.
1016 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1018 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
1019 Feb 3 procfs.c change.
1021 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
1023 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
1025 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
1027 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
1028 from dejagnu's apparent default of 10 seconds, which gives random
1029 results when running the tests over NFS on moderately loaded systems.
1030 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
1032 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
1034 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
1035 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
1038 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
1040 * configure.in (CY_AC_PATH_TCLH): Remove.
1041 * configure: Regenerate.
1043 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
1045 * gdb.c++/Makefile.in (clean): Add missing '{'.
1047 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
1049 * lib/gdb.exp: Provide a default value for noinferior.
1051 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
1054 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
1056 * gdb.disasm/hppa.exp: Compile directly into an executable, use
1057 the executable, not the .o to run the tests from.
1059 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
1061 * gdb.base/break.exp: Don't test for program exit or exit status
1062 if $noresults if nonzero.
1063 * gdb.base/langs.exp: Likewise.
1064 * gdb.base/watchpoint.exp: Likewise.
1066 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
1067 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
1068 trying to compile the testcase.
1070 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
1072 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
1073 * gdb.base/signals.exp (continue to handler): Likewise.
1075 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
1077 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
1079 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
1081 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
1083 * gdb.base/corefile.exp: Recognize "not found" as failure
1084 when trying to determine if a core file was generated.
1085 If no core file was generate the first time, try again without
1086 the ulimit -c to work around braindamaged shells.
1088 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
1090 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
1091 [] tests with "test" and enclose string in quotes.
1092 * gdb.stabs/configure: Rebuild
1094 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
1096 Changes in sync with expect:
1097 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
1098 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
1099 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
1100 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
1101 argument to AC_REQUIRE.
1102 * configure: Regenerated.
1104 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
1106 * gdb.base/corefile.exp: When generating a core, discard any
1107 error messages about ulimit not found and the "core dumped"
1108 message from the shell that runs the coredumper.
1110 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
1112 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
1114 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
1115 which sed script to run. Expect failure for v_comb test
1118 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
1120 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
1121 "print func2::coremaker_local" and for "backtrace in corefile.exp"
1123 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
1125 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
1126 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
1127 "sparc-sun-solaris*" xfails for "p v_comb".
1128 * lib/gdb.exp (default_gdb_start): Fix typo.
1129 * gdb.base/corefile.exp: Allow "Core was generated by ..."
1130 messages to not include the full program name that caused
1131 the core dump since some systems (such as solaris) apparently
1132 truncate this path to about 80 characters.
1133 When generating a core file first try increasing the core file
1134 size limit to unlimited since some systems may default it to
1135 zero, and it is harmless to try it. Move the test for failing
1136 to generate a core file to where it will actually get executed.
1137 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
1138 new gdb result from g++ debug info improvements and make old
1139 pattern obsolescent. Also account for size_t differences
1140 (may be int or long).
1141 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
1142 initialization before function call is placed in the delay slot
1143 and thus appears to be skipped over by commands such as "next".
1145 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
1147 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
1149 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
1151 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
1152 input source file; fix code to compile test to deal with this
1154 * gdb.c++/*.exp: Likewise.
1156 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
1158 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
1159 "bt in signals.exp".
1161 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
1163 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
1164 "step over execarg initialization" and
1165 "step over corearg initialization".
1167 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
1169 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
1170 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1172 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
1174 From Rob Savoye (rob@poseidon.cygnus.com)
1175 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
1176 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
1177 configure.in}, gdb.disasm/{Makefile.in, configure.in},
1178 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
1179 configure.in}: Major reworking for autoconfig.
1180 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
1181 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
1183 * config/unix-gdb.exp: Make GDB global.
1184 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
1185 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
1186 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
1187 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
1188 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
1189 term.exp, twice.exp, watchpoint.exp, whatis.exp},
1190 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
1191 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
1192 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
1193 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
1194 pr-8136.exp, result.exp, string.exp, tuples.exp},
1195 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
1196 to returns as necessary, arrange for test to compile own testcase
1198 * lib/gdb.exp: Changes for testsuite to compile own test cases.
1200 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
1202 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
1203 clear_xfail at end of test which might not call either pass or fail.
1204 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
1205 "backtrace through signal handler".
1207 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1209 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
1210 continuing from a job control stop signal.
1211 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
1213 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
1215 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
1216 * gdb.base/corefile.exp: Likewise.
1217 * gdb.base/funcargs.exp: Likewise.
1219 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
1221 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
1222 * config/monitor.exp: Add support for setting baud rate.
1224 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
1226 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
1227 i*86-*-linux* xfails for "backtrace through signal handler".
1228 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
1229 "print func2::coremaker_local".
1230 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
1231 alpha-dec-osf2* xfail for
1232 "delete all breakpoints when none".
1234 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
1236 * gdb.base/break.exp: Change test that deletes all breakpoints
1237 when no user breakpoints are installed. A post 4.15 change
1238 causes gdb to no longer prompt in this case.
1240 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
1242 * gdb.base/return.exp (return_tests): Change xfail for test
1243 "correct value returned double test" to stop xfailing at
1244 Solaris 2.5. Apparently the bug has been fixed.
1246 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
1248 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
1249 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1251 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
1253 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
1254 * gdb.disasm/hppa.s: Corresponding changes.
1256 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
1258 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
1260 * config/mt-hpux: Deleted.
1262 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
1264 * Many files: When warning about suppressed tests due to a
1265 nonexistant test binary, avoid incrementing the warning count.
1267 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
1269 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
1271 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1273 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
1274 "sparc-*-solaris2*".
1276 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1278 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
1279 Add global and local variables and initialize them.
1280 * gdb.base/corefile.exp: Test correct mapping of corefile sections
1281 by printing variables. Remove rs6000 and powerpc xfails, BFD now
1282 extracts the file name and terminating signal from the core file.
1283 * TODO: Remove note about tests for correct mapping of corefile.
1284 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
1285 from optimizing it away.
1286 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
1287 handles common blocks.
1289 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
1291 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
1292 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
1294 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
1296 * Makefile.in (maintainer-clean): New target, synonym for
1298 * gdb.base/Makefile.in (maintainer-clean): Likewise.
1299 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
1300 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
1301 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
1302 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
1303 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
1305 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
1307 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
1308 xfails when not gcc compiled for "print foo::funclocal".
1309 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
1310 "print foo::funclocal at foo",
1311 "print 'scope1.c'::foo::funclocal at foo",
1312 "print foo::funclocal_bss at foo",
1313 "print 'scope1.c'::foo::funclocal_bss at foo",
1314 "print foo::funclocal_ro at foo",
1315 "print 'scope1.c'::foo::funclocal_ro at foo",
1316 "print bar::funclocal at foo" and
1317 "print 'scope1.c'::bar::funclocal at foo".
1318 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
1319 gcc compiled for "print foo::funclocal at bar".
1320 Expand all messages to ensure that they identify that
1321 the test is at bar().
1322 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
1324 "ptype on opaque struct pointer (statically)",
1325 "ptype on opaque struct tagname (statically)",
1326 "ptype on opaque struct pointer (dynamically) 1",
1327 "ptype on opaque struct tagname (dynamically) 1",
1328 "ptype on opaque struct pointer (dynamically) 2" and
1329 "ptype on opaque struct tagname (dynamically) 2
1330 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
1336 "whatis bsslocal", and
1338 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
1339 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
1340 when not gcc compiled.
1341 * gdb.base/funcargs.exp (float_and_integral_args): Add
1342 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
1344 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
1345 "backtrace from call6a" when not gcc compiled.
1346 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
1347 "backtrace from call7a" when not gcc compiled.
1348 * gdb.base/callfuncs.exp (do_function_calls):
1349 Add "hppa*-*-hpux*" xfail when not gcc compiled for
1350 "p t_char_array_values(char_array_val2,char_array_val1)",
1351 "p t_char_array_values(char_array_val1,char_array_val2)",
1352 "p t_char_array_values("carray 1","carray 2")",
1353 "p t_char_array_values("carray 1",char_array_val2)",
1354 "p t_char_array_values(char_array_val1,"carray 2")",
1355 "p sum_args(1,{2})",
1356 "p sum_args(2,{2,3})",
1357 "p sum_args(3,{2,3,4})",
1358 "p sum_args(4,{2,3,4,5})"
1359 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
1360 "backtrace in corefile.exp" when not gcc compiled.
1362 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1364 * gdb.base/signals.exp: Rewrite `handle all print' test as
1365 a procedure. Accept blanks or TABs as whitespace, increase
1366 timeout and expect input buffer size for the large output
1367 from the command. Remove "i*86-*-bsdi2.0" xfail.
1369 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1371 * gdb.base/setvar.exp: Add new testcases for truncation when
1372 assigning invalid values to bitfields.
1374 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
1376 * gdb.base/callfuncs.exp (do_function_calls): Remove
1377 mips-sgi-irix* xfail for
1378 "call inferior func with struct - returns char *"
1379 and fix test so that an optional (unsigned char *) cast is
1380 accepted in the result.
1382 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
1384 * gdb.base/funcargs.exp (float_and_integral_args): Remove
1385 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1386 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
1387 * gdb.base/signals.exp: Remove duplicate "handle all print" test
1388 that accidentally got checked in.
1390 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
1392 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
1393 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
1395 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
1396 Add mips-sgi-irix5* xfail for not gcc compiled.
1397 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
1398 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
1399 "p top", "whatis top", "p middle", and "whatis middle".
1400 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
1401 "whatis signed char" for not gcc compiled.
1402 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
1403 "set variable signed char=-1 (-1)" and
1404 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
1405 * gdb.base/funcargs.exp (float_and_integral_args):
1406 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
1407 Add mips-sgi-irix* xfail when not gcc compiled for
1408 "continue to call2b".
1409 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
1410 "continue to call2g".
1411 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
1412 "backtrace from call6a"
1413 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
1414 "backtrace from call7k".
1415 Add mips-sgi-irix5* xfail when not gcc compiled for
1416 "backtrace from call7a".
1417 (localvars_after_alloca): Fix gdb_test cmds for
1418 "print * after runto ...".
1419 Remove rs6000-*-* xfails for
1420 "print i after runto localvars_after_alloca" and
1421 "print l after runto localvars_after_alloca"
1423 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
1424 when not compiled with gcc, for:
1425 "print signed char == (minus)",
1426 "print signed char != (minus)",
1427 "print signed char < (minus)",
1428 "print signed char > (minus)".
1429 * gdb.base/callfuncs.exp (do_function_calls):
1430 Add mips-sgi-irix* xfail, when compiled with native compiler, for
1431 "call inferior func with struct - returns char *".
1432 * gdb.base/return.exp (return_tests): Change xfail for
1433 "correct value returned double test" to include Solaris 2.4.
1434 * gdb.base/funcargs.exp (float_and_integral_args):
1435 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1437 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1439 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
1440 enumeration bitfields if compiling with GNU C.
1441 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
1444 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
1446 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
1447 test for PRO targets.
1449 * gdb.base/funcargs.exp: Avoid ever setting more than 8
1450 breakpoints in the inferior at any given time by making
1451 two groups of breakpoints for call2*, call6* and call7*
1454 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1456 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
1457 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
1458 from optimizing it away.
1459 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
1460 "call inferior func with struct".
1462 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
1464 * configure.in: Only configure gdb.chill for particular targets.
1466 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
1468 * gdb.base/Makefile.in: Add action to .c.o transformation
1469 rule that generates a .ci file for each .o file and remove
1470 explicit .c.o rules except for callfuncs.o.
1471 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
1472 generates a .ci file for each .o file and remove explicit
1474 (clean): Remove *.tmp *.ci files.
1475 (EXECUTABLES): Remove templ-info.exp.
1476 * gdb.base/compiler.c: New file.
1477 * gdb.c++/compiler.cc: New file
1478 * gdb.base/scope.exp: Source gdb.base/scope.ci.
1479 Change rs6000-*-* xfail for
1480 "print 'scope0.c'::filelocal_ro" and
1481 "print 'scope1.c'::filelocal" and
1482 "print 'scope1.c'::filelocal_bss" and
1483 "print 'scope1.c'::filelocal_ro" and
1484 "print 'scope1.c'::foo::funclocal" and
1485 "print 'scope1.c'::foo::funclocal_ro" and
1486 "print 'scope1.c'::bar::funclocal" and
1487 "print 'scope0.c'::filelocal_ro" and
1488 "print 'scope1.c'::filelocal at foo" and
1489 "print 'scope1.c'::filelocal_bss at foo" and
1490 "print 'scope1.c'::filelocal_ro at foo" and
1491 "print 'scope1.c'::foo::funclocal at foo" and
1492 "print 'scope1.c'::foo::funclocal_bss at foo" and
1493 "print 'scope1.c'::foo::funclocal_ro at foo" and
1494 "print 'scope1.c'::bar::funclocal at foo" and
1495 "print 'scope0.c'::filelocal_ro" and
1496 "print 'scope1.c'::filelocal" and
1497 "print 'scope1.c'::filelocal_bss" and
1498 "print 'scope1.c'::filelocal_ro" and
1499 "print 'scope1.c'::foo::funclocal" and
1500 "print 'scope1.c'::foo::funclocal_bss" and
1501 "print 'scope1.c'::foo::funclocal_ro" and
1502 "print 'scope1.c'::bar::funclocal" and
1503 "print 'scope1.c'::bar::funclocal_bss"
1504 to only be xfail'd when not compiled with gcc.
1505 Add rs6000-*-* xfail for
1506 "print 'scope0.c'::filelocal_bss before run"
1507 when compiled with gcc.
1508 (test_at_main): Add rs6000-*-* xfail for
1509 "print filelocal_ro in test_at_main"
1510 when compiled with gcc.
1511 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
1512 Add rs6000-*-aix* xfail for
1513 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
1514 "ptype t_char_array", not compiled with gcc.
1515 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
1516 xfail for "list foo (in include file)" when gcc compiled.
1517 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
1518 (integral_args): Add rs6000-*-* xfail for
1519 "run to call0a" if not compiled with gcc.
1520 (unsigned_integral_args): Add rs6000-*-* xfail for
1521 "run to call1a" if not compiled with gcc.
1522 (float_and_integral_args): Add rs6000-*-* xfail for
1523 "run to call2a" if not compiled with gcc and for
1524 "continue to call2b" for any compiler.
1525 Add rs6000-*-* xfail to
1526 "print f1 after run to call2a" for gcc compiled.
1527 (discard_and_shuffle): Add rs6000-*-* xfail for
1529 (shuffle_round_robin): Add rs6000-*-* xfail for
1530 "backtrace from call7a" if not compiled with gcc.
1531 Add rs6000-*-* xfail for
1532 "backtrace from call7b" if compiled with gcc.
1533 (call_after_alloca): Add rs6000-*-* xfail for
1534 "print c in call_after_alloca" and
1535 "print s in call_after_alloca" and
1536 "backtrace from call_after_alloca_subr"
1537 if not compiled with gcc.
1538 (localvars_in_indirect_call): Add rs6000-*-* xfail for
1539 "print c in localvars_in_indirect_call" and
1540 "print c in localvars_in_indirect_call" and
1541 "backtrace in indirectly called function" and
1542 "stepping into indirectly called function"
1543 if not compiled with gcc.
1544 (localvars_after_alloca): Add rs6000-*-* xfail for
1545 "print c after runto localvars_after_alloca" and
1546 "print s after runto localvars_after_alloca" and
1547 "print i after runto localvars_after_alloca" and
1548 "print l after runto localvars_after_alloca"
1550 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
1551 than whatis-info.exp.
1552 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
1553 than opaque-info.exp.
1554 Setup rs6000-*-* xfail for
1555 "ptype on opaque struct pointer (statically)" and
1556 "ptype on opaque struct pointer (dynamically)" when
1557 not compiled with gcc.
1558 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
1559 rather than callf-info.exp.
1560 (do_function_calls): Add clear_xfail for rs6000-*-* for
1561 "p t_float_values2(3.14159,float_val2)". Seems to work
1562 fine there, both with xlc and gcc. Need to find out what
1563 it is doing right and fix other platforms.
1564 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
1565 "call inferior func with struct - returns int",
1566 "call inferior func with struct - returns long",
1567 "call inferior func with struct - returns float",
1568 "call inferior func with struct - returns double",
1569 "call inferior func with struct - returns char *",
1570 but only if not gcc compiled (presumes xlc compiled).
1571 Change rs6000-*-* xfails for
1572 "call inferior func with struct - returns char" and
1573 " call inferior func with struct - returns short" to only
1574 xfail if not using gcc.
1575 (clean mostlyclean): Remove *.ci and *.tmp files.
1576 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
1577 than templ-info.exp.
1578 * gdb.base/langs.exp: Source gdb.base/langs.ci.
1579 Add rs6000-*-* xfail for "up to foo in langs.exp"
1580 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
1581 when not gcc compiled.
1583 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1585 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
1586 * gdb.base/corefile.exp: Likewise.
1587 * gdb.base/list.exp: Likewise.
1588 * gdb.base/scope.exp: Likewise.
1589 * gdb.base/siganls.exp: Likewise.
1591 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
1593 * gdb.base/whatis.exp: Likewise.
1595 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
1597 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
1598 failure (opcode table has been fixed to match reality).
1600 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
1602 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
1603 "call inferior func with struct - returns char",
1604 "call inferior func with struct - returns short"
1606 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
1607 "print 'scope0.c'::filelocal at main",
1608 "print 'scope0.c'::filelocal_bss in test_at_main",
1609 "print 'scope0.c'::filelocal at foo",
1610 "print 'scope0.c'::filelocal_bss in test_at_foo",
1611 "print 'scope0.c'::filelocal at bar",
1612 "print 'scope0.c'::filelocal_bss in test_at_bar"
1614 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
1615 in source file 1". This bug seems to have been fixed with both
1616 gcc and native cc (was native assembler bug?).
1618 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
1620 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
1621 "backtrace through signal handler" to "i*86-*-sysv4*".
1622 * gdb.base/signals.exp: Add xfail for "'next' behaved as
1623 continue" case. Add "known SVR4 bug" to fail message.
1624 Add "i*86-*-bsdi2.0" xfail for "handle all print".
1625 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
1626 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
1627 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
1628 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
1629 "up to foo in langs.exp", "show language at foo in
1630 langs.exp", "up to cppsub_ in langs.exp", "show
1631 language at cppsub_ in langs.exp", "up to fsub in
1632 langs.exp", and "show language at fsub in langs.exp".
1633 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
1634 "bactrace in corefile.exp".
1635 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
1636 "call inferior function with struct - returns float" and
1637 "call inferior function with struct - returns double".
1639 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
1641 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
1642 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
1643 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
1644 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
1646 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
1648 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
1649 (or overriden) "CHILL" macro rather then bare "gcc".
1650 Also look for ../../gcc/xgcc since that is what we will
1651 actually need, not "Makefile". Remove following assignment
1652 of CHILL to CHILL_FOR_TARGET because that results in
1653 recursive definition.
1655 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
1657 * gdb.base/corefile.exp: Change xfail for backtrace in
1658 corefile.exp from linuxaout to all linux.
1659 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
1660 cases where we miss the breakpoint at the signal handler
1661 for some reason. Setup xfail for linuxoldld/linuxaout and
1662 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
1663 hitting SIGURG breakpoint.
1664 * gdb.base/signals.exp: Setup xfail for "next" acting like
1665 continue to add linuxoldld. Setup xfail for all linux for
1666 "next to handler in signals_tests_1", "backtrace in
1667 signals_tests_1", "continue to func1", "pass SIGUSR1",
1668 and continue to handler".
1670 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1672 * Update all FSF addresses except those in COPYING* files.
1674 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
1676 * gdb.base/a2-run.exp: Change messages to be more explicit about
1677 the status of args, and quote binfile in results.
1679 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
1681 * gdb.base/callfuncs.exp: Add tests for passing structs to
1682 inferior functions and return various types.
1683 * gdb.base/callfuncs.c: Add functions to receive a struct
1684 and return a member of the struct, in various types.
1686 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1688 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
1690 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
1692 * config/vxworks29k.exp: New file, sources vxworks.exp.
1694 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1696 * config/gdbremote.exp: New file. Testing framework using
1699 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
1701 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
1702 "call function when asleep" and "send end of file".
1703 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
1704 for "backtrace in corefile.exp".
1705 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
1706 for "backtrace through signal handler".
1707 * gdb.base/corefile.exp: Make sure we actually generate a core file
1708 before trying the core tests. Some systems allow the user to suppress
1709 generation of core files and default to that (linux for example).
1710 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
1711 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
1713 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1715 * gdb.threads: New directory with some crude multi-threaded
1716 gdb tests (step.exp and step2.exp).
1717 * config/mt-lynx (STEP_EXECUTABLE): Define.
1718 (THREADFLAGS): Define.
1720 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
1722 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
1724 * gdb.base/signals.exp: Disable whole file for lynx until
1727 * gdb.base/signals.exp: xfail test where "next" acts like
1728 "continue" for lynx.
1730 * gdb.base/interrupt.exp: xfail test for calling function while
1731 inferior is asleep for lynx.
1733 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
1734 than one cr-lf after each command.
1736 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1738 * configure.in: Reinstate setting of stabsdirs variable, fix
1739 typo in setting up configdirs for native builds.
1741 * gdb.base/return.exp: Fix typo in return double test.
1742 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
1743 compiler from optimizing them away.
1745 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
1747 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
1748 sequences to be echo'd by gdb when using gdb_test.
1749 * gdb.chill/chexp.exp: Likewise.
1750 * gdb.fortran/exprs.exp: Likewise
1752 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1754 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
1755 after the inferior gdb has started.
1757 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
1759 * gdb.base/funcargs.exp: Likewise.
1760 * gdb.base/gdbvars.exp: Likewise.
1761 * gdb.base/interrupt.exp: Likewise.
1762 * gdb.base/list.exp: Likewise.
1763 * gdb.base/watchpoint.exp: Likewise.
1764 * gdb.c++/demangle.exp: Likewise.
1765 * gdb.c++/inherit.exp: Likewise.
1766 * gdb.chill/chexp.exp: Likewise.
1767 * gdb.fortran/exprs.exp: Likewise.
1769 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
1770 test if we can't handle IO to/from the inferior.
1772 * gdb.c++/misc.exp: Always check for a program already being
1773 started after sending a "run" command to gdb.
1775 * gdb.base/twice.exp: Start with a fresh gdb.
1777 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
1778 only depend on gdb's expression code, not the chill runtime.
1780 * gdb.base/return.c: Put return values into variables so we
1781 can have gdb print them rather than depending on the program
1783 * gdb.base/return.exp: Corresponding changes.
1785 * lib/gdb.exp: Provide default value for noinferiorio.
1786 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
1789 * gdb.base/break.exp: Always check for a program already being
1790 started after sending a "run" command to gdb.
1791 (text_next_with_recursion): Don't check the output from the
1792 program's printf statement. Instead just make sure the program
1795 * gdb.base/commands.exp: Protect tests which need arguments with
1796 $noargs conditionals.
1798 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1800 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
1801 of structure member arrays to match gdb/valops.c:value_addr change.
1803 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
1805 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
1808 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
1810 * configure.in (configdirs): Remove gdb.chill from default list
1811 of subdirs and then add it back in only if doing a native build.
1812 The current chill compiler does not yet work in any cross build.
1813 * Revert all signal changes from Jul 6.
1814 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
1815 for sh-hms targets, allowing these tests to link, with no other
1816 changes. Testing is suppressed by setting "nosignals" in site.exp.
1818 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
1820 * configure.in (signaldirs): Define and add to configdirs for all
1821 targets except some specific ones that are known to not support signals.
1822 Also clean up formatting.
1823 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
1824 (signals, sigall): Remove rules to build.
1825 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
1826 Moved to new gdb.signals directory.
1827 * gdb.signals: New test directory.
1828 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
1829 signals.c signals.exp}: New or moved files.
1831 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
1833 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
1835 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
1837 * gdb.base/return.exp: Xfail `return double' test failure
1838 on at least Solaris 2.3 and handle future/past versions on
1839 a case by case basis as appropriate. Also update message
1840 to include i*86 failures.
1842 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1844 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
1846 * lib/gdb.exp: Fix comment which erroneously identified
1847 gdb_file_cmd as gdb_load (the 19 May change was in fact to
1848 gdb_file_cmd not gdb_load).
1849 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1851 * gdb.base/setvar.exp: Make test names consistent between pass and
1852 fail cases. Use gdb_test more.
1854 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1856 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
1858 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1860 * gdb.base/help.exp: Fix expected help string for `show commands'.
1862 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1864 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
1866 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
1869 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
1871 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
1872 that loop eventually terminates. Fix Connection refused logic so
1873 that testsuite will expire nicely.
1875 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
1877 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
1878 config/rom68k.exp: New tcl glue for the appropriate monitors.
1879 These all just end up calling monitor.exp.
1880 * config/monitor.exp (gdb_target_monitor): Handle `Connection
1881 refused' by retrying. Cleanup some timeout issues.
1882 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
1883 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
1884 callers don't have to set/restore global timeout variable.
1886 * The following set of changes centralizes management of the global
1887 timeout variable. This way, it can be set in one target dependent
1888 place instead of dozens of places scattered throughout the test suite.
1889 If you need to lengthen a timeout, then you should either set timeout
1890 in one of the config/{target}.exp files, or multiply it by a factor.
1891 Setting it to an absolute value is always going to lose for some
1893 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
1894 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
1895 * gdb.base/funcargs.exp: Don't set timeout.
1896 * gdb.base/list.exp (test_forward_search): Only use local timeout.
1897 * gdb.base/printcmds.exp (test_print_string_constants
1898 test_print_array_constants): Don't set timeout.
1899 * gdb.base/ptype.exp: Don't set timeout.
1900 * gdb.base/recurse.exp: Don't set timeout.
1901 * gdb.base/return.exp: Don't set timeout.
1902 * gdb.base/watchpoint.exp: Don't set timeout.
1903 * gdb.c++/classes.exp (do_tests): Don't set timeout.
1904 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
1906 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
1908 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
1910 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1912 * lib/gdb.exp: Disable chill tests for irix5.
1914 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1916 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
1917 each test pass or fail.
1919 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1921 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
1924 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
1926 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
1928 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
1930 * config/est.exp: Fix copyright and comments. Remove dead code.
1931 Use targetname, serialport and baud variables instead of fixed
1933 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
1934 * config/cpu32bug.exp: New file to support cpu32bug monitors.
1936 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1938 * gdb.base/watchpoint.exp: Don't run
1939 test_watchpoint_triggered_in_syscall for sunos.
1941 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1943 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
1944 they don't seem to exist. Do include stdio.h.
1946 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1948 * gdb.base/a1-selftest.exp: Add alpha xfail.
1950 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1952 * gdb.base/watchpoint.c (main): Prompt before calling read().
1953 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
1954 Revise accordingly. Remove cruft about sending "123" several
1955 times, until it gets noticed. Clean up the "print buf[0]" stuff
1956 so that it passes or fails, and waits for prompts in the usual way.
1958 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1960 * gdb.base/recurse.exp: Fix comment.
1962 * TODO: Remove item about printing variables in nodebug.exp. Add
1963 item about enabling tests which are only run on some targets.
1965 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
1966 fail, make test names unique, use new gdb_test convention
1967 regarding pattern, use gdb_test more, etc.).
1969 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
1970 fail, make test names unique, etc.).
1972 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1974 * gdb.base/nodebug.c: Change return type of top and middle to
1976 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
1977 are fixed by the recent mdebugread.c changes. Allow `short ()'
1978 as type for top and middle.
1980 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1982 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
1983 nearly as I can tell, the whole thing was an accident in Stu's
1984 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
1985 to replace a send/expect pair with gdb_test, but ended up only
1986 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
1987 of 30 Mar 1995 took care of it, but left this vestigial comment
1988 which I am now nuking.
1990 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1992 * gdb.base/break.exp: Look for different line number for
1993 breakpoint at main depending on usestubs.
1995 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1997 * gdb.base/list.exp: Adjust some alternate expect patterns to
1998 match recent list0.c change. Add alternate expect pattern for
1999 output from `list default lines around main' for optimizing
2002 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2004 * lib/gdb.exp: If nosignals is not set, set it to 0.
2006 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
2008 * config/slite-gdb.exp: Responds to load symbol table prompt.
2009 * gdb.base/break.exp: Adjust line number, fix rerun.
2010 * gdb.base/langs0.c: Add #ifdef usestubs.
2012 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
2014 * gdb.base/list.exp: Adjust line contents after adding new lines in
2015 list0.c. Also fix a syntax error.
2017 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
2018 * gdb.base/break.exp: ditto.
2019 * gdb.base/list.exp: ditto.
2020 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
2021 * gdb.base/run.c: ditto.
2022 * gdb.base/list0.c: ditto.
2023 * gdb.base/funcargs.c: ditto.
2025 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
2027 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
2028 $targetname, $serialport and $baud instead of hardwired variables.
2029 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
2030 target doesn't support signals.
2032 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
2034 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
2036 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2038 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
2039 Don't rely on the value of an auto variable before it has been
2040 initialized. Use gdb_test more.
2042 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2044 * lib/gdb.exp (default_gdb_version): A version number must start
2045 with a digit, but other than that contains all characters up to
2046 the first whitespace character.
2048 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2050 * gdb.base/commands.exp (breakpoint_command_test): New tests.
2052 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2054 * gdb.c++/*.exp: Warn if executable does not exist. The original
2055 reason for skipping the warning was that configure.in sometimes
2056 intentionally skipped building the executables but the tcl code
2057 had no way of knowing. That (a) was always bogus with respect to
2058 error handling, (b) is no longer true (right now there is no way
2061 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
2063 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2065 * gdb.base/list.exp: Add expect patterns for output from
2066 SunPRO compiled executables.
2067 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
2070 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2072 * gdb.base/break.exp (test_next_with_recursion): Accept any line
2073 number (we are already testing that the correct source line text
2076 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
2077 that is what is intended, but something needed to be done to get
2078 sunos4 native working again.
2080 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
2082 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
2083 apparently went with a (very) old xfail.
2085 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
2087 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
2088 runto_main is a proc in gdb.exp that will do 'step' for target use
2090 * gdb.base/exprs.exp: ditto.
2091 * gdb.base/interrupt.exp: ditto.
2092 * gdb.base/opaque.exp: ditto.
2093 * gdb.base/printcmds.exp: ditto.
2094 * gdb.base/ptype.exp: ditto.
2095 * gdb.base/scope.exp: ditto.
2096 * gdb.base/setvar.exp: ditto.
2097 * gdb.base/signals.exp: ditto.
2098 * gdb.base/twice.exp: ditto.
2099 * gdb.c++/classes.exp: ditto.
2100 * gdb.c++/inherit.exp: ditto.
2101 * gdb.c++/templates.exp: ditto.
2102 * gdb.base/break.exp: no run and hit main for stubs. Change line
2103 numbers for breakpoints and info breakpoint.
2104 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
2106 * gdb.base/callfuncs.c: ditto.
2107 * gdb.base/exprs: ditto.
2108 * gdb.base/interrupt.c: ditto.
2109 * gdb.base/opaque0.c: ditto.
2110 * gdb.base/printcmds.c: ditto.
2111 * gdb.base/ptype.c: ditto.
2112 * gdb.base/scope0.c: ditto.
2113 * gdb.base/setvar.c: ditto.
2114 * gdb.base/signals.c: ditto.
2115 * gdb.base/twice.c: ditto.
2116 * gdb.c++/misc.cc: ditto.
2117 * gdb.c++/templates.cc: ditto.
2119 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2121 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
2123 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
2124 somewhere between `read' and `main.c'. I'm pretty sure the
2125 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
2126 and it isn't particularly useful.
2128 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
2130 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2132 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
2134 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
2136 * config/mt-slite: add LIBS and -nostdlib.
2137 * config/slite-gdb.exp: add this new file to support sparclite target.
2139 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
2141 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
2143 * gdb.base/a2-run.exp: Change argument to istarget from
2144 "*-*-vxworks" to "*-*-vxworks*".
2145 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
2147 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
2149 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
2150 will not runto main but do a 'step' to step out of breakpoint().
2151 * config/mt-slite: add -Dusestubs.
2153 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2155 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
2158 * gdb.base/signals.exp: Add test for "handle all print".
2159 * TODO: Remove "handle all print". Also remove item about
2160 checking copyright date (I don't like the idea of a spurious FAIL
2161 based on when we run the tests).
2163 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
2164 for SunOS4 (reason for failure not investigated). Remove
2165 redundant test for $binfile.
2167 * gdb.base/nodebug.c (array_index): Call malloc.
2169 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
2171 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
2173 * gdb.base/recurse.exp: Update gdb_test invocation to use new
2174 conventions and slightly simplify the matching regexp.
2176 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2178 * gdb.base/break.exp: Update gdb_test invocation to use new
2181 * lib/gdb.exp: If noargs is not set, set it to 0.
2183 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
2186 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
2188 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2190 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
2191 one argument of type "<non-float parameter>".
2193 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
2195 * config/rom68k.exp: New file to support Motorola IDP board.
2196 * gdb.base/a2-run.exp: Skip this file if noargs is set.
2197 * gdb.base/break.c: Change things around so that this program
2198 doesn't depend upon args. This is necessary to make remote
2199 targets work (in general, they can't take args).
2200 * gdb.base/break.exp: Don't try to send args to program. Don't
2201 expect output. Also, replace lots of code with gdb_test.
2203 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2205 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
2206 printing of '\'' (which is what the comment says we are testing,
2207 even though we were not), not '''.
2208 (test_integer_literals_rejected): Test that printing ''' is an error.
2210 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2211 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
2212 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
2213 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
2214 Use gdb_test not test_print_accept.
2215 * lib/gdb.exp: Remove test_print_accept.
2217 * gdb.base/signals.exp (signal_tests_1): Make pass message
2218 consistent with fail message.
2220 * gdb.base/whatis.exp: Remove xfails for printing char vs.
2221 unsigned char; the bug (PR 1821) is fixed.
2223 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
2225 * gdb.base/scope.exp (test_at_localscopes): Call pass for
2226 successful tests--makes xfailing them work right.
2228 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2230 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
2231 only \r\n, not .*. The test can pass .* as the last thing in
2232 $pattern if that is what it wants. In addition to providing this
2233 flexibility, this change should speed up pattern matching in cases
2234 where the pattern already ended with .* (there were a number of
2235 them). This change also helps catch bad patterns--in the old
2236 scheme the typo "char \*" instead of "char \\*" would pass. Now
2238 * Many .exp files: Update callers.
2240 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
2241 clearer and does not spuriously match multiple ('s. Likewise for
2244 * gdb.base/nodebug.exp: Test ability to call a function and pass
2245 it a string (even with no debugging info).
2247 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
2248 "p '\'", which is the same as "p ''" once tcl gets done with
2249 quoting, to "p '\\'", which I suspect is what is intended (one
2250 backslash gets sent to GDB).
2252 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
2254 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2256 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
2257 1817) was fixed literally years ago.
2259 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2261 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
2262 test, it causes stepping out of call_after_alloca_subr with
2263 optimizing compilers.
2264 (localvars_in_indirect_call): Consume GDB prompt if `finish'
2267 * gdb.c++/templates.exp: Source templ-info.exp only if
2268 the templates executable exists.
2270 * gdb.c++/misc.cc (class Contains_static_instance,
2271 class Contains_nested_static_instance),
2272 gdb.c++/classes.exp (test_static_members): Test printing of
2273 a class that contains a static instance of the class.
2275 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2277 * gdb.base/langs2.c (cppsub_): Don't prototype.
2278 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
2281 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2283 * lib/gdb.exp (skip_chill_tests): New procedure.
2285 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
2287 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
2289 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
2290 each expect pattern. Cuts runtime from 12 to about 4 seconds.
2292 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2294 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
2296 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
2297 disassemble 8, not 16, instructions for part 4.
2299 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
2300 support the latter anymore.
2302 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
2304 * gdb.base/callfuncs.c: Control use of prototypes based on
2305 NO_PROTOTYPES, not __STDC__.
2306 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
2307 t_float_values2 tests if prototypes in use.
2309 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
2310 t_double_values): When checking differences against DELTA, check
2311 that difference is within the range (-DELTA,DELTA), not just
2314 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
2316 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
2317 'file' command firts, then 'target', then 'load', this is due to gdb
2319 * config/mips-gdb.exp: Fix a couple regular exp bugs.
2321 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
2323 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
2324 FP load/store variants.
2325 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
2327 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2329 * gdb.base/term.exp: Do not give a warning if not native, it is
2330 not an abnormal condition.
2332 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
2334 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
2337 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2339 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
2340 are getting the version number.
2342 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
2343 if not native, it is not an abnormal condition.
2345 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2347 * lib/gdb.exp: Just use "file exists", rather than undocumented
2348 dejagnu procedure "findfile".
2350 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2352 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
2353 (LDFLAGS): Set to -Xlinker -Ur.
2355 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
2356 Removed, these values are set by lib/gdb.exp.
2358 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
2360 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2362 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
2363 of replicating gdb startup code.
2365 * config/mt-vxworks (LDFLAGS): Set to -r.
2366 (CFLAGS_FOR_TARGET): Removed.
2368 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
2369 (gdb) and gdb for vxworks uses (vxgdb).
2371 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
2372 executable is not in the tree and host != target, use sed and
2373 program_transform_name to determine the gdb name used by the
2376 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
2377 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
2379 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2381 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
2382 floats, chars, and shorts where there are ANSI-style function
2385 * gdb.base/langs.exp, gdb.base/langs*: New test.
2386 * gdb.base/Makefile.in: Build it.
2387 * TODO: Remove item about checking that C names don't get C++
2388 demangling applied; this test tests it.
2390 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2392 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
2393 went with the const70 xfail. The xfail went away a year ago.
2395 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
2397 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
2400 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
2402 * gdb.base/a1-selftest.exp: Don't run on hp300.
2404 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2406 * Makefile.in (site.exp): Set host_alias and target_alias as well
2407 as host_triplet and target_triplet.
2409 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2411 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
2413 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
2414 places as other ecoff systems).
2416 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
2419 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2421 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
2423 * gdb.base/nodebug.exp: Accept "function" in addition to "text
2424 variable and "variable" in addition to "data variable".
2425 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
2427 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
2429 * gdb.base/list1.c (long_line): Add additional statement at start
2431 * gdb.base/list.exp (test_forward_search): Update line number to
2432 reflect new statement.
2434 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2436 * gdb.base/signals.exp: Reinitialize searched source directories
2437 after gdb_start call.
2439 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
2441 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
2442 * gdb.stabs/Makefile.in: Likewise.
2444 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
2445 change. Instead split the tests into smaller pieces.
2446 * gdb.disasm/hppa.s: Corresponding changes.
2448 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2450 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2451 Quote ^C when passing it to stty. For some shells ^ is a pipe.
2453 * gdb.base/funcargs.exp: Modify many tests so that every test
2454 either passes or fails. Make some test names unique.
2456 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2458 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2459 Call stty to set interrupt character.
2461 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
2462 for HP assembler versus GNU assembler based on actual behavior of
2463 $(CC), rather than assuming that $(AS) is always the GNU assembler.
2465 * TODO: Suggest a few more stepping tests.
2467 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
2469 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
2470 restart GDB for h8300 after a continue.
2471 (return): Add pattern to match a29k-udi behavior.
2472 * gdb.base/nodebug.exp: Remove obsolete comment.
2473 * gdb.base/regs.exp: New file, testing of register displays.
2474 * gdb.base/return.exp: Fix typo in reference to $objdir.
2475 * gdb.base/whatis.exp: Always start with a fresh GDB.
2477 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2479 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
2480 higher, these tests generate a lot of output.
2482 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2484 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
2485 code following the catch silently ignored some errors; without the
2486 catch they should be thrown like any other tcl error. Also, the
2487 catch used "" instead of {} which meant all the callers who wanted
2488 to include one of the characters "[]$ had to quote it an extra time.
2489 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
2490 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
2491 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
2492 Remove extra quoting.
2494 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
2496 * gdb.base/commands.exp: Make test names unique; every test either
2497 passes or fails. Update some comments.
2499 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
2501 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2503 The following fixes a FAIL caused by the fact that the alpha stabs
2504 configuration didn't use the ".if alpha" code in weird.def.
2505 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
2506 bit pointer, so the 32 bit version works even on the alpha.
2507 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
2508 Remove the stuff which allowed us to have separate versions for
2509 alpha and everything else.
2511 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
2512 regexp which "info func operator\[\](" is supposed to match. Fix
2513 string to send to GDB. Note that GDB still doesn't work right. Add a
2514 new test for "info func .perator\[\](" which GDB does handle correctly.
2516 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
2518 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2520 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
2521 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
2522 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
2523 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
2524 it makes the tests harder to understand and confuses test-o-matic.
2525 The preferred style is that each test provides a PASS or a FAIL,
2526 and has a unique message (e.g. "continue #54" not just "continue")
2527 which is the same for the pass and the fail.
2528 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2529 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
2531 * gdb.base/printcmds.exp: Use test_print_accept. Remove
2532 prt_accept which was basically the same thing. Likewise for
2533 test_print_reject and prt_reject.
2534 * lib/gdb.exp (test_print_reject): Add some more error message
2535 patterns to match from the former printcmds.exp (prt_reject).
2536 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
2537 One defect of the passcount stuff is that some of it failed to
2538 report XPASS where appropriate.
2539 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
2540 stuff before and after arg in expected pattern.
2541 (test_paddr_operator_functions): Re-do test without print_addr_of;
2542 this is the only test which seems to want extra stuff there.
2544 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2546 * gdb.base/nodebug.exp: Update new tests to reflect improved
2547 wording of gdb output.
2549 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
2550 and "ptype" work on variables in files compiled without -g.
2551 Replaces commented out "maint print msymbol" tests.
2553 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2555 * gdb.base/setvar.c (dummy): Call malloc.
2557 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
2558 losing with the irix4 sed.
2560 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
2563 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2565 * TODO: Remove items about corefile.exp testing new exec-file and
2566 backtrace; both are now done. Add items about printing enums.
2568 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2570 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
2571 "get signal $thissig" test fails.
2573 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
2575 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2577 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
2578 compiler warning with dec alpha compiler.
2580 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
2581 extra \n from gdb_test call (this explains why the prompt test
2582 that I removed yesterday was there).
2583 (user_defined_command_test): Remove extra \n and prompt test.
2585 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
2586 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
2588 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
2589 Also remove alpha workaround, which turns out to be because
2592 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
2594 * gdb.base/help.exp: Don't test "help show".
2596 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2598 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
2599 "set print address" is on.
2600 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
2601 pass prompt to gdb_test; gdb_test already looks for the prompt.
2603 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
2605 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
2606 was a vestige of the manual TESTSTRATEGY, and the purpose of it
2607 was to make sure that gdb can read a core file. But (a) the "read
2608 the corefile" part didn't make it to a1-selftest.exp, we just
2609 delete the corefile after creating it, and (b) we test reading
2610 corefiles in corefile.exp anyway. Also, this test left around a
2611 xgdb process on Solaris.
2613 * gdb.base/corefile.exp: Also test backtrace.
2615 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
2617 * gdb.base/commands.exp: Test a simple user defined command with
2618 arguments and if/while statements; verify the full user command is
2619 printed by "show user".
2621 * gdb.base/commands.exp: Test if/while commands as part of a
2622 breakpoint command list; verify they appear in breakpoint
2625 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2627 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
2628 than by dividing by zero.
2630 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
2632 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
2633 performing an inferior call with watchpoints enabled.
2634 * gdb.base/watchpoint.c (main): Delete second unnecessary read
2637 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2639 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
2642 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
2643 Add additional pattern for when "int operator int(void);" appears
2644 in a different order.
2646 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2648 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
2650 * gdb.base/help.exp: Replace most of docstrings for "info signals"
2651 and "signal" with ".*".
2653 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2655 * TODO: Add note about "handle all nostop".
2657 * gdb.base/{sigall.c, sigall.exp}: New test.
2658 * gdb.base/Makefile.in: Add it.
2660 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
2662 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
2663 when invoking GDB, suppresses any windowing interface.
2665 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
2667 * config/sim-gdb: New file, simulator testing support.
2669 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
2671 * gdb.base/interrupt.exp: Test calling func1 twice.
2673 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
2675 * gdb.base/list.exp (test_forward_search): Set timeout higher
2676 when we'll be getting lots of output from gdb.
2678 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
2679 "init_malloc" to after the expect statement. Run it if that
2680 regexp is taken, but also for two others which happen if source
2683 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2685 * gdb.base/printcmds.exp: New test, for printing register before
2688 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2690 * gdb.base/list.exp: Correct some alternate expect patterns
2691 to reflect changes in list1.c.
2693 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2695 * TODO: Add item regarding large frames.
2697 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
2699 * TODO: Remove item about enabling return.exp; it
2700 is enabled. Suggest a few more "return" tests.
2702 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2704 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
2707 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2709 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
2710 and pr-5646.o, so "make" is the same as "make all", not "make
2713 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
2715 * gdb.base/list.exp: Adjust expectations to reflect changes in
2717 (test_forward_search): New test proc.
2718 * gdb.base/list1.c (long_line): New function, has long source line.
2720 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
2722 * gdb.base/a1-selftest.exp: Change initial stepping to know about
2723 additional line of code that was added.
2725 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
2727 * gdb.disasm/hppa.s: Break the large branching tests into smaller
2728 tests so as not to overflow expect's input buffers.
2729 * gdb.disasm/hppa.exp: Corresponding changes.
2731 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2733 Beginnings of template debugging tests.
2734 * gdb.c++/templ-info.cc: New file to test for template
2735 debugging capability of the compiler.
2736 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
2738 * gdb.c++/templates.cc: Add explicit template instantiations
2739 to enable compiling with -fno-implicit-templates. Add destructor
2740 and 'value' method to T5 class for template tests.
2741 * gdb.c++/templates.exp: Add testcases for printing of template
2742 types, setting breakpoints on template methods and calling a
2745 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
2747 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
2748 branch target since some assemblers (gas-2.5) may emit a
2749 relocation for the branch instead of resolving it in the
2752 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2754 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
2755 through signal handler.
2757 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2759 * configure.in (*-*-netware): Use config/mt-netware.
2761 * config/mt-netware: New file.
2762 * config/mt-i386-netware: Removed, separate configs for different
2763 netware architectures are no longer needed now that we have
2766 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2768 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
2769 by the recent changes to use ANSI C arithmetic conversions.
2771 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2773 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
2774 bug involving using inferior_pid to figure out whether to select a
2777 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
2779 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
2780 match the current disassembler output.
2782 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
2784 * gdb.fortran/exprs.exp: Expect VOID instead of void.
2785 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
2786 types, expect "int" as type of integer values (for now).
2788 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
2790 * gdb.base/commands.exp: New tests for if/while commands.
2792 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
2794 * lib/gdb.exp (runto): Replace sub-pattern for hex value
2795 by .*, since hex values have different syntax in Chill mode.
2797 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2799 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
2800 linefeed from expect pattern for repeated types with indices > 9.
2802 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
2804 First part of Fortran test suite.
2805 * gdb.fortran: New directory.
2806 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
2808 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2810 * gdb.base/default.exp: Update expect pattern for load command
2813 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2815 * configure.in: Change i386 to i[345]86.
2816 * gdb.base/configure.in: Likewise.
2817 * gdb.c++/configure.in: Likewise.
2818 * gdb.chill/configure.in: Likewise.
2820 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2822 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
2823 patterns, since that is not a valid context for comments.
2825 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
2827 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
2828 repeated types and repeated types with indices > 9.
2830 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
2832 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
2833 2417; old bug has been fixed.
2835 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
2837 * gdb.base/interrupt.exp: When trying to wake up the inferior,
2838 send the newline ourselves instead of assuming gdb_test will do
2839 so when passed an empty input string.
2841 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
2844 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2846 * lib/gdb.exp (gdb_test): Don't send anything if the first
2847 argument is an empty string. This makes cases where we want to
2848 match output that is already in expect's buffers (for example,
2849 matching a breakpoint after gdb_run_cmd has been called) work
2852 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2854 * config/netware.exp: New file.
2856 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2858 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
2859 the -B and -L prefixes so we can find the debugging stub.
2861 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
2862 there and we are using the gcc from the tree.
2864 * gdb.base/types.c: Removed.
2866 * gdb.base/configure.in: Look for makefile fragments in ../config.
2867 Recognize i386-*-netware.
2868 * gdb.c++/configure.in: Likewise.
2870 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2872 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
2873 the correct TCL syntax.
2875 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2877 * gdb.base/opaque.exp: use runto instead of messing around with
2878 breakpoints. Simplify by using gdb_test.
2880 * gdb.base/bitfields.exp: restart between tests on netware targets
2881 because breakpoints aren't relocated after target death. Run
2882 processes to completion.
2884 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
2886 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
2888 * Makefile.in: Remove extra tabs that confuse some versions
2889 of "make". Use the newly built gdb to test with by default,
2890 rather than the first one in the tester's search path.
2892 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
2894 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
2896 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
2899 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2901 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
2903 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
2905 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
2906 * gdb.base/funcargs.exp: Likewise.
2908 * gdb.base/bitfields.exp: Simplify by using gdb_test.
2909 * gdb.base/funcargs.exp: Likewise.
2911 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
2914 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2916 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
2917 return,signals,twice}.exp: Handle non-existant binaries
2920 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
2921 * gdb.base/Makefile.in: Don't try to generate a core dump, we
2922 might testing a cross development system.
2924 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2926 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
2927 runtest script is relative to ${srcdir}, not ${rootdir}.
2929 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
2931 * gdb.base/signals.exp: Allow for optionality of breakpoint
2934 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2936 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
2938 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2940 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
2941 for size_t definition.
2942 * gdb.c++/templates.cc: Likewise
2944 * config/mt-i386-netware: New file.
2946 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
2949 * gdb.base/Makefile.in: Added support for systems that name core
2950 files by appending "core" to the program name.
2951 * gdb.base/a1-selftest.exp: Likewise.
2953 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2955 * gdb.base/return.exp: Add comment and message for `return double'
2956 test failure on Sparc Solaris.
2958 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
2960 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
2962 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2964 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
2965 from optimizing them away.
2966 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
2967 patterns to include default constructors and assignment operators,
2968 to match gcc versions beyond 2.5.8. Accept any cplus demangling
2969 character in the output of the virtual base pointer.
2971 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2973 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
2974 expression match in print_addr_of to avoid unintented matches.
2975 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
2976 versions up to 2.5.8.
2978 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2980 * gdb.base/list.exp: Tweak alternate pattern for listing of an
2981 included file to run under newer versions of expect.
2982 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
2983 consecutive >'s in templates to accomodate recent cplus-dem.c change.
2984 Remove xfail for the virtual table of BDDHookV.
2986 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
2988 * lib/gdb.exp (string_to_regexp): Set a default result.
2989 (default_gdb_start): Fix misleading message.
2991 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
2993 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
2994 Remove all CC, etc definitions.
2995 * config/mt-hpux: New file.
2996 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
2997 (CFLAGS, LDFLAGS): Define.
2998 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
3000 * Makefile.in (site.exp): Don't insert host_os, etc.
3001 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
3002 (distclean): Check existence of subdir.
3003 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
3004 * gdb.base/Makefile.in: General cleanup and simplification.
3005 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3006 to build executables. Use default rule to build .o files.
3007 (EXPECT, RUNTEST, CC): Fix relative pathname.
3008 (site.exp): Don't insert host_os, etc.
3009 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
3010 and/or SIGUSR1 defined.
3011 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
3012 * gdb.c++/Makefile.in: General cleanup and simplification.
3013 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3015 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
3017 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
3019 * gdb.base/recurse.exp: Misc changes to get tests running again
3020 after Kung's changes to the watchpoint code.
3021 * gdb.base/watchpoint.exp: Likewise.
3023 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
3025 * lib/gdb.exp (string_to_regexp): Convert {\} also.
3027 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
3029 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
3030 * lib/gdb.exp (default_gdb_start): Define.
3031 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
3032 gdb.base/funcargs.exp, gdb.base/opaque.exp,
3033 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
3034 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
3035 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
3036 Don't call gdb_target_udi in between tests.
3038 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3040 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
3041 (which was basically just a local version of the same thing). In
3042 addition to avoiding duplication, gdb_test_exact is faster.
3043 * lib/gdb.exp (gdb_test_exact): Fix typo.
3045 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
3046 don't give an error.
3048 * gdb.base/term.exp: Call delete_breakpoints before starting.
3050 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
3053 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3055 Reorganization of the GDB Test Suite.
3057 * gdb.base: New directory, contains all the basic tests.
3058 * gdb.c++: New directory, tests specific to C++.
3059 * gdb.chill: New directory, tests specific to Chill.
3060 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
3061 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
3062 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
3063 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
3064 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
3066 * */gdbme.*: Rename to match appropriate expect scripts.
3067 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
3068 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
3069 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
3070 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
3071 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
3072 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
3073 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
3074 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
3075 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
3076 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
3077 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
3078 gdb.c++/virtfunc.cc: New names of C++ files.
3079 * gdb.chill/chillvars.ch: New name of Chill file.
3080 * gdb.base/configure.in, gdb.c++/configure.in,
3081 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
3082 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3083 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
3084 * configure.in (configdirs): Update to reflect directory changes.
3085 (target_abbrev): No longer define for any configuration.
3086 * Makefile.in: Cosmetic improvements to header comments.
3088 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
3090 Various changes to gdb.t31:
3092 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
3093 * gdbme.ch: Make all key-words and predefineds be upper-case.
3094 * chillvars.exp: Expect key-words and predefinds in upper-case.
3096 * chillvars.exp: Use gdb_test_exact many places.
3097 Change expected output for arrays (which now includes index labels).
3099 * pr-5020.exp, gdme.ch (module PR_5020):
3100 New test, for PR-5020.
3102 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
3104 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
3105 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
3107 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
3109 * Makefile.in: Fix bit-rot in definitions of CHILL,
3110 CHILL_FOR_TARGET and Chill_LIB.
3111 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
3112 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
3113 CHILL, and CHILL_LIB.
3115 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
3117 * Revert the previous changes. Please see Rob's directory
3118 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
3120 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
3122 * Makefile.in, configure.in, config/mips-gdb.exp,
3123 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
3124 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
3125 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
3126 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
3127 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
3128 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
3129 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
3130 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
3131 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
3132 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
3133 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
3134 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
3135 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
3136 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
3137 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
3140 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
3142 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
3143 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
3144 Rob's new testing fragments.
3146 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
3148 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
3149 lib/gdb.exp: Replace error proc calls with perror.
3151 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3153 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
3154 version also, match on casted version strings, and match on
3155 gdb startup case where the line numbers might be messed up.
3157 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
3159 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
3160 (CFLAGS): Delete it from here.
3162 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
3164 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
3166 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
3168 * Makefile.in (RUNTEST): Default to just "runtest".
3170 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3172 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
3173 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
3174 the code has been restructured.
3176 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3178 * gdb.t00/default.exp (set write): Allow any number of \r and/or
3179 \n, not just one of each.
3181 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
3182 /bin/cc gives a warning if you do.
3184 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
3186 * gdb.t24/demangle.exp: change expect pattern of
3187 __t10ListS_link1ZUiRCUiPT0
3189 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3191 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
3192 on local variables in recursive functions.
3194 * gdb.t07/Makefile.in: Build the new test.
3196 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3198 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
3199 directly. Instead compare the return values from actual calls.
3201 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
3203 * Makefile.in (check): Set TCL_LIBRARY for runtest.
3205 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3207 * From Peter Schauer with minor modifications.
3208 * gdb.t15/return.exp (return_tests): Handle targets where "return"
3209 stops in mid-line in the caller. Add xfail for returning a float
3210 value on X86 targets.
3212 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3214 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
3215 to avoid expect lossage.
3216 (fmem_LRbug_tests): Likewise.
3217 * gdb.disasm/hppa.s: Corresponding changes.
3219 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
3220 conditions to work with latest dejagnu/expect.
3222 * gdb.t15/funcargs.exp (finish from indirect call): No longer
3223 expected to fail on the PA.
3224 (backtrace in call with trampolines): Explicitly require main
3225 to be frame #1 (no trampolines should show up in backtrace).
3227 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
3229 * gdb.t06/break.exp: Likewise.
3230 * gdb.t07/watchpoint.exp: Likewise.
3231 * gdb.t13/bitfields.exp: Likewise.
3232 * gdb.t15/{funcargs,return}.exp: Likewise.
3233 * gdb.stabs/weird.exp: Likewise.
3234 * config/{mips,udi}-gdb.exp: Likewise.
3236 * hppa.sed: Enclose comments within a sed command to avoid
3237 losing with the old OSF1 sed.
3239 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3241 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
3243 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
3244 * gdb.t15/funcargs.exp: Conditionally step again to really
3245 finish from marker_call_with_trampolines. Handle the case where
3246 the first step from within call_with_trampolines already steps
3248 * gdb.t15/gdbme.c: Add comment to closing brace of
3249 call_with_trampolines for funcargs.exp.
3251 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3253 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3256 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3258 * gdb.t07/gdbme.c: More code for watchpoint testing.
3260 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
3261 "Hardware watchpoint" throughout file.
3262 (test_watchpoint_triggered_in_syscall): New test.
3263 (test_complex_watchpoint): New test.
3265 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3267 * gdbme.c (call_with_trampolines): New function to try and step
3268 into. Tests trampoline problems on the PA.
3270 * funcargs.exp (localvars_in_indirect_call): No longer expect
3271 stepping into indirect call to fail on PAs.
3272 (test_stepping_over_trampolines): New test.
3274 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3276 * TODO: Add suggestions for static member function tests, and
3279 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3281 * TODO: Add suggestions for "p/a" tests.
3283 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
3284 (default_gdb_exit): Replace all the hair with sending "quit" to
3285 the process with a simple close.
3287 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3289 * TODO: Add suggestions for shared library tests.
3291 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3293 * TODO: Add suggestions for x/s tests.
3295 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3297 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
3298 "enable once", and "enable breakpoints once" with ".*".
3300 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3302 * TODO: Add suggestions about structure passing tests.
3304 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3306 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
3307 the primary1 test, use work around if __GNUC__ < 2.
3308 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
3309 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
3310 Test for bad output rather than waiting for timeout. Issue
3311 second continue only if first continue failed.
3313 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3315 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
3316 operator[] test with gdb_test because the old code didn't seem to
3317 be getting the quoting right with the new dejagnu.
3319 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
3321 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
3323 * Makefile.in: Use a fresh expect if there is one, use runtest
3324 from the src tree if there is one.
3326 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3328 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
3329 next over recursive call. Revise the tests from that point on
3330 (which had been skipped) to match GDB's actual (correct) output.
3332 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
3333 with next over a breakpoint whose condition is false.
3335 * gdb.t00/help.exp: Comment out "help set print" tests just like
3336 (and for same reason as) "help set" test.
3338 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3340 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
3341 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
3343 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3345 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
3346 necessary gdb_target_udi.
3348 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
3350 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
3351 1838 and 2417; they are fixed.
3353 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
3354 gdb.t03/ptype.exp (ptype structure, ptype union):
3355 Remove xfails; the test is looser than when the xfails were added.
3357 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
3358 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
3360 * gdb.t01/run.exp: Only run shell test if isnative.
3362 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
3363 since "run" automatically loads if necessary. Call gdb_target_udi
3364 after the "file" since "file" kills any execution target.
3366 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
3367 GDB. GDB doesn't work that way (not anymore at least) on UDI.
3368 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
3371 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3373 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
3375 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
3377 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3379 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
3380 properly quoting regexps. This makes the second argument to
3381 demangle a fixed string, which matches the callers, instead of a
3382 shell-style pattern which is what the previous implementation
3383 used. Update some of the callers.
3385 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3387 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
3388 (comib_nullified_tests): Fix typo.
3389 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
3390 strings. No longer expected to fail.
3392 * gdb.disasm/hppa.s (addib_tests): Fix typo.
3393 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
3394 strings. No longer expected to fail.
3396 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
3397 string. No longer expected to fail.
3399 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3401 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
3402 No longer expected to fail.
3404 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
3405 string. No longer expected to fail.
3407 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3409 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
3410 only in the names (I probably got most of them). I was even
3411 generous with some which differed in underscores in names, and
3412 probably missed a few, and I *still* was able to remove almost a
3413 third of the file with almost no impact on testsuite coverage.
3415 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3417 * gdb.t00/default.exp: Match udi_attach error message as well as
3418 the one from child_attach.
3420 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
3422 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
3424 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
3425 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
3427 * Move test with enums and partial symbols back to
3428 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
3429 Reverts the change of 26 May 93. Per today's change to
3430 stabs.texinfo, the behavior that weird.exp was expecting was
3431 unreasonable; what is important is that the compiler+gdb get
3432 things right, which happens with a recent gcc. Also fix the test
3433 to deal with native compilers which put out the stab gdb can't
3436 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3438 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
3439 in the names. The main thing these accomplish is to slow things down.
3440 Many more such duplicates surely remain.
3442 * gdb.t00/help.exp: Comment out "help support" test just like
3443 (and for same reason as) "help set" test.
3445 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
3447 * gdb.t06/break.exp: Remove setup_xfails for
3448 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
3449 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
3450 about known bug in gcc to include up through 2.5.8.
3451 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
3453 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
3454 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
3455 with latest gcc and gdb.
3456 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
3459 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3461 * configure.in (hppa*-*-*): Also configure and build stabs-only
3464 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3466 * gdb.t10/hppa.mt: A makefile fragment for the PA.
3467 * gdb.t10/configure.in (hppa*-*-*): Use it.
3469 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3471 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
3473 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3475 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
3476 versions prior to 1.13.5.
3478 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3480 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
3481 the prompt is at the start of a line.
3483 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3485 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
3486 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
3487 in the copr tests now.
3488 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
3489 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
3492 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
3494 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
3495 gdb.t31/chillvars.exp, lib/gdb.exp:
3496 Tweak to run under either version of expect.
3497 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
3498 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
3499 * gdb.t11/list.exp: Remove extraneous whitespace.
3501 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3503 * gdb.t16/printcmds.exp (test_print_strings): Accept
3504 "(unsigned char *) " before the string.
3506 * TODO: Add notes about printing of fancy types and GDB expressions.
3508 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
3510 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
3511 * gdb.t06/configure.in: Don't try to compile signals test program
3512 if doing mips-idt-ecoff.
3514 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
3516 * Most .exp files: Tweak to run under either version of expect.
3518 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3520 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
3521 xfails; I'm not sure why they are failing, but not because of PR 1806.
3523 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
3525 * config/unix-gdb.exp: Remove gdb_unload cause it's already
3526 defined in lib/gdb.exp.
3528 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3530 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
3531 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
3532 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
3533 have to be typeless.
3535 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3537 * TODO: Add suggestion for copyright year test.
3539 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
3541 * configure.in (*-*-lynxos*): Add stabs tests.
3543 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3545 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
3546 so insert a tab before any assembler directive in column zero.
3548 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
3550 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
3552 (fpu_short_memory_tests): Likewise.
3554 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3556 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
3557 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
3558 .stabs directives in comments.
3560 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3562 * TODO: New file, describing tests we could write.
3563 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
3565 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3567 * gdb.t06/signals.exp: Add kludge to force re-sync.
3569 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
3570 to xgdb instead of gdb, get out of gdb.
3572 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
3574 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
3577 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3579 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
3580 * gdb.stabs/configure.in (hppa*-*-*): Use it.
3581 * gdb.stabs/hppa.sed: New sed script for the PA.
3583 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3585 * gdb.stabs: Re-write weird.def and configuration to use sed
3586 instead of cpp. sed is portable and POSIX; cpp is neither.
3588 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3590 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
3592 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3594 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
3596 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3598 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
3600 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
3601 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
3603 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3605 * lib/gdb.exp: Comment out code which depends on non-existent
3606 `transform' procedure.
3608 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
3610 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
3611 * lib/gdb.exp: Transform tool name.
3612 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
3613 1.1's new error handling system.
3615 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3617 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
3619 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3621 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
3622 They made pattern matching so slow that timeouts happened on
3623 heavily loaded systems. Now any output from "show print" which
3624 gets us back to the GDB prompt is a PASS.
3626 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
3628 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
3630 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3632 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
3634 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
3635 It is not from PR 3220.
3637 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3639 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
3640 just started failing because they depended on the order the
3641 subcommands are presented, or exact docstring text. This kind of
3642 test is a pain and has minimal benefit.
3644 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3646 * gdb.t09/corefile.exp: At end of test, use "core" command with
3649 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
3651 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
3652 17}/Makefile.in: Make it possible to run the testsuite with Sun
3653 make and CC = cross gcc by adding explicit build rules for .o
3656 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3658 * gdb.t15/funcargs.exp: Don't put comments on same line as
3659 setup_xfail (@#$*%& tcl braindamage!).
3661 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3663 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
3665 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
3667 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
3668 * gdb.t20/inherit.exp: remove three dumplicate entries.
3670 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3672 * gdb.t06/break.exp: For "next over recursive call", fail on any
3673 incorrect output, not just on "factorial (value=2)".
3675 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3677 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
3678 working now. Add an xfail if accesing a bss variable causes
3679 a memory error if the target is not yet run.
3681 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3683 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
3684 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
3685 name of __st* demangling (2 strings). Did Kung really get the
3686 more than 95 others right without testing them?
3688 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
3690 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
3692 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
3694 * configure.in (configdirs): Add gdb.disasm
3695 * gdb.disasm: New directory for GDB disassembler tests.
3696 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
3698 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3700 * gdb.t00/help.exp: Don't test "help set".
3702 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
3703 from within expect statements. None of these happen anymore and
3704 they cause regressions to be silently unnoticed.
3706 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
3707 messages) about known failures with gcc cygnus-2.4.5-930417.
3709 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
3710 comp-info.exp so it gets built if it doesn't exist.
3712 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
3713 it is no longer used.
3714 * gdb.t13/comp-info.c: Removed.
3716 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3718 * gdb.t06/signals.exp: Add xfail for sun3.
3720 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3722 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
3723 relevant because ^C doesn't get sent but failure can be reproduced
3726 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3728 * gdb.stabs/alpha.mt: New configuration file for alpha.
3729 * gdb.stabs/configure.in: Use it.
3730 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
3731 sharing with alpha.mt, redefine long to word via preprocessor.
3732 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
3734 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
3736 * gdb.t00/teststrategy.exp: Change expect string so that we
3737 consume the `(xgdb)' from the command echo and from the gdb prompt.
3738 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
3739 gdb currently compares all values as long, so this failure probably
3740 applies to any configuration where LONGEST is bigger than a target int.
3741 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
3743 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
3744 to handle opaque pointers, gcc is.
3745 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
3746 as first argument. Include <sys/types.h> and change all operator
3747 new definitions to use size_t.
3748 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
3749 now that we use size_t.
3751 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3753 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
3754 a long or float array cast all array members to the same type.
3755 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
3757 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
3759 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
3761 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3763 * gdb.t24 (demangle.exp): Constructors of templates have names like
3764 vector<int>::vector(int) not vector<int>::vector<int>(int). See
3765 section 14.6 of the ARM.
3767 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
3768 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
3769 accomplish little and slow down the testsuite.
3771 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
3772 Accept spaces various places.
3774 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3776 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
3777 with watchpoint enabled.
3779 * Makefile.in: Remove definition of CC and remove the second
3780 definition of CXX (the "CXX = gcc" one remains). These definitions
3781 were causing backquotes to be expanded within backquotes, which
3784 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
3786 * gdb.t17/callfuncs.exp: Add "return 0" to end.
3788 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3790 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
3791 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
3792 by mips cc and contains no stabs entries.
3794 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
3796 * config/vx-gdb.exp: Use fake device to load files rather than
3798 * lib/gdb.exp: New proc to do "file" command.
3799 * config/unix-gdb.exp: Use new "file" proc.
3801 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3803 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
3804 Rework board rebooting slightly.
3805 (gdb_exit): Don't exit from the remote shell; there isn't one.
3806 * gdb.stabs/weird.exp: If a program is being debugged already,
3808 * gdb.t04/setvar.exp: Stop and restart gdb.
3809 * gdb.t05/expr.exp: Likewise.
3810 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
3811 restart gdb and reload the program.
3812 * gdb.t08/opaque.exp: Likewise.
3813 * gdb.t12/scope.exp: Likewise.
3814 * gdb.t13/bitfields.exp: Likewise.
3815 * gdb.t15/funcargs.exp: Likewise.
3816 * gdb.t20/classes.exp: Likewise.
3817 * gdb.t03/ptype.exp: Increase timeout.
3818 * gdb.t16/printcmds.exp (test_print_string_constants,
3819 test_print_array_constants): Likewise.
3820 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
3821 * gdb.t20/classes.exp (do_tests): Likewise.
3822 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
3824 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
3826 * gdb.stabs: Renamed *wierd* to *weird*.
3828 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3830 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
3831 for timeout. Add "known gcc 2.4.5 bug" to failure message.
3833 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3835 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
3836 (do_tests): Remove xfail for whatis on one_var and two_var.
3838 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
3840 * Makefile.in: Made cross building work better by adding
3841 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
3843 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3845 * gdb.t15/{return.c,return.exp,Makefile.in}:
3846 New test, currently commented out.
3848 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
3850 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
3851 still running and removes the leftover named socket so GDb can do
3854 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
3856 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
3858 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
3859 cross testing works better with "make check"
3860 * config/unix-gdb: Use default procedures for exit and version.
3861 * config/vx-gdb.exp: Cleaned up and massaged back to working order
3862 with the newest VxWorks.
3864 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3866 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
3869 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
3870 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
3872 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
3874 * config/unix-gdb.exp: Remove this version of gdb_exit
3875 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
3876 Rob says he'll look at it when he gets back to testing boards.
3878 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
3880 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
3881 an expected fail for certain ptype commands.
3883 * gdb.t20/classes.exp: Update expected results of "ptype class
3884 Base1" to account for the constructor that now appears in the type.
3886 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
3888 * configure.in (configdirs): Restore gdb.t04, which mysteriously
3889 disappeared from list.
3890 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
3891 "alldone" proc with call to cleanup and exit.
3892 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
3893 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
3894 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
3895 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
3896 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
3897 "alldone" proc with simple returns that suppress remaining
3898 tests. The alldone proc went away many months ago.
3900 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3902 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
3904 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
3906 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3908 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
3909 as vax gdb will display them.
3911 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3913 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
3916 * scope.exp: Change "bad value for localval" messages so each one
3919 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
3920 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
3922 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
3924 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3926 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
3927 doesn't exist (due to optimization).
3929 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3931 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
3932 contains \r because the filename is long.
3934 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
3935 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
3937 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3939 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
3940 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
3942 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
3944 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
3946 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
3948 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
3950 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
3951 to match does not match the passing case but still matches the
3954 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3956 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
3958 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
3960 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
3961 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
3962 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
3963 Remove various versions of gdb_exit.
3964 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
3966 * config/unix-gdb.exp: gdb_exit remains here, and should override
3967 the generic version, since it's doing a lot of wierd stuff that
3968 the other versions aren't. FIXME, fold it in, or abandon this
3971 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3973 * gdb.t24/demangle.exp: Add tests for PR 3220.
3975 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3977 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
3979 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
3981 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
3982 "i386-*-*". Works for i486 as well.
3984 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
3985 bug, and expand domain of xfail to all SVR4 systems, since the
3986 actual problem is likely to be in generic SVR4 /proc support.
3988 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3990 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
3992 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
3994 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
3995 xfails for other systems. Match a missing 'Continuing.' as an
3996 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
3998 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
3999 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
4000 Only issue warning for missing executables if -all option is used.
4002 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
4003 file if -all option is used. It's like an unpredictable XFAIL.
4005 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4007 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
4008 for dynamically linked binaries.
4010 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
4012 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4014 * gdb.t20/inherit.exp: Change message for "print tagless struct"
4015 to state that this is a known bug in old versions of g++.
4017 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4019 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
4020 while waiting for `Continuing'.
4022 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
4024 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
4025 in text, data, and bss.
4026 * gdb.t10/nodebug.c: Add local and global test variables for
4027 initialized and uninitialized data.
4029 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4031 * config/unix-gdb.exp (gdb_exit): Add "wait".
4033 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4035 * gdb.t06/signals.exp: xfail the continue from the handler for all
4038 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
4039 function with watchpoints enabled, the i386 call dummy starts with
4042 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
4043 386 bsd names its corefiles.
4045 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
4047 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
4048 compilers don't grok it.
4049 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
4050 with small octal ints rather than character constants, which
4051 are signed and might not fit if first promoted to int.
4053 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
4055 * gdb.t09/Makefile.in (clean): Remove corefile.
4057 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4059 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
4061 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4062 and Jim Kingdon (kingdon@cygnus.com)
4064 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
4065 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
4066 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
4068 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4070 * gdb.t17/interrupt.exp: Add xfail for hppa.
4072 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4074 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
4075 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
4076 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
4077 to determine signed-ness of bitfields and use the result to setup
4079 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
4080 * gdb.t15/funcargs.exp: Use them to step until the second indirect
4081 call line is reached if necessary.
4083 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4085 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
4087 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4089 * gdb.t06/break.exp: Also test `clear' command.
4091 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4093 * gdb.t00/teststrategy.exp: Remove extra quote.
4095 * gdb.t07/watchpoint.exp: Change xfail for calling function with
4096 watchpoint enabled to be for all non-68k machines.
4098 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
4100 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4102 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
4103 targets use aout.mt instead of ecoff.mt as gas understands
4104 standard aout format.
4106 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4108 * lib/gdb.exp (runto): Don't insist that function we are running to
4109 was compiled with -g.
4111 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
4113 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
4114 to get back into the read system call.
4115 Accept leading newline in case where we woke it up.
4117 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4119 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
4120 to make the stabs test work on ecoff systems using gcc and -with-stabs.
4121 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
4122 enable ecoff configuration.
4124 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4126 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
4128 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4130 * gdb.t16/printcmds.exp: Add another printf test.
4132 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
4134 * configure.in: If configured -with-stabs on any target, add
4135 stabsdirs to configdirs.
4137 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4139 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
4140 fun" so pattern does not match the command itself.
4142 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4144 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
4146 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4148 * gdb.t17/interrupt.exp: Test for more things.
4150 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4152 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
4153 compiler arranges the code and line numbers.
4155 * gdb.t17/interrupt.exp: Don't send \n after ^C.
4157 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4159 * gdb.t00/help.exp: Increase expect input buffer size.
4161 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4163 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
4165 * gdb.t07/watchpoint.exp: Add xfail for hppa.
4167 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
4169 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
4170 [0-9]*, not just [0-9].
4172 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4174 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
4176 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
4178 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4180 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
4182 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4184 * gdb.t06/signals.c: Add xfails for sun3.
4186 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
4188 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
4189 test_stepping tests.
4191 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4193 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
4195 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
4197 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
4198 rather than actually putting it through cpp twice.
4200 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
4202 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
4204 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
4207 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4209 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
4211 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
4212 C++ features prints as "struct", make it a pass, not an xfail.
4214 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4216 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
4217 Don't require VA to print as "class" rather than "struct".
4219 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
4221 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
4223 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4225 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
4227 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4229 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
4232 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4234 * gdb.t16/printcmds.exp: Add printf tests.
4236 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
4238 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
4240 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
4242 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
4243 pass counts, to counteract any existing or future setup_xfails.
4245 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4247 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
4248 {BEGIN,END}_COMMON for common block instead of STAB.
4249 * gdb.stabs/wierd.exp: Add xfail for rs6000.
4251 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
4252 intp_var should be N_GSYM not N_LSYM.
4253 wierd-aout.S: Use a label for the value of the N_SO.
4254 wierd.def: Remove all backslashes.
4255 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
4257 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4259 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
4260 get the expected next to inheritance3.
4262 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4264 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
4265 now that gcc-2.4 gets it right.
4267 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4269 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
4271 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
4272 generating comp-info.exp which works for cross-compilation.
4274 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
4276 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
4279 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
4281 * gdb.t01/run.exp: Start with a fresh gdb.
4282 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
4285 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
4287 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
4288 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
4289 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
4290 Makefile.in (distclean, realclean): Remove gdbme.c from list of
4293 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
4295 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
4296 test cases from bug reports.
4298 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
4300 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
4301 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
4302 avoid spurious xfails.
4303 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
4304 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
4305 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
4307 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
4309 * gdb.t00/teststrategy.exp: Rework to provide more useful
4310 description of each test, fix problem with systems that define
4311 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
4312 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
4313 results for "next over recursive call" so timeouts aren't taken
4316 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
4318 * gdb.t12/scope.exp: Test printing of variables before run.
4320 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
4321 printed in wrong order due to sorting.
4323 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
4325 * gdb.t00/teststrategy.exp: Fix expected results for printing
4326 user entered string constant. Is array of char, prints with no
4329 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
4331 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
4332 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
4333 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
4334 of struct of char arrays.
4335 * gdb.t00/radix.exp: New tests for radix commands.
4337 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
4339 * gdb.t16/printcmd.exp: Print a variable before running program
4340 (with xfail for AIX).
4342 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
4344 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
4346 * gdb.t16/printcmd.exp: Don't print variables before running program.
4348 * gdb.t06/break.exp: Don't require envp argument to main.
4350 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
4352 * gdb.t02/whatis.exp, gdb.t11/list.exp:
4353 Add xfails for rs6000.
4355 * gdb.t02/whatis.exp: Change other tests not to re-test something
4358 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
4359 each type used has a variable of that type.
4361 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
4363 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
4365 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4367 * configure.in: change srctrigger to be a file, not a directory
4369 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
4371 * configure.in (mips-idt-ecoff*): Added trailing '*'.
4373 * gdb.t11/list.exp: Fixed a couple of typos.
4375 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
4377 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
4378 is fixed and PR is closed.
4379 * gdb.t16 (gdbme.c): Add simple test string variable.
4380 * gdb.t16 (printcmds.exp): Add tests with simple test string
4381 variable, primarily for boundaries on "set print elements".
4383 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
4385 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
4386 Make leading 0's optional and don't expect a tab in the middle
4389 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
4391 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
4392 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
4393 don't end command passed to gdb_test with newline.
4395 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
4396 signed keyword away, don't expect signed bitfields to be signed.
4398 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
4399 printing with only as many 1's as are in the field as well as printing
4400 with 32 1's (see comment).
4402 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
4404 * gdb.t00/default.exp: Start with a fresh gdb.
4405 * configure.in (configdirs): Remove gdb.t31 until the chill
4406 compiler works again. It no longer is able to find chillrt0
4407 since it isn't in libchill.a anymore.
4408 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
4409 wierd.o, make more modular.
4410 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
4411 spurious newlines that caused problems.
4413 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4415 * Move test with enums and partial symbols from gdb.t03/ptype.exp
4416 to gdb.stabs/wierd.exp since GCC has worked around the bug.
4417 gdb.stabs/wierd.{exp,def}: Many new tests.
4419 * gdb.t00/default.exp: update info line for new message.
4421 * gdb.t02/{whatis.exp,gdbme.c}:
4422 Test that "char *" doesn't print as "caddr_t".
4424 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4426 * gdb.t00/help.exp: Use .* in place of some help messages which
4428 gdb.t00/default.exp: Update "info frame" test for new message.
4429 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
4432 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4434 * gdb.t03/{gdbme.c,ptype.exp}:
4435 Add tests for typedef'd struct and union without tags.
4436 Also check "whatis" on a variable of a typedef'd enum without a tag.
4438 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
4439 PRMS 1823; the bug still exists but isn't reproduced by this test
4440 anymore), and remove rs6000 XFAIL (the bug is fixed).
4442 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
4443 duplicated from whatis.exp. For those that are left, accept
4444 "long", "long int", or "int" for long variables (whatis.exp already
4445 has an XFAIL for "int", so no need to fail it here).
4447 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
4448 Deal with GCC's names for types now that GDB uses the compiler's names.
4450 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
4451 setup_xfail's for sunos4. If we #defined the signed keyword away,
4452 don't expect GDB to know that char it is signed.
4454 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
4456 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
4458 * configure.in (configdirs): Add gdb.t24 for C++ tests that
4459 should work on any system, regardless of debugging format.
4460 * gdb.t21/demangle.exp: Move to gdb.t24.
4461 * gdb.t24/demangle.exp: Move from gdb.t21.
4462 * gdb.t24/{Makefile.in, configure.in}: New files.
4464 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4466 * configure.in: Do gdb.stabs and C++ tests only for stabs.
4467 * gdb.stabs: New directory.
4469 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4471 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
4472 not just "Quit anyway?".
4474 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
4476 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
4477 that all setup_xfails are immediately followed by clear_xfails.
4479 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
4481 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
4482 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
4483 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
4484 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
4485 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
4486 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4487 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4488 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
4489 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
4490 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
4491 gdb.t31/chillvars.exp, lib/gdb.exp:
4492 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
4493 bug-gdb@prep.ai.mit.edu.
4495 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
4497 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
4498 with 0.0, not integer 0.
4500 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
4502 * gdb.t06/break.exp: Update for "Kill the program" message change.
4504 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
4506 * Makefile.in (GDBFLAGS): Set to -nx.
4507 * Makefile.in (site.exp): Use GDBFLAGS.
4509 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4511 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
4513 (check): depend on just-check.
4514 (just-check): added so that tests can be run without a noop
4517 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4519 Switch to using configure's configdirs.
4520 * Makefile.in (Makefile): add configure.in dependency.
4521 (SUBDIRS): removed redundant assignment.
4522 * configure.in: switch subdirs assignment to configdirs.
4523 * gdb.t*/configure.in: new files.
4525 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
4527 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
4530 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
4532 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
4533 in explicit rules. Apparently this is not supported by some makes.
4535 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
4537 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
4539 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4541 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
4544 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
4546 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
4548 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
4550 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
4551 watchpoint problem that is now fixed.
4552 * gdb.t30/chexp.exp: Remove setup_xfail for printing
4553 uninitialized convenience variables.
4554 * gdb.t31/chillvars.exp: Fix expected patterns for printing
4557 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4559 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
4560 which causes expect to get out of sync with gdb on long output
4562 * gdb.t09/corefile.exp: Make expected pattern for core file
4563 failing signal and frame output format less sun specific.
4565 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
4567 * gdb.t31/chillvars.exp: Add and remove initial dummy
4568 breakpoint, so that symbol table is forced in.
4569 (Needed at least on Sunos4, though it seems not SVR4.)
4570 * gdb.t31/chillvars.exp: Update for changed output format.
4572 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
4574 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
4576 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
4578 * Makefile.in: Added --srcdir when invoking runtest, removed the
4579 need for a local config file. (optional now)
4581 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
4583 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
4584 failure count used to force early termination. Add some more
4585 expected failures for gnu style demangling.
4587 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4589 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
4590 pmi variable from gdb.t20/gdbme to get optimized away.
4591 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
4592 Check for written corefile upon timeout _and_ eof.
4594 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4596 * config/unix-gdb.exp: Add missing return 0.
4598 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4600 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
4603 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
4605 * configure.in (subdirs): Put back gdb.t17 which mysteriously
4608 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
4610 * gdb.t10/crossload.exp: Disable the i860-elf test until such
4611 time as i860 support works.
4613 * gdb.t15/funcargs.exp: Fix expected outputs to include
4614 "backtrace 100\r" rather than just "backtrace\r", to match last
4617 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
4619 * config/udi-gdb.exp (gdb_exit): Remove close command.
4620 (gdb_target_udi): New procedure to set the UDI target.
4621 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
4622 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
4623 Added waits for prompts after several question responses. Added
4624 some more responses used by a29k-amd-udi-gdb.
4625 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
4626 pass different arguments, restart UDI connection after program
4628 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
4629 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4630 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
4631 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
4632 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
4633 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
4634 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4635 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
4636 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
4637 after program completion.
4638 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
4639 compiled with a SELECT_VECS setting.
4640 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
4643 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
4644 Added checks for COFF results, and made them expected failures for
4645 all targets. It would be better to make them expected failures
4646 for COFF targets only.
4648 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
4650 * Makefile.in: add null dvi target, don't bother to recurse
4651 through test directories for info and install-info; rename
4652 $(datadir) to be dejagnu instead of deja-gnu
4654 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
4656 * gdb.t31/gdbme.ch: Re-enable code that previously caused
4657 compiler to coredump.
4658 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
4661 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
4663 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
4665 * gdb.t31/chillvars.exp: Comment out tests that depend on that
4668 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
4670 * gdb.t03/ptype.exp: tests for return code from gdb_test.
4671 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
4672 which in a shell. Deletes xgdb when done.
4673 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
4674 Tests the return from the "set height" or "set width" commands.
4675 Added a few return codes where needed.
4677 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
4679 * Makefile.in (SUBDIRS): Add gdb.t17.
4680 * configure.in (subdirs): Add gdb.t17.
4681 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
4682 files to test gdb's calling of functions in the inferior with
4683 the correct arguments and gdb's ability to retrieve any
4686 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
4688 * config/unix-gdb.exp (gdb_exit): Remove close commands that
4689 may be called after gdb goes away. Previous versions of expect
4690 needed these to avoid file descriptor leaks, but they cause
4691 errors with the current revision of expect.
4692 * gdb.t00/gdbvars.exp: Use -re on expected output after
4693 setting sevenbit-strings.
4694 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
4695 to set sevenbit-strings consistent across tests.
4696 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
4697 set sevenbit-strings consistent across tests.
4699 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
4701 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
4702 expected output to match current "expect" expectations.
4704 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
4706 * gdb.t00/default.exp: Change expected output for default "source"
4707 command, to match new gdb behavior which requires a filename to
4710 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
4712 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
4713 expected fail for i486-*-* that misses the marker2 function.
4714 * gdb.t10/crossload.exp (bfddefault): Allow successful
4715 recognition of a format to pass even if no symbols are found.
4716 Explicitly catch failures where the format is not recognized
4717 or is ambiguous, and add the reason to the fail message.
4718 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
4719 the cause is and invalid target and add reason to failure message.
4720 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
4721 elf32-i386, elf32-sparc, and elf32-i860.
4722 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
4723 Set up expected failure for 'filename'::variable scope resolution,
4724 which is now apparently broken on all targets.
4725 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
4726 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
4727 gdb.t23/templates.exp: Change failure for missing binfile into
4729 gdb.t21/demangle.exp: Change all cfront references to 'arm'
4732 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
4734 * gdb.t00/default.exp: Add expected output for default "source"
4735 command, to match new gdb behavior.
4736 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
4738 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
4740 * config/*-gdb.exp: returns an error, rather than exiting on
4743 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
4745 * gdb.t03/gdbme.c: Add pointer to struct variable.
4746 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
4747 referencing struct members.
4749 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
4751 * configure.in (mips-idt-ecoff): New target.
4752 * config/mips-gdb.exp: New file for remote board using MIPS remote
4755 * Redid configuration scheme. Removed gdb.t*/configure.in.
4756 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
4757 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
4758 distclean targets. Built executables via .o files. Adjusted
4759 tests to account for source files in $(srcdir) rather than
4761 * lib/gdb.exp (runto): Don't expect () after the function name,
4762 because it may have arguments.
4764 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
4766 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
4767 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
4768 expected failures for mips-idt-* and mips-sgi-*.
4769 * gdb.t00/default.exp (attach): Kill process if requested.
4770 * gdb.t00/help.exp (help target core, help target): Accept a gdb
4771 that does not read core files.
4772 * gdb.t01/run.exp: Removed checks for exit status code.
4773 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
4775 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
4776 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
4777 appropriate, rather than doing it by hand.
4778 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
4780 * gdb.t10/crossload.exp: Kill existing program if needed.
4781 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
4782 appropriate, rather than doing it by hand. Always increase
4783 timeout for this test, not just for VxWorks.
4785 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
4787 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
4788 of Chill STRUCT types and STRUCT values.
4789 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
4791 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
4792 struct2): New struct definitions and initializations to test
4793 simple Chill STRUCT types.
4795 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
4797 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
4798 the null byte at the end of strings.
4799 * gdb.t00/default.exp: Make show version insensitive to copyright
4801 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
4802 to avoid dependencies on target char signedness.
4803 * gdb.t16/printcmds.exp: Update expected results for explicitly
4805 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
4807 * gdb.t21/demangle.exp: Add many more patterns for template
4808 demangling, most of them being expected failures.
4809 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
4810 string we are matching for, to match on the whole string.
4811 * gdb.t21/demangle.exp: Add many new test strings to demangle,
4812 and fix a whole bunch that had incorrect expected output but were
4813 passing anyway because of the bug in "proc demangle".
4814 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
4816 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
4818 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
4820 * gdb/testsuite: made modifications to testcases, etc., to allow
4821 them to work properly given the reorganization of deja-gnu and the
4822 relocation of the testcases from deja-gnu to a "tool" subdirectory.
4824 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
4826 * gdb/testsuite: Initial creation of gdb/testsuite.
4827 Migrated dejagnu testcases and support files for testing nm to
4828 gdb/testsuite from deja-gnu. These files were moved "as is"
4829 with no modifications. This migration is part of a major overhaul
4830 of dejagnu. The modifications to these testcases, etc., which
4831 will allow them to work with the new version of dejagnu will be
4832 made in a future update.
4838 version-control: never