1 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
3 * config/monitor.exp(gdb_target_monitor): Add pattern for
4 "Ending remote" to detect errors in connecting.
6 * gdb.base/setshow.exp: Add .* within auto language test.
8 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
11 * config/monitor.exp(gdb_load): Check for a failure when loading,
12 and reboot the board if necessary.
14 * gdb.base/setvar.exp(test_set): Handle multiple prints within
15 a set of tests. Remove print.* from the patterns being checked.
17 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
20 refer to gdb_spawn_id.
22 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
24 * config/sparclet.exp: Ditto.
25 * config/sparclet-old.exp: Ditto.
26 * config/slite.exp: Ditto.
27 * config/sim.exp: Ditto.
28 * gdb.base/funcargs.exp: Ditto.
30 * lib/gdb.exp:Remove references to gdb_spawn_id.
31 (gdb_expect): Move to remote.exp.
33 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
35 * config/monitor.exp: Detect the "Couldn't establish connection"
38 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
40 * gdb.base/bitfields.exp: Use runto instead of explicit
41 gdb_run_cmd/gdb_expect sequences.
43 * gdb.base/break.exp(text_next_with_recursion): Add match for
46 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
47 We also need to handle the "A program is being debugged already"
48 prompt from gdb. Use gdb_test to set the baud rate.
50 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
51 to 20000. Really. I mean it.
53 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
55 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
56 fails. If suppress_flag is set, skip perror message about not
57 being able to send to GDB.
58 (send_gdb): If suppress_flag is set, don't try to send commands to
60 (gdb_expect): If suppress_flag is set, always fail immediately.
61 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
62 (gdb_init): Call gdb_stop_suppressing_tests.
63 (default_gdb_exit): Ditto.
64 (default_gdb_start): Ditto.
66 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
67 gdb_stop_suppressing_tests as appropriate.
68 * gdb.base/break.exp: Ditto.
69 * gdb.base/callfuncs.exp: Ditto.
70 * gdb.base/commands.exp: Ditto.
71 * gdb.base/exprs.exp: Ditto.
72 * gdb.base/funcargs.exp: Ditto.
73 * gdb.base/list.exp: Ditto.
74 * gdb.base/recurse.exp: Ditto.
75 * gdb.base/scope.exp: Ditto.
76 * gdb.base/structs.exp: Ditto.
77 * gdb.c++/inherit.exp: Ditto.
79 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
81 * config/vr4300.exp: New file.
83 * gdb.*/*.exp: Call gdb_expect instead of expect.
85 * lib/gdb.exp(gdb_expect): New function.
87 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
89 * lib/gdb.exp(gdb_init): New function.
91 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
92 for each individual variable set.
94 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
97 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
99 * gdb.base/scope.exp: Use gdb_test.
101 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
102 aborting; the testsuite driver will do that for us (see
103 gdb_finish). Also, use gdb_test in a few more places.
105 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
107 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
109 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
111 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
112 and "add_tests" are not at the same address.
114 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
116 * gdb.base/ptype.exp: Use gdb_test.
118 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
120 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
121 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
122 left in. No longer expect them to fail.
124 * gdb.stabs/*.mt; Deleted, no longer used.
125 * gdb.stabs/configure.in: Remove references to target makefile
127 * gdb.stabs/configure: Rebuilt.
129 * gdb.disasm/*.mt: Deleted, no longer used.
130 * gdb.disasm/configure.in: Remove references to target makefile
131 frags. Use "sh3.s" as the unique filename for this directory.
132 * gdb.disasm/configure: Rebuilt.
134 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
135 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
136 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
138 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
140 * config/udi.exp: Use mondfe,name instead of remote_host.
142 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
144 * gdb.base/watchpoint.exp: Don't expect a failure when calling
145 a function with a watchpoint enabled on the mn10200.
147 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
148 before trying to create it!
150 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
152 * config/vx.exp: Use hostname instead of netport.
154 * config/vxworks.exp: New file.
156 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
158 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
159 gdb before assuming everything worked. Send a ^C if a timeout
162 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
163 $gdb_spawn_id directly.
164 (gdb_run_cmd): Try _start as well as start. Use the target feature
165 gdb,start_symbol as the symbol to start from when jumping.
167 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
169 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
172 * gdb.base/recurse.exp: Relax final value test for 'b' so that
173 it doesn't lose for 16bit integer systems.
175 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
177 * gdb.fortran/types.exp: If the target doesn't support "double"
178 data types, then expect "real" types to only be 4 bytes.
180 * gdb.c++/virtfunc.exp: Expect failure for virtual function
181 call tests if the target doesn't support inferior function calls.
183 * gdb.base/printcmds.exp: Allow minor deviation in FP values
186 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
188 * gdb.base/help.exp: Disable "help set", "help show", and
189 "help support". Simplify regexp for "help stack".
191 * gdb.base/default.exp: Set match_max to 5000 and the timeout
192 to 60 seconds. Temporarily set match_max to 15000 around the
195 * gdb.base/nodebug.exp: Don't try to do an inferior function
196 call if the target doesn't support them.
197 * gdb.base/printcmds.exp: Likewise.
198 * gdb.base/setvar.exp: Likewise.
199 * gdb.base/structs.exp: Likewise.
200 * gdb.c++/templates.exp: Likewise.
201 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
203 * gdb.base/recurse.exp: Enable for the mn10200.
205 * configure.in: Do configure gdb.stabs directory for *-*-elf
207 * configure: Rebuilt.
209 * gdb.base/break.exp: Check for gdb,noresults before testing
210 exit status and/or results from the target.
211 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
212 * lib/gdb.exp: Remove old (now bogus) initialization of
213 noinferior, noargs, noresults and nosignals.
215 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
217 * config/sh.exp: New file.
219 * config/slite.exp: Try to connect multiple times to the board
220 before rebooting. Only send a "monitor run" if need_monitor_run
223 * gdb.base/break.exp: Don't do the "stub continue" test if
224 the target has gdb_stub set.
226 * gdb.base/callfuncs.exp: Increase the timeout.
228 * gdb.base/interrupt.exp: Don't even try to compile the testcase
229 if the target has gdb,noinferiorio set.
231 * gdb.base/list.exp: Increase match_max to 10000 characters.
233 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
235 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
238 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
240 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
242 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
243 trying to delete the copy of gdb. Catch the file delete so we
244 don't die if the delete fails; also, the file should be copied to
245 the host, not to the build.
247 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
249 * lib/gdb.exp(gdb_test): Surround the result pattern with
250 parenthesis in case it contains multiple regexps separated
253 * gdb.base/watchpoint.exp: Use gdb_test.
254 * gdb.base/default.exp: Ditto.
256 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
258 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
260 * gdb.base/scope.exp: Use gdb_test.
261 * gdb.c++/classes.exp: Ditto.
262 * gdb.c++/inherit.exp: Ditto.
264 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
266 * gdb.base/crossload.exp: Don't use execute_anywhere, use
268 * gdb.base/corefile.exp: Don't be ridiculous.
269 * gdb.base/*.c: Add missing stub invocations.
271 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
273 * config/slite.exp: Miscellaneous fixes.
275 * lib/gdb.exp: Fix runto.
277 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
280 * gdb.base/watchpoint.exp: Fix regexp.
282 * lib/gdb.exp(default_gdb_exit): Add a catch to the
283 close and wait commands, as the descriptor may now be
284 invalid. Always call "remote_close host".
286 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
288 Major rewrite for testsuite revision.
290 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
291 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
292 instead of relying on spawn_id to always contain a valid
294 (get_compiler_info): New procedure to build the ${binfile}.ci
295 file, instead of replicating this in N different places.
296 (gdb_compile): New procedure.
298 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
299 appropriate arguments) instead of compile. Use gdb_test in a lot
300 more places. Use send_gdb instead of send. Always run gdb_start
301 at the start of a testcase, as this is no longer done magically.
303 config/*-gdb.exp: Rename without the -gdb suffix.
305 config/mips.exp: Use remote_close instead of exit_remote_shell.
306 config/monitor.exp: Use target_info instead of looking at
308 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
310 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
312 * gdb.c++/templates.exp (test_ptype_of_templates),
313 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
314 Update expect patterns for destructors and assignment operators
315 to match corresponding c-typeprint.c changes.
316 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
317 to destructor breakpoint test, GDB should be able to set the
318 destructor breakpoint without specifying arguments.
320 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@ninemoons.com>
322 * gdb.threads/pthreads.exp: Change result for failure to compile due
323 to lack of pthreads runtime support from an error to simply an
324 unsupported test, per dejagnu standards.
326 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
328 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
329 where GDB exits to reduce pattern match time.
330 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
332 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
334 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
336 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
337 * gdb.base/default.exp: ditto.
338 * gdb.base/nodebug.exp: ditto.
339 * gdb.base/printcmds.exp: ditto.
340 * gdb.base/ptype.exp: ditto.
341 * gdb.base/setvar.exp: ditto.
342 * gdb.base/structs.exp: ditto.
343 * gdb.base/setshow.c: Guard against uninitialized values of argc.
345 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
347 * configure, */configure: Rebuild with autoconf 2.12.
349 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
351 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
352 use new i*86-pc-linux*-gnu quads.
353 * gdb.base/corefile.exp: Ditto.
354 * gdb.base/signals.exp: Ditto.
355 * gdb.base/sigall.exp: Ditto.
356 * gdb.base/interrupt.exp: Ditto.
358 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
359 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
362 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
363 linux. This allows the test case to at least compile on latest
364 linux, but still not run due to missing the threads runtime library.
366 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
368 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
369 directory to search gdb directory. Accept and step over conditional
370 stack alignment code. Consume $prompt in failure cases.
371 Reset timeout to $oldtimeout instead of some arbitrary value.
372 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
373 timeout problems with infinite stack backtraces.
374 * gdb.base/ptype.exp (ptype struct link, union tu_link):
375 Accept function parameters for linkfunc member.
377 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
379 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
380 (CXXFLAGS): Remove, unreferenced.
381 (B_OPTIONS): Add for -B options and add code to initialize with
382 previous -B options and also add -B option to pick up cross compiled
384 (TARGET_INCLUDES): Add for -I options and add code to initialize when
385 doing cross compiles.
386 (target_alias): Declare global.
387 (xgcc): Set variable to full path of gcc in build tree. Use findfile
388 to verify that gcc exists in build tree, and if so set CC to that
389 gcc and to use B_OPTIONS and TARGET_INCLUDES.
391 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
393 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
394 ptype test for anonymous union. Fixup testcase to match
395 current gcc debug output.
397 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
399 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
400 force argument to an unsigned long type.
402 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
404 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
405 tests and anonymous union print/ptype tests.
406 * gdb.base/list.exp (test_forward-search): Increase timeout by
407 5 minutes for the "search extremely long line" case.
408 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
409 completely optional and that the pass/fail messages use the command as
410 the message if that third arg is a null string.
411 (gdb_test_exact): Arrange that a null string pattern means match a
412 null string output rather than any output, which might include random
414 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
416 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
417 always failing and failure is now exposed by gdb.exp changes.
419 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
421 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
424 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
426 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
427 * gdb.stabs/weird.exp: Remove v_comb xfails.
430 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
432 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
433 list.exp scope.exp watchpoint.exp]
434 Make all timeout error msgs explicitly say "(timeout)".
437 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
439 * config/monitor.exp: Increase download timeout to 1000 seconds.
442 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
444 * config/m32r.exp: Increase timeout to 120 seconds.
448 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
450 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
451 and accept older ordering as obsolescent gcc or gdb.
452 * gdb.c++/templates.exp: Ditto.
453 * gdb.c++/virtfunc.exp: Ditto.
455 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
457 * gdb.base/coremaker.c: Add code to mmap some data so we
458 can check that it ends up in the core file.
459 * gdb.base/corefile.exp: Add test to read mmapped data
463 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
465 * config/m32r.exp: New file.
468 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
470 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
471 that cflags can contains -gstabs, and work correctly for other tests.
473 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
475 * gdb.base/setshow.exp: New file, tests show and set.
476 * gdb.base/setshow.c: New file, tests show and set.
477 * gdb.base/help.exp: Add test for help set|show annotate.
478 * gdb.base/default.exp: Add test for set|show annotate.
480 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
482 * testsuite/gdb.base/break.exp: Make backtrace from factorial
484 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
487 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
489 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
490 and width commands. This is done elsewhere.
491 * (gdb_start): Don't call gdb_start_sim here. That's already
492 done in gdb_load. This fixes lots of failures in default.exp.
494 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
496 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
497 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
498 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
499 in the same we we treat other failures (since it may be an expected
500 condition), rather than as an error.
501 * gdb.base/signals.exp (test_handle_all_print): Revert back to
504 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
506 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
507 (distclean maintainer-clean realclean): No need to remove files
508 twice. Nuke the duplicates.
509 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
510 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
511 Remove config.h along with other config files.
513 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
515 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
516 "p func1 ()" and note that rests of tests are skipped.
517 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
518 setup_xfails for "print func2::coremaker_local".
519 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
520 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
521 affected by the previous run test.
522 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
523 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
524 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
525 "pass int powerset tuple" and "pass modeless int powerset tuple".
526 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
527 "real write 4" and "real write 8".
528 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
529 setup_xfails for "print vs1 after tuple assign 2",
530 "print \$i after tuple assign 2", and
531 "print vs2 after tuple assign 2".
532 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
533 meaningful error message and return -1 so the caller can
534 suppress further tests and avoid a cascade of errors.
536 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
538 * gdb.base/a1-selftest.exp: Tweak tests to account for new
539 format for printing version.
540 * gdb.base/default.exp: Ditto.
541 * gdb.base/interrupt.exp: Fix problem with cascade of
542 errors if child process dies while calling a function.
544 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
546 * Makefile.in (VPATH): Add
547 * Makefile.in (Makefile, config.status): Fix rules so things get
548 remade when necessary.
550 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
552 * Makefile.in (just-check): Add path to sibling expect dir
553 to environment variable specified by RPATH_ENVVAR.
555 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
557 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
558 (just-check): Add shared library paths for libstdc++, tk,
559 tcl, bfd, and opcodes to the environment variable specified
561 * configure.in: Add support to recognize --enable-shared flag
562 and generate correct value for RPATH_ENVVAR.
563 * configure: Regenerated with autoconf.
565 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
567 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
568 include all osf versions.
569 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
570 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
571 when target is linux. When failing to build pthreads test
572 executable, give more meaningful message.
573 * gdb.threads/pthreads.c: Hpux also uses old definition of second
574 arg for pthread_create.
576 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
578 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
579 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
580 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
581 and -lpthreads (everybody else).
582 (test_startup): Fail gracefully if threads are not supported.
583 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
584 "p/c array_index("abcdef",2)" when not gcc compiled.
585 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
586 "print func2::coremaker_local" when not gcc compiled.
587 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
588 "ptype on opaque struct tagname (statically)",
589 "ptype on opaque struct tagname (dynamically) 1", and
590 "ptype on opaque struct tagname (dynamically) 2"
591 for not compiled with gcc.
592 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
593 backtrace when compiled with gcc.
594 * lib/gdb.exp (runto_main): Return result of "runto main" rather
595 than always return success.
597 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
599 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
601 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
603 * gdb.base/structs.exp: Undo last change.
605 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
607 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
608 encapsulate all the steps/nexts done during self test, starting
609 at main, and makes them less sensitive to optimization issues.
610 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
611 signal handler" test.
612 * gdb.threads/pthreads.exp: Only run this for native configs.
613 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
614 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
616 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
617 for "runto test_calls(void)" test.
619 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
621 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
622 and don't expect address info in breakpoint confirmations.
624 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
626 * gdb.base/list.exp (test_forward_search): Increase timeout
627 temporarily by 60 seconds for searching extremely long line,
628 and then reset to old value when done. Increase expect input
631 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
633 * gdb.base/list.exp (test_forward_search): Fix to handle very
634 long source line without overflowing expect's input buffer.
636 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
638 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
641 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
644 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
647 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
650 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
652 * configure.in (configdirs): Add gdb.threads.
653 * configure: Regenerated with autoconf.
654 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
655 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
656 * gdb.threads/configure: New, generated with autoconf.
658 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
660 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
662 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
664 * gdb.base/signals.exp (test_handle_all_print): Test separately for
665 each signal's status in the output of "handle all print".
666 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
667 the \r\n sequence that immediately precedes the gdb prompt.
668 * gdb.base/a1-selftest.exp: Save original timeout and restore
671 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
673 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
676 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
678 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
680 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
682 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
683 timeout by 60 seconds.
685 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
687 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
688 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
691 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
693 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
694 gdb initialization, also report how long dejagnu waited. Restore
695 old timeout before doing error return. Temporarily increase timeout
696 by 3 minutes to allow for slow startups over heavy NFS use.
698 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
700 * lib/gdb.exp: Report timeout value for verbosity level 2.
701 * config/gdbserver.exp: Ditto.
702 * config/hppro.exp: Ditto.
703 * config/mips-gdb.exp: Ditto.
704 * config/monitor.exp: Ditto.
705 * config/netware.exp: Ditto.
706 * config/sim-gdb.exp: Ditto.
707 * config/slite-gdb.exp: Ditto.
708 * config/udi-gdb.exp: Ditto.
709 * config/unix-gdb.exp: Ditto.
710 * config/vx-gdb.exp: Ditto.
711 * gdb.base/a1-selftest.exp: Ditto.
712 * gdb.base/a2-run.exp: Ditto.
713 * gdb.base/break.exp: Ditto.
714 * gdb.base/corefile.exp: Ditto.
715 * gdb.base/list.exp: Ditto.
716 * gdb.base/recurse.exp: Ditto.
717 * gdb.base/scope.exp: Ditto.
718 * gdb.base/signals.exp: Ditto.
720 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
722 * gdb.threads/Makefile.in (docdir): Removed.
724 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
726 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
727 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
729 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
730 autoconf 2.5 or higher.
731 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
733 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
735 * configure: Regenerated.
736 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
737 avoid name clashes with SunOS headers.
739 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
741 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
743 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
745 * gdb.base/callfuncs.exp: Finish last change -- make sure the
746 prototype information ends up in the compiler info file.
748 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
750 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
751 attempting to regenerate it. Eliminate use of a temporary file
752 and just generate the info file directly. Source it immediately,
753 for consistency of use.
754 * gdb.base/corefile.exp: Ditto
755 * gdb.base/exprs.exp: Ditto.
756 * gdb.base/funcargs.exp: Ditto.
757 * gdb.base/langs.exp: Ditto.
758 * gdb.base/list.exp: Ditto.
759 * gdb.base/mips_pro.exp: Ditto.
760 * gdb.base/nodebug.exp: Ditto.
761 * gdb.base/opaque.exp: Ditto.
762 * gdb.base/ptype.exp: Ditto.
763 * gdb.base/scope.exp: Ditto.
764 * gdb.base/setvar.exp: Ditto.
765 * gdb.base/signals.exp: Ditto.
766 * gdb.base/whatis.exp: Ditto.
767 * gdb.c++/templates.exp: Ditto.
768 * gdb.c++/virtfunc.exp: Ditto.
769 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
770 whether or not to add -lstdc++ to the compile command line args.
772 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
774 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
775 it got fixed by the recent lookup_minimal_symbol_by_pc change.
776 Increase timeout, a lot of single stepping might be needed if the
777 target has no hardware watchpoints.
779 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
781 * gdb.base/break.exp: Ignore compiler warnings when compiling
783 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
784 * gdb.base/default.exp: Add h8300 xfails. Handle messages
786 * gdb.base/exprs.exp: Add h8300 xfails.
787 * gdb.base/funcargs.exp: Likewise.
788 * gdb.base/nodebug.exp: Likewise.
789 * gdb.base/printcmds.exp: Likewise.
790 * gdb.base/ptype.exp: Likewise.
791 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
793 * gdb.base/return.exp: Handle float/double precision problems
795 * gdb.base/funcargs.c: Explicitly make last constant argument to
796 call_after_alloca_subr an unsigned long type.
797 * gdb.base/return.c: Include stdio.h.
799 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
801 * config/abug.exp: New file for the older Motorola Bug monitor
802 that runs on the mvme13x series VME boards.
803 * config/monitor.exp: Use the new config array for target settings
806 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
808 * sim-gdb.exp: Make the SH simulator allocate less space when
811 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
813 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
816 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
818 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
819 "rs6000-*-*" for "list function in include file" when gcc compiled.
820 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
821 for "p ctable1[120]".
822 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
823 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
824 Remove setup_xfail for "rs6000-*-*" for
825 "print 'scope0.c'::filelocal before run".
826 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
827 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
828 since some compilers don't allow both options to be given
829 on the same command line. Create object file and move it.
831 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
833 * gdb.base/corefile.exp: Always regenerate the core file, since
834 we always regenerate the coremaker program. Detect special case
835 where registers cannot be read from core file.
837 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
839 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
840 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
841 * gdb.c++/templates.exp: Only match on basename of file since
842 some formats like xcoff don't encode directory information.
843 * gdb.stabs/weird.exp: Use the right sed script for powerpc
844 and rs6000 AIX xcoff targets.
845 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
846 * configure: Regenerate.
847 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
848 here, rather than in distclean.
850 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
852 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
853 defined, and use it to compile the test case with -O2. The
854 native compilation still uses no optimization.
855 * gdb.base/mips_pro.c: Remove inline assembly code since
856 it is compiled PIC by default, which results in assembler
857 warnings that make the testsuite think the compilation
860 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
862 * gdb.c++/misc.exp: Add note to message for
863 "print s.a for foo struct" that this is a known gcc 2.7.2
866 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
868 * gdb.base/break.exp: Fix pattern for matching "Delete all
869 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
870 setup_xfail for deleting all breakpoints test. Fix various
871 timeout messages to include "(timeout)".
872 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
873 for "p t_float_values2(3.14159,float_val2)".
874 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
875 for "continue to call2g" when gcc compiled.
876 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
877 "up to foo in langs.exp", "show language at foo in langs.exp",
878 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
879 and "show language at fsub in langs.exp".
880 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
881 "list line 1 in include file", "list message for lines past EOF",
882 "list function in include file", "list list0.h:foo", and
883 "list filename:function; nonexistant function".
884 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
885 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
886 and "ptype t_char_array" to be for native cc only.
888 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
890 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
891 setup_xfail for "print coremaker_bss", "print coremaker_ro",
892 "print func2::coremaker_local", and "backtrace in corefile.exp".
894 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
896 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
897 "bt in signals.exp". This problem only appears when running
898 the testsuite, and then only intermittently.
900 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
902 * gdb.base/return.exp (return_tests): Differentiate between
903 two tests of continuing.
905 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
907 * */Makefile.in (maintainer-clean): Remove config.log.
908 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
909 * gdb.c++/Makefile.in (PROGS): Add inherit.
910 (clean): Remove *.ci.
912 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
914 * gdb.c++/misc.cc: Add test code from Mike Stump.
915 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
917 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
919 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
920 to "alpha-*-osf2*" and add comment.
921 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
922 setup_xfail for "step over execarg initialization" and
923 "step over corearg initialization".
924 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
925 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
926 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
927 gcc compiled for "print coremaker_bss", "print coremaker_ro",
928 "print func2::coremaker_local", and "backtrace in corefile.exp".
929 * gdb.base/signals.exp: Build and source signals.ci.
930 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
932 * lib/gdb.exp: Move verbose statements outside conditionals.
934 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
936 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
937 Feb 3 procfs.c change.
939 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
941 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
943 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
945 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
946 from dejagnu's apparent default of 10 seconds, which gives random
947 results when running the tests over NFS on moderately loaded systems.
948 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
950 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
952 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
953 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
956 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
958 * configure.in (CY_AC_PATH_TCLH): Remove.
959 * configure: Regenerate.
961 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
963 * gdb.c++/Makefile.in (clean): Add missing '{'.
965 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
967 * lib/gdb.exp: Provide a default value for noinferior.
969 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
972 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
974 * gdb.disasm/hppa.exp: Compile directly into an executable, use
975 the executable, not the .o to run the tests from.
977 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
979 * gdb.base/break.exp: Don't test for program exit or exit status
980 if $noresults if nonzero.
981 * gdb.base/langs.exp: Likewise.
982 * gdb.base/watchpoint.exp: Likewise.
984 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
985 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
986 trying to compile the testcase.
988 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
990 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
991 * gdb.base/signals.exp (continue to handler): Likewise.
993 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
995 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
997 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
999 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
1001 * gdb.base/corefile.exp: Recognize "not found" as failure
1002 when trying to determine if a core file was generated.
1003 If no core file was generate the first time, try again without
1004 the ulimit -c to work around braindamaged shells.
1006 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
1008 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
1009 [] tests with "test" and enclose string in quotes.
1010 * gdb.stabs/configure: Rebuild
1012 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
1014 Changes in sync with expect:
1015 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
1016 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
1017 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
1018 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
1019 argument to AC_REQUIRE.
1020 * configure: Regenerated.
1022 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
1024 * gdb.base/corefile.exp: When generating a core, discard any
1025 error messages about ulimit not found and the "core dumped"
1026 message from the shell that runs the coredumper.
1028 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
1030 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
1032 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
1033 which sed script to run. Expect failure for v_comb test
1036 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
1038 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
1039 "print func2::coremaker_local" and for "backtrace in corefile.exp"
1041 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
1043 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
1044 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
1045 "sparc-sun-solaris*" xfails for "p v_comb".
1046 * lib/gdb.exp (default_gdb_start): Fix typo.
1047 * gdb.base/corefile.exp: Allow "Core was generated by ..."
1048 messages to not include the full program name that caused
1049 the core dump since some systems (such as solaris) apparently
1050 truncate this path to about 80 characters.
1051 When generating a core file first try increasing the core file
1052 size limit to unlimited since some systems may default it to
1053 zero, and it is harmless to try it. Move the test for failing
1054 to generate a core file to where it will actually get executed.
1055 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
1056 new gdb result from g++ debug info improvements and make old
1057 pattern obsolescent. Also account for size_t differences
1058 (may be int or long).
1059 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
1060 initialization before function call is placed in the delay slot
1061 and thus appears to be skipped over by commands such as "next".
1063 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
1065 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
1067 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
1069 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
1070 input source file; fix code to compile test to deal with this
1072 * gdb.c++/*.exp: Likewise.
1074 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
1076 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
1077 "bt in signals.exp".
1079 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
1081 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
1082 "step over execarg initialization" and
1083 "step over corearg initialization".
1085 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
1087 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
1088 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1090 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
1092 From Rob Savoye (rob@poseidon.cygnus.com)
1093 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
1094 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
1095 configure.in}, gdb.disasm/{Makefile.in, configure.in},
1096 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
1097 configure.in}: Major reworking for autoconfig.
1098 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
1099 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
1101 * config/unix-gdb.exp: Make GDB global.
1102 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
1103 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
1104 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
1105 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
1106 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
1107 term.exp, twice.exp, watchpoint.exp, whatis.exp},
1108 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
1109 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
1110 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
1111 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
1112 pr-8136.exp, result.exp, string.exp, tuples.exp},
1113 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
1114 to returns as necessary, arrange for test to compile own testcase
1116 * lib/gdb.exp: Changes for testsuite to compile own test cases.
1118 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
1120 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
1121 clear_xfail at end of test which might not call either pass or fail.
1122 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
1123 "backtrace through signal handler".
1125 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1127 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
1128 continuing from a job control stop signal.
1129 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
1131 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
1133 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
1134 * gdb.base/corefile.exp: Likewise.
1135 * gdb.base/funcargs.exp: Likewise.
1137 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
1139 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
1140 * config/monitor.exp: Add support for setting baud rate.
1142 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
1144 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
1145 i*86-*-linux* xfails for "backtrace through signal handler".
1146 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
1147 "print func2::coremaker_local".
1148 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
1149 alpha-dec-osf2* xfail for
1150 "delete all breakpoints when none".
1152 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
1154 * gdb.base/break.exp: Change test that deletes all breakpoints
1155 when no user breakpoints are installed. A post 4.15 change
1156 causes gdb to no longer prompt in this case.
1158 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
1160 * gdb.base/return.exp (return_tests): Change xfail for test
1161 "correct value returned double test" to stop xfailing at
1162 Solaris 2.5. Apparently the bug has been fixed.
1164 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
1166 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
1167 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1169 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
1171 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
1172 * gdb.disasm/hppa.s: Corresponding changes.
1174 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
1176 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
1178 * config/mt-hpux: Deleted.
1180 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
1182 * Many files: When warning about suppressed tests due to a
1183 nonexistant test binary, avoid incrementing the warning count.
1185 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
1187 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
1189 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1191 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
1192 "sparc-*-solaris2*".
1194 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1196 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
1197 Add global and local variables and initialize them.
1198 * gdb.base/corefile.exp: Test correct mapping of corefile sections
1199 by printing variables. Remove rs6000 and powerpc xfails, BFD now
1200 extracts the file name and terminating signal from the core file.
1201 * TODO: Remove note about tests for correct mapping of corefile.
1202 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
1203 from optimizing it away.
1204 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
1205 handles common blocks.
1207 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
1209 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
1210 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
1212 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
1214 * Makefile.in (maintainer-clean): New target, synonym for
1216 * gdb.base/Makefile.in (maintainer-clean): Likewise.
1217 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
1218 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
1219 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
1220 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
1221 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
1223 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
1225 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
1226 xfails when not gcc compiled for "print foo::funclocal".
1227 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
1228 "print foo::funclocal at foo",
1229 "print 'scope1.c'::foo::funclocal at foo",
1230 "print foo::funclocal_bss at foo",
1231 "print 'scope1.c'::foo::funclocal_bss at foo",
1232 "print foo::funclocal_ro at foo",
1233 "print 'scope1.c'::foo::funclocal_ro at foo",
1234 "print bar::funclocal at foo" and
1235 "print 'scope1.c'::bar::funclocal at foo".
1236 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
1237 gcc compiled for "print foo::funclocal at bar".
1238 Expand all messages to ensure that they identify that
1239 the test is at bar().
1240 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
1242 "ptype on opaque struct pointer (statically)",
1243 "ptype on opaque struct tagname (statically)",
1244 "ptype on opaque struct pointer (dynamically) 1",
1245 "ptype on opaque struct tagname (dynamically) 1",
1246 "ptype on opaque struct pointer (dynamically) 2" and
1247 "ptype on opaque struct tagname (dynamically) 2
1248 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
1254 "whatis bsslocal", and
1256 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
1257 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
1258 when not gcc compiled.
1259 * gdb.base/funcargs.exp (float_and_integral_args): Add
1260 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
1262 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
1263 "backtrace from call6a" when not gcc compiled.
1264 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
1265 "backtrace from call7a" when not gcc compiled.
1266 * gdb.base/callfuncs.exp (do_function_calls):
1267 Add "hppa*-*-hpux*" xfail when not gcc compiled for
1268 "p t_char_array_values(char_array_val2,char_array_val1)",
1269 "p t_char_array_values(char_array_val1,char_array_val2)",
1270 "p t_char_array_values("carray 1","carray 2")",
1271 "p t_char_array_values("carray 1",char_array_val2)",
1272 "p t_char_array_values(char_array_val1,"carray 2")",
1273 "p sum_args(1,{2})",
1274 "p sum_args(2,{2,3})",
1275 "p sum_args(3,{2,3,4})",
1276 "p sum_args(4,{2,3,4,5})"
1277 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
1278 "backtrace in corefile.exp" when not gcc compiled.
1280 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1282 * gdb.base/signals.exp: Rewrite `handle all print' test as
1283 a procedure. Accept blanks or TABs as whitespace, increase
1284 timeout and expect input buffer size for the large output
1285 from the command. Remove "i*86-*-bsdi2.0" xfail.
1287 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1289 * gdb.base/setvar.exp: Add new testcases for truncation when
1290 assigning invalid values to bitfields.
1292 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
1294 * gdb.base/callfuncs.exp (do_function_calls): Remove
1295 mips-sgi-irix* xfail for
1296 "call inferior func with struct - returns char *"
1297 and fix test so that an optional (unsigned char *) cast is
1298 accepted in the result.
1300 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
1302 * gdb.base/funcargs.exp (float_and_integral_args): Remove
1303 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1304 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
1305 * gdb.base/signals.exp: Remove duplicate "handle all print" test
1306 that accidentally got checked in.
1308 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
1310 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
1311 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
1313 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
1314 Add mips-sgi-irix5* xfail for not gcc compiled.
1315 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
1316 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
1317 "p top", "whatis top", "p middle", and "whatis middle".
1318 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
1319 "whatis signed char" for not gcc compiled.
1320 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
1321 "set variable signed char=-1 (-1)" and
1322 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
1323 * gdb.base/funcargs.exp (float_and_integral_args):
1324 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
1325 Add mips-sgi-irix* xfail when not gcc compiled for
1326 "continue to call2b".
1327 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
1328 "continue to call2g".
1329 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
1330 "backtrace from call6a"
1331 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
1332 "backtrace from call7k".
1333 Add mips-sgi-irix5* xfail when not gcc compiled for
1334 "backtrace from call7a".
1335 (localvars_after_alloca): Fix gdb_test cmds for
1336 "print * after runto ...".
1337 Remove rs6000-*-* xfails for
1338 "print i after runto localvars_after_alloca" and
1339 "print l after runto localvars_after_alloca"
1341 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
1342 when not compiled with gcc, for:
1343 "print signed char == (minus)",
1344 "print signed char != (minus)",
1345 "print signed char < (minus)",
1346 "print signed char > (minus)".
1347 * gdb.base/callfuncs.exp (do_function_calls):
1348 Add mips-sgi-irix* xfail, when compiled with native compiler, for
1349 "call inferior func with struct - returns char *".
1350 * gdb.base/return.exp (return_tests): Change xfail for
1351 "correct value returned double test" to include Solaris 2.4.
1352 * gdb.base/funcargs.exp (float_and_integral_args):
1353 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1355 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1357 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
1358 enumeration bitfields if compiling with GNU C.
1359 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
1362 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
1364 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
1365 test for PRO targets.
1367 * gdb.base/funcargs.exp: Avoid ever setting more than 8
1368 breakpoints in the inferior at any given time by making
1369 two groups of breakpoints for call2*, call6* and call7*
1372 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1374 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
1375 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
1376 from optimizing it away.
1377 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
1378 "call inferior func with struct".
1380 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
1382 * configure.in: Only configure gdb.chill for particular targets.
1384 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
1386 * gdb.base/Makefile.in: Add action to .c.o transformation
1387 rule that generates a .ci file for each .o file and remove
1388 explicit .c.o rules except for callfuncs.o.
1389 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
1390 generates a .ci file for each .o file and remove explicit
1392 (clean): Remove *.tmp *.ci files.
1393 (EXECUTABLES): Remove templ-info.exp.
1394 * gdb.base/compiler.c: New file.
1395 * gdb.c++/compiler.cc: New file
1396 * gdb.base/scope.exp: Source gdb.base/scope.ci.
1397 Change rs6000-*-* xfail for
1398 "print 'scope0.c'::filelocal_ro" and
1399 "print 'scope1.c'::filelocal" and
1400 "print 'scope1.c'::filelocal_bss" and
1401 "print 'scope1.c'::filelocal_ro" and
1402 "print 'scope1.c'::foo::funclocal" and
1403 "print 'scope1.c'::foo::funclocal_ro" and
1404 "print 'scope1.c'::bar::funclocal" and
1405 "print 'scope0.c'::filelocal_ro" and
1406 "print 'scope1.c'::filelocal at foo" and
1407 "print 'scope1.c'::filelocal_bss at foo" and
1408 "print 'scope1.c'::filelocal_ro at foo" and
1409 "print 'scope1.c'::foo::funclocal at foo" and
1410 "print 'scope1.c'::foo::funclocal_bss at foo" and
1411 "print 'scope1.c'::foo::funclocal_ro at foo" and
1412 "print 'scope1.c'::bar::funclocal at foo" and
1413 "print 'scope0.c'::filelocal_ro" and
1414 "print 'scope1.c'::filelocal" and
1415 "print 'scope1.c'::filelocal_bss" and
1416 "print 'scope1.c'::filelocal_ro" and
1417 "print 'scope1.c'::foo::funclocal" and
1418 "print 'scope1.c'::foo::funclocal_bss" and
1419 "print 'scope1.c'::foo::funclocal_ro" and
1420 "print 'scope1.c'::bar::funclocal" and
1421 "print 'scope1.c'::bar::funclocal_bss"
1422 to only be xfail'd when not compiled with gcc.
1423 Add rs6000-*-* xfail for
1424 "print 'scope0.c'::filelocal_bss before run"
1425 when compiled with gcc.
1426 (test_at_main): Add rs6000-*-* xfail for
1427 "print filelocal_ro in test_at_main"
1428 when compiled with gcc.
1429 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
1430 Add rs6000-*-aix* xfail for
1431 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
1432 "ptype t_char_array", not compiled with gcc.
1433 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
1434 xfail for "list foo (in include file)" when gcc compiled.
1435 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
1436 (integral_args): Add rs6000-*-* xfail for
1437 "run to call0a" if not compiled with gcc.
1438 (unsigned_integral_args): Add rs6000-*-* xfail for
1439 "run to call1a" if not compiled with gcc.
1440 (float_and_integral_args): Add rs6000-*-* xfail for
1441 "run to call2a" if not compiled with gcc and for
1442 "continue to call2b" for any compiler.
1443 Add rs6000-*-* xfail to
1444 "print f1 after run to call2a" for gcc compiled.
1445 (discard_and_shuffle): Add rs6000-*-* xfail for
1447 (shuffle_round_robin): Add rs6000-*-* xfail for
1448 "backtrace from call7a" if not compiled with gcc.
1449 Add rs6000-*-* xfail for
1450 "backtrace from call7b" if compiled with gcc.
1451 (call_after_alloca): Add rs6000-*-* xfail for
1452 "print c in call_after_alloca" and
1453 "print s in call_after_alloca" and
1454 "backtrace from call_after_alloca_subr"
1455 if not compiled with gcc.
1456 (localvars_in_indirect_call): Add rs6000-*-* xfail for
1457 "print c in localvars_in_indirect_call" and
1458 "print c in localvars_in_indirect_call" and
1459 "backtrace in indirectly called function" and
1460 "stepping into indirectly called function"
1461 if not compiled with gcc.
1462 (localvars_after_alloca): Add rs6000-*-* xfail for
1463 "print c after runto localvars_after_alloca" and
1464 "print s after runto localvars_after_alloca" and
1465 "print i after runto localvars_after_alloca" and
1466 "print l after runto localvars_after_alloca"
1468 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
1469 than whatis-info.exp.
1470 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
1471 than opaque-info.exp.
1472 Setup rs6000-*-* xfail for
1473 "ptype on opaque struct pointer (statically)" and
1474 "ptype on opaque struct pointer (dynamically)" when
1475 not compiled with gcc.
1476 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
1477 rather than callf-info.exp.
1478 (do_function_calls): Add clear_xfail for rs6000-*-* for
1479 "p t_float_values2(3.14159,float_val2)". Seems to work
1480 fine there, both with xlc and gcc. Need to find out what
1481 it is doing right and fix other platforms.
1482 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
1483 "call inferior func with struct - returns int",
1484 "call inferior func with struct - returns long",
1485 "call inferior func with struct - returns float",
1486 "call inferior func with struct - returns double",
1487 "call inferior func with struct - returns char *",
1488 but only if not gcc compiled (presumes xlc compiled).
1489 Change rs6000-*-* xfails for
1490 "call inferior func with struct - returns char" and
1491 " call inferior func with struct - returns short" to only
1492 xfail if not using gcc.
1493 (clean mostlyclean): Remove *.ci and *.tmp files.
1494 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
1495 than templ-info.exp.
1496 * gdb.base/langs.exp: Source gdb.base/langs.ci.
1497 Add rs6000-*-* xfail for "up to foo in langs.exp"
1498 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
1499 when not gcc compiled.
1501 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1503 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
1504 * gdb.base/corefile.exp: Likewise.
1505 * gdb.base/list.exp: Likewise.
1506 * gdb.base/scope.exp: Likewise.
1507 * gdb.base/siganls.exp: Likewise.
1509 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
1511 * gdb.base/whatis.exp: Likewise.
1513 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
1515 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
1516 failure (opcode table has been fixed to match reality).
1518 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
1520 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
1521 "call inferior func with struct - returns char",
1522 "call inferior func with struct - returns short"
1524 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
1525 "print 'scope0.c'::filelocal at main",
1526 "print 'scope0.c'::filelocal_bss in test_at_main",
1527 "print 'scope0.c'::filelocal at foo",
1528 "print 'scope0.c'::filelocal_bss in test_at_foo",
1529 "print 'scope0.c'::filelocal at bar",
1530 "print 'scope0.c'::filelocal_bss in test_at_bar"
1532 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
1533 in source file 1". This bug seems to have been fixed with both
1534 gcc and native cc (was native assembler bug?).
1536 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
1538 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
1539 "backtrace through signal handler" to "i*86-*-sysv4*".
1540 * gdb.base/signals.exp: Add xfail for "'next' behaved as
1541 continue" case. Add "known SVR4 bug" to fail message.
1542 Add "i*86-*-bsdi2.0" xfail for "handle all print".
1543 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
1544 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
1545 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
1546 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
1547 "up to foo in langs.exp", "show language at foo in
1548 langs.exp", "up to cppsub_ in langs.exp", "show
1549 language at cppsub_ in langs.exp", "up to fsub in
1550 langs.exp", and "show language at fsub in langs.exp".
1551 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
1552 "bactrace in corefile.exp".
1553 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
1554 "call inferior function with struct - returns float" and
1555 "call inferior function with struct - returns double".
1557 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
1559 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
1560 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
1561 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
1562 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
1564 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
1566 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
1567 (or overriden) "CHILL" macro rather then bare "gcc".
1568 Also look for ../../gcc/xgcc since that is what we will
1569 actually need, not "Makefile". Remove following assignment
1570 of CHILL to CHILL_FOR_TARGET because that results in
1571 recursive definition.
1573 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
1575 * gdb.base/corefile.exp: Change xfail for backtrace in
1576 corefile.exp from linuxaout to all linux.
1577 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
1578 cases where we miss the breakpoint at the signal handler
1579 for some reason. Setup xfail for linuxoldld/linuxaout and
1580 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
1581 hitting SIGURG breakpoint.
1582 * gdb.base/signals.exp: Setup xfail for "next" acting like
1583 continue to add linuxoldld. Setup xfail for all linux for
1584 "next to handler in signals_tests_1", "backtrace in
1585 signals_tests_1", "continue to func1", "pass SIGUSR1",
1586 and continue to handler".
1588 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1590 * Update all FSF addresses except those in COPYING* files.
1592 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
1594 * gdb.base/a2-run.exp: Change messages to be more explicit about
1595 the status of args, and quote binfile in results.
1597 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
1599 * gdb.base/callfuncs.exp: Add tests for passing structs to
1600 inferior functions and return various types.
1601 * gdb.base/callfuncs.c: Add functions to receive a struct
1602 and return a member of the struct, in various types.
1604 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1606 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
1608 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
1610 * config/vxworks29k.exp: New file, sources vxworks.exp.
1612 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1614 * config/gdbremote.exp: New file. Testing framework using
1617 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
1619 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
1620 "call function when asleep" and "send end of file".
1621 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
1622 for "backtrace in corefile.exp".
1623 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
1624 for "backtrace through signal handler".
1625 * gdb.base/corefile.exp: Make sure we actually generate a core file
1626 before trying the core tests. Some systems allow the user to suppress
1627 generation of core files and default to that (linux for example).
1628 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
1629 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
1631 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1633 * gdb.threads: New directory with some crude multi-threaded
1634 gdb tests (step.exp and step2.exp).
1635 * config/mt-lynx (STEP_EXECUTABLE): Define.
1636 (THREADFLAGS): Define.
1638 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
1640 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
1642 * gdb.base/signals.exp: Disable whole file for lynx until
1645 * gdb.base/signals.exp: xfail test where "next" acts like
1646 "continue" for lynx.
1648 * gdb.base/interrupt.exp: xfail test for calling function while
1649 inferior is asleep for lynx.
1651 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
1652 than one cr-lf after each command.
1654 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1656 * configure.in: Reinstate setting of stabsdirs variable, fix
1657 typo in setting up configdirs for native builds.
1659 * gdb.base/return.exp: Fix typo in return double test.
1660 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
1661 compiler from optimizing them away.
1663 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
1665 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
1666 sequences to be echo'd by gdb when using gdb_test.
1667 * gdb.chill/chexp.exp: Likewise.
1668 * gdb.fortran/exprs.exp: Likewise
1670 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1672 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
1673 after the inferior gdb has started.
1675 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
1677 * gdb.base/funcargs.exp: Likewise.
1678 * gdb.base/gdbvars.exp: Likewise.
1679 * gdb.base/interrupt.exp: Likewise.
1680 * gdb.base/list.exp: Likewise.
1681 * gdb.base/watchpoint.exp: Likewise.
1682 * gdb.c++/demangle.exp: Likewise.
1683 * gdb.c++/inherit.exp: Likewise.
1684 * gdb.chill/chexp.exp: Likewise.
1685 * gdb.fortran/exprs.exp: Likewise.
1687 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
1688 test if we can't handle IO to/from the inferior.
1690 * gdb.c++/misc.exp: Always check for a program already being
1691 started after sending a "run" command to gdb.
1693 * gdb.base/twice.exp: Start with a fresh gdb.
1695 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
1696 only depend on gdb's expression code, not the chill runtime.
1698 * gdb.base/return.c: Put return values into variables so we
1699 can have gdb print them rather than depending on the program
1701 * gdb.base/return.exp: Corresponding changes.
1703 * lib/gdb.exp: Provide default value for noinferiorio.
1704 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
1707 * gdb.base/break.exp: Always check for a program already being
1708 started after sending a "run" command to gdb.
1709 (text_next_with_recursion): Don't check the output from the
1710 program's printf statement. Instead just make sure the program
1713 * gdb.base/commands.exp: Protect tests which need arguments with
1714 $noargs conditionals.
1716 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1718 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
1719 of structure member arrays to match gdb/valops.c:value_addr change.
1721 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
1723 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
1726 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
1728 * configure.in (configdirs): Remove gdb.chill from default list
1729 of subdirs and then add it back in only if doing a native build.
1730 The current chill compiler does not yet work in any cross build.
1731 * Revert all signal changes from Jul 6.
1732 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
1733 for sh-hms targets, allowing these tests to link, with no other
1734 changes. Testing is suppressed by setting "nosignals" in site.exp.
1736 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
1738 * configure.in (signaldirs): Define and add to configdirs for all
1739 targets except some specific ones that are known to not support signals.
1740 Also clean up formatting.
1741 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
1742 (signals, sigall): Remove rules to build.
1743 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
1744 Moved to new gdb.signals directory.
1745 * gdb.signals: New test directory.
1746 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
1747 signals.c signals.exp}: New or moved files.
1749 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
1751 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
1753 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
1755 * gdb.base/return.exp: Xfail `return double' test failure
1756 on at least Solaris 2.3 and handle future/past versions on
1757 a case by case basis as appropriate. Also update message
1758 to include i*86 failures.
1760 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1762 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
1764 * lib/gdb.exp: Fix comment which erroneously identified
1765 gdb_file_cmd as gdb_load (the 19 May change was in fact to
1766 gdb_file_cmd not gdb_load).
1767 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1769 * gdb.base/setvar.exp: Make test names consistent between pass and
1770 fail cases. Use gdb_test more.
1772 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1774 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
1776 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1778 * gdb.base/help.exp: Fix expected help string for `show commands'.
1780 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1782 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
1784 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
1787 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
1789 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
1790 that loop eventually terminates. Fix Connection refused logic so
1791 that testsuite will expire nicely.
1793 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
1795 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
1796 config/rom68k.exp: New tcl glue for the appropriate monitors.
1797 These all just end up calling monitor.exp.
1798 * config/monitor.exp (gdb_target_monitor): Handle `Connection
1799 refused' by retrying. Cleanup some timeout issues.
1800 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
1801 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
1802 callers don't have to set/restore global timeout variable.
1804 * The following set of changes centralizes management of the global
1805 timeout variable. This way, it can be set in one target dependent
1806 place instead of dozens of places scattered throughout the test suite.
1807 If you need to lengthen a timeout, then you should either set timeout
1808 in one of the config/{target}.exp files, or multiply it by a factor.
1809 Setting it to an absolute value is always going to lose for some
1811 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
1812 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
1813 * gdb.base/funcargs.exp: Don't set timeout.
1814 * gdb.base/list.exp (test_forward_search): Only use local timeout.
1815 * gdb.base/printcmds.exp (test_print_string_constants
1816 test_print_array_constants): Don't set timeout.
1817 * gdb.base/ptype.exp: Don't set timeout.
1818 * gdb.base/recurse.exp: Don't set timeout.
1819 * gdb.base/return.exp: Don't set timeout.
1820 * gdb.base/watchpoint.exp: Don't set timeout.
1821 * gdb.c++/classes.exp (do_tests): Don't set timeout.
1822 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
1824 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
1826 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
1828 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1830 * lib/gdb.exp: Disable chill tests for irix5.
1832 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1834 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
1835 each test pass or fail.
1837 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1839 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
1842 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
1844 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
1846 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
1848 * config/est.exp: Fix copyright and comments. Remove dead code.
1849 Use targetname, serialport and baud variables instead of fixed
1851 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
1852 * config/cpu32bug.exp: New file to support cpu32bug monitors.
1854 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1856 * gdb.base/watchpoint.exp: Don't run
1857 test_watchpoint_triggered_in_syscall for sunos.
1859 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1861 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
1862 they don't seem to exist. Do include stdio.h.
1864 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1866 * gdb.base/a1-selftest.exp: Add alpha xfail.
1868 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1870 * gdb.base/watchpoint.c (main): Prompt before calling read().
1871 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
1872 Revise accordingly. Remove cruft about sending "123" several
1873 times, until it gets noticed. Clean up the "print buf[0]" stuff
1874 so that it passes or fails, and waits for prompts in the usual way.
1876 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1878 * gdb.base/recurse.exp: Fix comment.
1880 * TODO: Remove item about printing variables in nodebug.exp. Add
1881 item about enabling tests which are only run on some targets.
1883 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
1884 fail, make test names unique, use new gdb_test convention
1885 regarding pattern, use gdb_test more, etc.).
1887 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
1888 fail, make test names unique, etc.).
1890 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1892 * gdb.base/nodebug.c: Change return type of top and middle to
1894 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
1895 are fixed by the recent mdebugread.c changes. Allow `short ()'
1896 as type for top and middle.
1898 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1900 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
1901 nearly as I can tell, the whole thing was an accident in Stu's
1902 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
1903 to replace a send/expect pair with gdb_test, but ended up only
1904 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
1905 of 30 Mar 1995 took care of it, but left this vestigial comment
1906 which I am now nuking.
1908 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1910 * gdb.base/break.exp: Look for different line number for
1911 breakpoint at main depending on usestubs.
1913 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1915 * gdb.base/list.exp: Adjust some alternate expect patterns to
1916 match recent list0.c change. Add alternate expect pattern for
1917 output from `list default lines around main' for optimizing
1920 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1922 * lib/gdb.exp: If nosignals is not set, set it to 0.
1924 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
1926 * config/slite-gdb.exp: Responds to load symbol table prompt.
1927 * gdb.base/break.exp: Adjust line number, fix rerun.
1928 * gdb.base/langs0.c: Add #ifdef usestubs.
1930 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
1932 * gdb.base/list.exp: Adjust line contents after adding new lines in
1933 list0.c. Also fix a syntax error.
1935 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
1936 * gdb.base/break.exp: ditto.
1937 * gdb.base/list.exp: ditto.
1938 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
1939 * gdb.base/run.c: ditto.
1940 * gdb.base/list0.c: ditto.
1941 * gdb.base/funcargs.c: ditto.
1943 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
1945 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
1946 $targetname, $serialport and $baud instead of hardwired variables.
1947 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
1948 target doesn't support signals.
1950 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
1952 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
1954 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1956 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
1957 Don't rely on the value of an auto variable before it has been
1958 initialized. Use gdb_test more.
1960 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1962 * lib/gdb.exp (default_gdb_version): A version number must start
1963 with a digit, but other than that contains all characters up to
1964 the first whitespace character.
1966 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1968 * gdb.base/commands.exp (breakpoint_command_test): New tests.
1970 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1972 * gdb.c++/*.exp: Warn if executable does not exist. The original
1973 reason for skipping the warning was that configure.in sometimes
1974 intentionally skipped building the executables but the tcl code
1975 had no way of knowing. That (a) was always bogus with respect to
1976 error handling, (b) is no longer true (right now there is no way
1979 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
1981 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1983 * gdb.base/list.exp: Add expect patterns for output from
1984 SunPRO compiled executables.
1985 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
1988 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1990 * gdb.base/break.exp (test_next_with_recursion): Accept any line
1991 number (we are already testing that the correct source line text
1994 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
1995 that is what is intended, but something needed to be done to get
1996 sunos4 native working again.
1998 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
2000 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
2001 apparently went with a (very) old xfail.
2003 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
2005 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
2006 runto_main is a proc in gdb.exp that will do 'step' for target use
2008 * gdb.base/exprs.exp: ditto.
2009 * gdb.base/interrupt.exp: ditto.
2010 * gdb.base/opaque.exp: ditto.
2011 * gdb.base/printcmds.exp: ditto.
2012 * gdb.base/ptype.exp: ditto.
2013 * gdb.base/scope.exp: ditto.
2014 * gdb.base/setvar.exp: ditto.
2015 * gdb.base/signals.exp: ditto.
2016 * gdb.base/twice.exp: ditto.
2017 * gdb.c++/classes.exp: ditto.
2018 * gdb.c++/inherit.exp: ditto.
2019 * gdb.c++/templates.exp: ditto.
2020 * gdb.base/break.exp: no run and hit main for stubs. Change line
2021 numbers for breakpoints and info breakpoint.
2022 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
2024 * gdb.base/callfuncs.c: ditto.
2025 * gdb.base/exprs: ditto.
2026 * gdb.base/interrupt.c: ditto.
2027 * gdb.base/opaque0.c: ditto.
2028 * gdb.base/printcmds.c: ditto.
2029 * gdb.base/ptype.c: ditto.
2030 * gdb.base/scope0.c: ditto.
2031 * gdb.base/setvar.c: ditto.
2032 * gdb.base/signals.c: ditto.
2033 * gdb.base/twice.c: ditto.
2034 * gdb.c++/misc.cc: ditto.
2035 * gdb.c++/templates.cc: ditto.
2037 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2039 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
2041 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
2042 somewhere between `read' and `main.c'. I'm pretty sure the
2043 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
2044 and it isn't particularly useful.
2046 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
2048 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2050 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
2052 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
2054 * config/mt-slite: add LIBS and -nostdlib.
2055 * config/slite-gdb.exp: add this new file to support sparclite target.
2057 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
2059 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
2061 * gdb.base/a2-run.exp: Change argument to istarget from
2062 "*-*-vxworks" to "*-*-vxworks*".
2063 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
2065 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
2067 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
2068 will not runto main but do a 'step' to step out of breakpoint().
2069 * config/mt-slite: add -Dusestubs.
2071 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2073 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
2076 * gdb.base/signals.exp: Add test for "handle all print".
2077 * TODO: Remove "handle all print". Also remove item about
2078 checking copyright date (I don't like the idea of a spurious FAIL
2079 based on when we run the tests).
2081 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
2082 for SunOS4 (reason for failure not investigated). Remove
2083 redundant test for $binfile.
2085 * gdb.base/nodebug.c (array_index): Call malloc.
2087 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
2089 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
2091 * gdb.base/recurse.exp: Update gdb_test invocation to use new
2092 conventions and slightly simplify the matching regexp.
2094 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2096 * gdb.base/break.exp: Update gdb_test invocation to use new
2099 * lib/gdb.exp: If noargs is not set, set it to 0.
2101 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
2104 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
2106 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2108 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
2109 one argument of type "<non-float parameter>".
2111 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
2113 * config/rom68k.exp: New file to support Motorola IDP board.
2114 * gdb.base/a2-run.exp: Skip this file if noargs is set.
2115 * gdb.base/break.c: Change things around so that this program
2116 doesn't depend upon args. This is necessary to make remote
2117 targets work (in general, they can't take args).
2118 * gdb.base/break.exp: Don't try to send args to program. Don't
2119 expect output. Also, replace lots of code with gdb_test.
2121 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2123 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
2124 printing of '\'' (which is what the comment says we are testing,
2125 even though we were not), not '''.
2126 (test_integer_literals_rejected): Test that printing ''' is an error.
2128 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2129 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
2130 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
2131 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
2132 Use gdb_test not test_print_accept.
2133 * lib/gdb.exp: Remove test_print_accept.
2135 * gdb.base/signals.exp (signal_tests_1): Make pass message
2136 consistent with fail message.
2138 * gdb.base/whatis.exp: Remove xfails for printing char vs.
2139 unsigned char; the bug (PR 1821) is fixed.
2141 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
2143 * gdb.base/scope.exp (test_at_localscopes): Call pass for
2144 successful tests--makes xfailing them work right.
2146 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2148 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
2149 only \r\n, not .*. The test can pass .* as the last thing in
2150 $pattern if that is what it wants. In addition to providing this
2151 flexibility, this change should speed up pattern matching in cases
2152 where the pattern already ended with .* (there were a number of
2153 them). This change also helps catch bad patterns--in the old
2154 scheme the typo "char \*" instead of "char \\*" would pass. Now
2156 * Many .exp files: Update callers.
2158 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
2159 clearer and does not spuriously match multiple ('s. Likewise for
2162 * gdb.base/nodebug.exp: Test ability to call a function and pass
2163 it a string (even with no debugging info).
2165 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
2166 "p '\'", which is the same as "p ''" once tcl gets done with
2167 quoting, to "p '\\'", which I suspect is what is intended (one
2168 backslash gets sent to GDB).
2170 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
2172 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2174 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
2175 1817) was fixed literally years ago.
2177 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2179 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
2180 test, it causes stepping out of call_after_alloca_subr with
2181 optimizing compilers.
2182 (localvars_in_indirect_call): Consume GDB prompt if `finish'
2185 * gdb.c++/templates.exp: Source templ-info.exp only if
2186 the templates executable exists.
2188 * gdb.c++/misc.cc (class Contains_static_instance,
2189 class Contains_nested_static_instance),
2190 gdb.c++/classes.exp (test_static_members): Test printing of
2191 a class that contains a static instance of the class.
2193 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2195 * gdb.base/langs2.c (cppsub_): Don't prototype.
2196 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
2199 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2201 * lib/gdb.exp (skip_chill_tests): New procedure.
2203 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
2205 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
2207 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
2208 each expect pattern. Cuts runtime from 12 to about 4 seconds.
2210 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2212 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
2214 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
2215 disassemble 8, not 16, instructions for part 4.
2217 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
2218 support the latter anymore.
2220 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
2222 * gdb.base/callfuncs.c: Control use of prototypes based on
2223 NO_PROTOTYPES, not __STDC__.
2224 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
2225 t_float_values2 tests if prototypes in use.
2227 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
2228 t_double_values): When checking differences against DELTA, check
2229 that difference is within the range (-DELTA,DELTA), not just
2232 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
2234 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
2235 'file' command firts, then 'target', then 'load', this is due to gdb
2237 * config/mips-gdb.exp: Fix a couple regular exp bugs.
2239 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
2241 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
2242 FP load/store variants.
2243 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
2245 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2247 * gdb.base/term.exp: Do not give a warning if not native, it is
2248 not an abnormal condition.
2250 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
2252 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
2255 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2257 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
2258 are getting the version number.
2260 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
2261 if not native, it is not an abnormal condition.
2263 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2265 * lib/gdb.exp: Just use "file exists", rather than undocumented
2266 dejagnu procedure "findfile".
2268 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2270 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
2271 (LDFLAGS): Set to -Xlinker -Ur.
2273 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
2274 Removed, these values are set by lib/gdb.exp.
2276 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
2278 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2280 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
2281 of replicating gdb startup code.
2283 * config/mt-vxworks (LDFLAGS): Set to -r.
2284 (CFLAGS_FOR_TARGET): Removed.
2286 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
2287 (gdb) and gdb for vxworks uses (vxgdb).
2289 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
2290 executable is not in the tree and host != target, use sed and
2291 program_transform_name to determine the gdb name used by the
2294 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
2295 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
2297 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2299 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
2300 floats, chars, and shorts where there are ANSI-style function
2303 * gdb.base/langs.exp, gdb.base/langs*: New test.
2304 * gdb.base/Makefile.in: Build it.
2305 * TODO: Remove item about checking that C names don't get C++
2306 demangling applied; this test tests it.
2308 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2310 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
2311 went with the const70 xfail. The xfail went away a year ago.
2313 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
2315 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
2318 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
2320 * gdb.base/a1-selftest.exp: Don't run on hp300.
2322 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2324 * Makefile.in (site.exp): Set host_alias and target_alias as well
2325 as host_triplet and target_triplet.
2327 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2329 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
2331 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
2332 places as other ecoff systems).
2334 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
2337 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2339 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
2341 * gdb.base/nodebug.exp: Accept "function" in addition to "text
2342 variable and "variable" in addition to "data variable".
2343 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
2345 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
2347 * gdb.base/list1.c (long_line): Add additional statement at start
2349 * gdb.base/list.exp (test_forward_search): Update line number to
2350 reflect new statement.
2352 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2354 * gdb.base/signals.exp: Reinitialize searched source directories
2355 after gdb_start call.
2357 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
2359 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
2360 * gdb.stabs/Makefile.in: Likewise.
2362 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
2363 change. Instead split the tests into smaller pieces.
2364 * gdb.disasm/hppa.s: Corresponding changes.
2366 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2368 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2369 Quote ^C when passing it to stty. For some shells ^ is a pipe.
2371 * gdb.base/funcargs.exp: Modify many tests so that every test
2372 either passes or fails. Make some test names unique.
2374 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2376 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2377 Call stty to set interrupt character.
2379 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
2380 for HP assembler versus GNU assembler based on actual behavior of
2381 $(CC), rather than assuming that $(AS) is always the GNU assembler.
2383 * TODO: Suggest a few more stepping tests.
2385 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
2387 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
2388 restart GDB for h8300 after a continue.
2389 (return): Add pattern to match a29k-udi behavior.
2390 * gdb.base/nodebug.exp: Remove obsolete comment.
2391 * gdb.base/regs.exp: New file, testing of register displays.
2392 * gdb.base/return.exp: Fix typo in reference to $objdir.
2393 * gdb.base/whatis.exp: Always start with a fresh GDB.
2395 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2397 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
2398 higher, these tests generate a lot of output.
2400 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2402 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
2403 code following the catch silently ignored some errors; without the
2404 catch they should be thrown like any other tcl error. Also, the
2405 catch used "" instead of {} which meant all the callers who wanted
2406 to include one of the characters "[]$ had to quote it an extra time.
2407 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
2408 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
2409 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
2410 Remove extra quoting.
2412 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
2414 * gdb.base/commands.exp: Make test names unique; every test either
2415 passes or fails. Update some comments.
2417 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
2419 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2421 The following fixes a FAIL caused by the fact that the alpha stabs
2422 configuration didn't use the ".if alpha" code in weird.def.
2423 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
2424 bit pointer, so the 32 bit version works even on the alpha.
2425 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
2426 Remove the stuff which allowed us to have separate versions for
2427 alpha and everything else.
2429 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
2430 regexp which "info func operator\[\](" is supposed to match. Fix
2431 string to send to GDB. Note that GDB still doesn't work right. Add a
2432 new test for "info func .perator\[\](" which GDB does handle correctly.
2434 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
2436 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2438 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
2439 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
2440 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
2441 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
2442 it makes the tests harder to understand and confuses test-o-matic.
2443 The preferred style is that each test provides a PASS or a FAIL,
2444 and has a unique message (e.g. "continue #54" not just "continue")
2445 which is the same for the pass and the fail.
2446 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2447 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
2449 * gdb.base/printcmds.exp: Use test_print_accept. Remove
2450 prt_accept which was basically the same thing. Likewise for
2451 test_print_reject and prt_reject.
2452 * lib/gdb.exp (test_print_reject): Add some more error message
2453 patterns to match from the former printcmds.exp (prt_reject).
2454 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
2455 One defect of the passcount stuff is that some of it failed to
2456 report XPASS where appropriate.
2457 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
2458 stuff before and after arg in expected pattern.
2459 (test_paddr_operator_functions): Re-do test without print_addr_of;
2460 this is the only test which seems to want extra stuff there.
2462 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2464 * gdb.base/nodebug.exp: Update new tests to reflect improved
2465 wording of gdb output.
2467 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
2468 and "ptype" work on variables in files compiled without -g.
2469 Replaces commented out "maint print msymbol" tests.
2471 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2473 * gdb.base/setvar.c (dummy): Call malloc.
2475 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
2476 losing with the irix4 sed.
2478 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
2481 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2483 * TODO: Remove items about corefile.exp testing new exec-file and
2484 backtrace; both are now done. Add items about printing enums.
2486 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2488 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
2489 "get signal $thissig" test fails.
2491 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
2493 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2495 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
2496 compiler warning with dec alpha compiler.
2498 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
2499 extra \n from gdb_test call (this explains why the prompt test
2500 that I removed yesterday was there).
2501 (user_defined_command_test): Remove extra \n and prompt test.
2503 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
2504 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
2506 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
2507 Also remove alpha workaround, which turns out to be because
2510 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
2512 * gdb.base/help.exp: Don't test "help show".
2514 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2516 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
2517 "set print address" is on.
2518 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
2519 pass prompt to gdb_test; gdb_test already looks for the prompt.
2521 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
2523 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
2524 was a vestige of the manual TESTSTRATEGY, and the purpose of it
2525 was to make sure that gdb can read a core file. But (a) the "read
2526 the corefile" part didn't make it to a1-selftest.exp, we just
2527 delete the corefile after creating it, and (b) we test reading
2528 corefiles in corefile.exp anyway. Also, this test left around a
2529 xgdb process on Solaris.
2531 * gdb.base/corefile.exp: Also test backtrace.
2533 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
2535 * gdb.base/commands.exp: Test a simple user defined command with
2536 arguments and if/while statements; verify the full user command is
2537 printed by "show user".
2539 * gdb.base/commands.exp: Test if/while commands as part of a
2540 breakpoint command list; verify they appear in breakpoint
2543 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2545 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
2546 than by dividing by zero.
2548 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
2550 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
2551 performing an inferior call with watchpoints enabled.
2552 * gdb.base/watchpoint.c (main): Delete second unnecessary read
2555 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2557 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
2560 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
2561 Add additional pattern for when "int operator int(void);" appears
2562 in a different order.
2564 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2566 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
2568 * gdb.base/help.exp: Replace most of docstrings for "info signals"
2569 and "signal" with ".*".
2571 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2573 * TODO: Add note about "handle all nostop".
2575 * gdb.base/{sigall.c, sigall.exp}: New test.
2576 * gdb.base/Makefile.in: Add it.
2578 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
2580 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
2581 when invoking GDB, suppresses any windowing interface.
2583 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
2585 * config/sim-gdb: New file, simulator testing support.
2587 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
2589 * gdb.base/interrupt.exp: Test calling func1 twice.
2591 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
2593 * gdb.base/list.exp (test_forward_search): Set timeout higher
2594 when we'll be getting lots of output from gdb.
2596 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
2597 "init_malloc" to after the expect statement. Run it if that
2598 regexp is taken, but also for two others which happen if source
2601 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2603 * gdb.base/printcmds.exp: New test, for printing register before
2606 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2608 * gdb.base/list.exp: Correct some alternate expect patterns
2609 to reflect changes in list1.c.
2611 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2613 * TODO: Add item regarding large frames.
2615 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
2617 * TODO: Remove item about enabling return.exp; it
2618 is enabled. Suggest a few more "return" tests.
2620 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2622 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
2625 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2627 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
2628 and pr-5646.o, so "make" is the same as "make all", not "make
2631 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
2633 * gdb.base/list.exp: Adjust expectations to reflect changes in
2635 (test_forward_search): New test proc.
2636 * gdb.base/list1.c (long_line): New function, has long source line.
2638 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
2640 * gdb.base/a1-selftest.exp: Change initial stepping to know about
2641 additional line of code that was added.
2643 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
2645 * gdb.disasm/hppa.s: Break the large branching tests into smaller
2646 tests so as not to overflow expect's input buffers.
2647 * gdb.disasm/hppa.exp: Corresponding changes.
2649 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2651 Beginnings of template debugging tests.
2652 * gdb.c++/templ-info.cc: New file to test for template
2653 debugging capability of the compiler.
2654 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
2656 * gdb.c++/templates.cc: Add explicit template instantiations
2657 to enable compiling with -fno-implicit-templates. Add destructor
2658 and 'value' method to T5 class for template tests.
2659 * gdb.c++/templates.exp: Add testcases for printing of template
2660 types, setting breakpoints on template methods and calling a
2663 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
2665 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
2666 branch target since some assemblers (gas-2.5) may emit a
2667 relocation for the branch instead of resolving it in the
2670 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2672 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
2673 through signal handler.
2675 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2677 * configure.in (*-*-netware): Use config/mt-netware.
2679 * config/mt-netware: New file.
2680 * config/mt-i386-netware: Removed, separate configs for different
2681 netware architectures are no longer needed now that we have
2684 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2686 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
2687 by the recent changes to use ANSI C arithmetic conversions.
2689 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2691 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
2692 bug involving using inferior_pid to figure out whether to select a
2695 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
2697 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
2698 match the current disassembler output.
2700 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
2702 * gdb.fortran/exprs.exp: Expect VOID instead of void.
2703 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
2704 types, expect "int" as type of integer values (for now).
2706 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
2708 * gdb.base/commands.exp: New tests for if/while commands.
2710 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
2712 * lib/gdb.exp (runto): Replace sub-pattern for hex value
2713 by .*, since hex values have different syntax in Chill mode.
2715 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2717 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
2718 linefeed from expect pattern for repeated types with indices > 9.
2720 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
2722 First part of Fortran test suite.
2723 * gdb.fortran: New directory.
2724 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
2726 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2728 * gdb.base/default.exp: Update expect pattern for load command
2731 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2733 * configure.in: Change i386 to i[345]86.
2734 * gdb.base/configure.in: Likewise.
2735 * gdb.c++/configure.in: Likewise.
2736 * gdb.chill/configure.in: Likewise.
2738 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2740 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
2741 patterns, since that is not a valid context for comments.
2743 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
2745 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
2746 repeated types and repeated types with indices > 9.
2748 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
2750 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
2751 2417; old bug has been fixed.
2753 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
2755 * gdb.base/interrupt.exp: When trying to wake up the inferior,
2756 send the newline ourselves instead of assuming gdb_test will do
2757 so when passed an empty input string.
2759 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
2762 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2764 * lib/gdb.exp (gdb_test): Don't send anything if the first
2765 argument is an empty string. This makes cases where we want to
2766 match output that is already in expect's buffers (for example,
2767 matching a breakpoint after gdb_run_cmd has been called) work
2770 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2772 * config/netware.exp: New file.
2774 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2776 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
2777 the -B and -L prefixes so we can find the debugging stub.
2779 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
2780 there and we are using the gcc from the tree.
2782 * gdb.base/types.c: Removed.
2784 * gdb.base/configure.in: Look for makefile fragments in ../config.
2785 Recognize i386-*-netware.
2786 * gdb.c++/configure.in: Likewise.
2788 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2790 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
2791 the correct TCL syntax.
2793 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2795 * gdb.base/opaque.exp: use runto instead of messing around with
2796 breakpoints. Simplify by using gdb_test.
2798 * gdb.base/bitfields.exp: restart between tests on netware targets
2799 because breakpoints aren't relocated after target death. Run
2800 processes to completion.
2802 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
2804 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
2806 * Makefile.in: Remove extra tabs that confuse some versions
2807 of "make". Use the newly built gdb to test with by default,
2808 rather than the first one in the tester's search path.
2810 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
2812 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
2814 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
2817 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2819 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
2821 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
2823 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
2824 * gdb.base/funcargs.exp: Likewise.
2826 * gdb.base/bitfields.exp: Simplify by using gdb_test.
2827 * gdb.base/funcargs.exp: Likewise.
2829 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
2832 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2834 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
2835 return,signals,twice}.exp: Handle non-existant binaries
2838 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
2839 * gdb.base/Makefile.in: Don't try to generate a core dump, we
2840 might testing a cross development system.
2842 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2844 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
2845 runtest script is relative to ${srcdir}, not ${rootdir}.
2847 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
2849 * gdb.base/signals.exp: Allow for optionality of breakpoint
2852 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2854 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
2856 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2858 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
2859 for size_t definition.
2860 * gdb.c++/templates.cc: Likewise
2862 * config/mt-i386-netware: New file.
2864 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
2867 * gdb.base/Makefile.in: Added support for systems that name core
2868 files by appending "core" to the program name.
2869 * gdb.base/a1-selftest.exp: Likewise.
2871 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2873 * gdb.base/return.exp: Add comment and message for `return double'
2874 test failure on Sparc Solaris.
2876 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
2878 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
2880 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2882 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
2883 from optimizing them away.
2884 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
2885 patterns to include default constructors and assignment operators,
2886 to match gcc versions beyond 2.5.8. Accept any cplus demangling
2887 character in the output of the virtual base pointer.
2889 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2891 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
2892 expression match in print_addr_of to avoid unintented matches.
2893 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
2894 versions up to 2.5.8.
2896 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2898 * gdb.base/list.exp: Tweak alternate pattern for listing of an
2899 included file to run under newer versions of expect.
2900 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
2901 consecutive >'s in templates to accomodate recent cplus-dem.c change.
2902 Remove xfail for the virtual table of BDDHookV.
2904 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
2906 * lib/gdb.exp (string_to_regexp): Set a default result.
2907 (default_gdb_start): Fix misleading message.
2909 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
2911 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
2912 Remove all CC, etc definitions.
2913 * config/mt-hpux: New file.
2914 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
2915 (CFLAGS, LDFLAGS): Define.
2916 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
2918 * Makefile.in (site.exp): Don't insert host_os, etc.
2919 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
2920 (distclean): Check existence of subdir.
2921 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
2922 * gdb.base/Makefile.in: General cleanup and simplification.
2923 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2924 to build executables. Use default rule to build .o files.
2925 (EXPECT, RUNTEST, CC): Fix relative pathname.
2926 (site.exp): Don't insert host_os, etc.
2927 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
2928 and/or SIGUSR1 defined.
2929 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
2930 * gdb.c++/Makefile.in: General cleanup and simplification.
2931 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2933 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
2935 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
2937 * gdb.base/recurse.exp: Misc changes to get tests running again
2938 after Kung's changes to the watchpoint code.
2939 * gdb.base/watchpoint.exp: Likewise.
2941 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
2943 * lib/gdb.exp (string_to_regexp): Convert {\} also.
2945 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
2947 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
2948 * lib/gdb.exp (default_gdb_start): Define.
2949 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
2950 gdb.base/funcargs.exp, gdb.base/opaque.exp,
2951 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
2952 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
2953 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
2954 Don't call gdb_target_udi in between tests.
2956 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2958 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
2959 (which was basically just a local version of the same thing). In
2960 addition to avoiding duplication, gdb_test_exact is faster.
2961 * lib/gdb.exp (gdb_test_exact): Fix typo.
2963 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
2964 don't give an error.
2966 * gdb.base/term.exp: Call delete_breakpoints before starting.
2968 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
2971 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2973 Reorganization of the GDB Test Suite.
2975 * gdb.base: New directory, contains all the basic tests.
2976 * gdb.c++: New directory, tests specific to C++.
2977 * gdb.chill: New directory, tests specific to Chill.
2978 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
2979 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
2980 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
2981 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
2982 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
2984 * */gdbme.*: Rename to match appropriate expect scripts.
2985 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
2986 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
2987 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
2988 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
2989 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
2990 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
2991 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
2992 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
2993 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
2994 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
2995 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
2996 gdb.c++/virtfunc.cc: New names of C++ files.
2997 * gdb.chill/chillvars.ch: New name of Chill file.
2998 * gdb.base/configure.in, gdb.c++/configure.in,
2999 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
3000 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3001 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
3002 * configure.in (configdirs): Update to reflect directory changes.
3003 (target_abbrev): No longer define for any configuration.
3004 * Makefile.in: Cosmetic improvements to header comments.
3006 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
3008 Various changes to gdb.t31:
3010 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
3011 * gdbme.ch: Make all key-words and predefineds be upper-case.
3012 * chillvars.exp: Expect key-words and predefinds in upper-case.
3014 * chillvars.exp: Use gdb_test_exact many places.
3015 Change expected output for arrays (which now includes index labels).
3017 * pr-5020.exp, gdme.ch (module PR_5020):
3018 New test, for PR-5020.
3020 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
3022 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
3023 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
3025 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
3027 * Makefile.in: Fix bit-rot in definitions of CHILL,
3028 CHILL_FOR_TARGET and Chill_LIB.
3029 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
3030 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
3031 CHILL, and CHILL_LIB.
3033 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
3035 * Revert the previous changes. Please see Rob's directory
3036 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
3038 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
3040 * Makefile.in, configure.in, config/mips-gdb.exp,
3041 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
3042 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
3043 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
3044 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
3045 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
3046 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
3047 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
3048 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
3049 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
3050 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
3051 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
3052 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
3053 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
3054 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
3055 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
3058 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
3060 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
3061 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
3062 Rob's new testing fragments.
3064 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
3066 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
3067 lib/gdb.exp: Replace error proc calls with perror.
3069 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3071 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
3072 version also, match on casted version strings, and match on
3073 gdb startup case where the line numbers might be messed up.
3075 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
3077 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
3078 (CFLAGS): Delete it from here.
3080 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
3082 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
3084 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
3086 * Makefile.in (RUNTEST): Default to just "runtest".
3088 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3090 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
3091 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
3092 the code has been restructured.
3094 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3096 * gdb.t00/default.exp (set write): Allow any number of \r and/or
3097 \n, not just one of each.
3099 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
3100 /bin/cc gives a warning if you do.
3102 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
3104 * gdb.t24/demangle.exp: change expect pattern of
3105 __t10ListS_link1ZUiRCUiPT0
3107 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3109 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
3110 on local variables in recursive functions.
3112 * gdb.t07/Makefile.in: Build the new test.
3114 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3116 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
3117 directly. Instead compare the return values from actual calls.
3119 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
3121 * Makefile.in (check): Set TCL_LIBRARY for runtest.
3123 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3125 * From Peter Schauer with minor modifications.
3126 * gdb.t15/return.exp (return_tests): Handle targets where "return"
3127 stops in mid-line in the caller. Add xfail for returning a float
3128 value on X86 targets.
3130 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3132 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
3133 to avoid expect lossage.
3134 (fmem_LRbug_tests): Likewise.
3135 * gdb.disasm/hppa.s: Corresponding changes.
3137 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
3138 conditions to work with latest dejagnu/expect.
3140 * gdb.t15/funcargs.exp (finish from indirect call): No longer
3141 expected to fail on the PA.
3142 (backtrace in call with trampolines): Explicitly require main
3143 to be frame #1 (no trampolines should show up in backtrace).
3145 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
3147 * gdb.t06/break.exp: Likewise.
3148 * gdb.t07/watchpoint.exp: Likewise.
3149 * gdb.t13/bitfields.exp: Likewise.
3150 * gdb.t15/{funcargs,return}.exp: Likewise.
3151 * gdb.stabs/weird.exp: Likewise.
3152 * config/{mips,udi}-gdb.exp: Likewise.
3154 * hppa.sed: Enclose comments within a sed command to avoid
3155 losing with the old OSF1 sed.
3157 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3159 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
3161 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
3162 * gdb.t15/funcargs.exp: Conditionally step again to really
3163 finish from marker_call_with_trampolines. Handle the case where
3164 the first step from within call_with_trampolines already steps
3166 * gdb.t15/gdbme.c: Add comment to closing brace of
3167 call_with_trampolines for funcargs.exp.
3169 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3171 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3174 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3176 * gdb.t07/gdbme.c: More code for watchpoint testing.
3178 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
3179 "Hardware watchpoint" throughout file.
3180 (test_watchpoint_triggered_in_syscall): New test.
3181 (test_complex_watchpoint): New test.
3183 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3185 * gdbme.c (call_with_trampolines): New function to try and step
3186 into. Tests trampoline problems on the PA.
3188 * funcargs.exp (localvars_in_indirect_call): No longer expect
3189 stepping into indirect call to fail on PAs.
3190 (test_stepping_over_trampolines): New test.
3192 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3194 * TODO: Add suggestions for static member function tests, and
3197 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3199 * TODO: Add suggestions for "p/a" tests.
3201 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
3202 (default_gdb_exit): Replace all the hair with sending "quit" to
3203 the process with a simple close.
3205 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3207 * TODO: Add suggestions for shared library tests.
3209 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3211 * TODO: Add suggestions for x/s tests.
3213 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3215 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
3216 "enable once", and "enable breakpoints once" with ".*".
3218 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3220 * TODO: Add suggestions about structure passing tests.
3222 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3224 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
3225 the primary1 test, use work around if __GNUC__ < 2.
3226 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
3227 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
3228 Test for bad output rather than waiting for timeout. Issue
3229 second continue only if first continue failed.
3231 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3233 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
3234 operator[] test with gdb_test because the old code didn't seem to
3235 be getting the quoting right with the new dejagnu.
3237 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
3239 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
3241 * Makefile.in: Use a fresh expect if there is one, use runtest
3242 from the src tree if there is one.
3244 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3246 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
3247 next over recursive call. Revise the tests from that point on
3248 (which had been skipped) to match GDB's actual (correct) output.
3250 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
3251 with next over a breakpoint whose condition is false.
3253 * gdb.t00/help.exp: Comment out "help set print" tests just like
3254 (and for same reason as) "help set" test.
3256 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3258 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
3259 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
3261 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3263 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
3264 necessary gdb_target_udi.
3266 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
3268 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
3269 1838 and 2417; they are fixed.
3271 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
3272 gdb.t03/ptype.exp (ptype structure, ptype union):
3273 Remove xfails; the test is looser than when the xfails were added.
3275 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
3276 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
3278 * gdb.t01/run.exp: Only run shell test if isnative.
3280 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
3281 since "run" automatically loads if necessary. Call gdb_target_udi
3282 after the "file" since "file" kills any execution target.
3284 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
3285 GDB. GDB doesn't work that way (not anymore at least) on UDI.
3286 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
3289 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3291 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
3293 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
3295 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3297 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
3298 properly quoting regexps. This makes the second argument to
3299 demangle a fixed string, which matches the callers, instead of a
3300 shell-style pattern which is what the previous implementation
3301 used. Update some of the callers.
3303 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3305 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
3306 (comib_nullified_tests): Fix typo.
3307 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
3308 strings. No longer expected to fail.
3310 * gdb.disasm/hppa.s (addib_tests): Fix typo.
3311 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
3312 strings. No longer expected to fail.
3314 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
3315 string. No longer expected to fail.
3317 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3319 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
3320 No longer expected to fail.
3322 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
3323 string. No longer expected to fail.
3325 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3327 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
3328 only in the names (I probably got most of them). I was even
3329 generous with some which differed in underscores in names, and
3330 probably missed a few, and I *still* was able to remove almost a
3331 third of the file with almost no impact on testsuite coverage.
3333 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3335 * gdb.t00/default.exp: Match udi_attach error message as well as
3336 the one from child_attach.
3338 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
3340 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
3342 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
3343 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
3345 * Move test with enums and partial symbols back to
3346 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
3347 Reverts the change of 26 May 93. Per today's change to
3348 stabs.texinfo, the behavior that weird.exp was expecting was
3349 unreasonable; what is important is that the compiler+gdb get
3350 things right, which happens with a recent gcc. Also fix the test
3351 to deal with native compilers which put out the stab gdb can't
3354 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3356 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
3357 in the names. The main thing these accomplish is to slow things down.
3358 Many more such duplicates surely remain.
3360 * gdb.t00/help.exp: Comment out "help support" test just like
3361 (and for same reason as) "help set" test.
3363 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
3365 * gdb.t06/break.exp: Remove setup_xfails for
3366 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
3367 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
3368 about known bug in gcc to include up through 2.5.8.
3369 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
3371 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
3372 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
3373 with latest gcc and gdb.
3374 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
3377 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3379 * configure.in (hppa*-*-*): Also configure and build stabs-only
3382 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3384 * gdb.t10/hppa.mt: A makefile fragment for the PA.
3385 * gdb.t10/configure.in (hppa*-*-*): Use it.
3387 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3389 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
3391 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3393 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
3394 versions prior to 1.13.5.
3396 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3398 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
3399 the prompt is at the start of a line.
3401 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3403 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
3404 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
3405 in the copr tests now.
3406 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
3407 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
3410 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
3412 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
3413 gdb.t31/chillvars.exp, lib/gdb.exp:
3414 Tweak to run under either version of expect.
3415 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
3416 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
3417 * gdb.t11/list.exp: Remove extraneous whitespace.
3419 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3421 * gdb.t16/printcmds.exp (test_print_strings): Accept
3422 "(unsigned char *) " before the string.
3424 * TODO: Add notes about printing of fancy types and GDB expressions.
3426 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
3428 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
3429 * gdb.t06/configure.in: Don't try to compile signals test program
3430 if doing mips-idt-ecoff.
3432 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
3434 * Most .exp files: Tweak to run under either version of expect.
3436 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3438 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
3439 xfails; I'm not sure why they are failing, but not because of PR 1806.
3441 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
3443 * config/unix-gdb.exp: Remove gdb_unload cause it's already
3444 defined in lib/gdb.exp.
3446 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3448 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
3449 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
3450 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
3451 have to be typeless.
3453 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3455 * TODO: Add suggestion for copyright year test.
3457 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
3459 * configure.in (*-*-lynxos*): Add stabs tests.
3461 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3463 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
3464 so insert a tab before any assembler directive in column zero.
3466 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
3468 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
3470 (fpu_short_memory_tests): Likewise.
3472 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3474 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
3475 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
3476 .stabs directives in comments.
3478 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3480 * TODO: New file, describing tests we could write.
3481 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
3483 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3485 * gdb.t06/signals.exp: Add kludge to force re-sync.
3487 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
3488 to xgdb instead of gdb, get out of gdb.
3490 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
3492 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
3495 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3497 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
3498 * gdb.stabs/configure.in (hppa*-*-*): Use it.
3499 * gdb.stabs/hppa.sed: New sed script for the PA.
3501 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3503 * gdb.stabs: Re-write weird.def and configuration to use sed
3504 instead of cpp. sed is portable and POSIX; cpp is neither.
3506 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3508 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
3510 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3512 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
3514 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3516 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
3518 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
3519 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
3521 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3523 * lib/gdb.exp: Comment out code which depends on non-existent
3524 `transform' procedure.
3526 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
3528 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
3529 * lib/gdb.exp: Transform tool name.
3530 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
3531 1.1's new error handling system.
3533 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3535 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
3537 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3539 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
3540 They made pattern matching so slow that timeouts happened on
3541 heavily loaded systems. Now any output from "show print" which
3542 gets us back to the GDB prompt is a PASS.
3544 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
3546 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
3548 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3550 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
3552 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
3553 It is not from PR 3220.
3555 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3557 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
3558 just started failing because they depended on the order the
3559 subcommands are presented, or exact docstring text. This kind of
3560 test is a pain and has minimal benefit.
3562 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3564 * gdb.t09/corefile.exp: At end of test, use "core" command with
3567 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
3569 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
3570 17}/Makefile.in: Make it possible to run the testsuite with Sun
3571 make and CC = cross gcc by adding explicit build rules for .o
3574 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3576 * gdb.t15/funcargs.exp: Don't put comments on same line as
3577 setup_xfail (@#$*%& tcl braindamage!).
3579 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3581 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
3583 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
3585 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
3586 * gdb.t20/inherit.exp: remove three dumplicate entries.
3588 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3590 * gdb.t06/break.exp: For "next over recursive call", fail on any
3591 incorrect output, not just on "factorial (value=2)".
3593 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3595 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
3596 working now. Add an xfail if accesing a bss variable causes
3597 a memory error if the target is not yet run.
3599 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3601 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
3602 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
3603 name of __st* demangling (2 strings). Did Kung really get the
3604 more than 95 others right without testing them?
3606 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
3608 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
3610 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
3612 * configure.in (configdirs): Add gdb.disasm
3613 * gdb.disasm: New directory for GDB disassembler tests.
3614 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
3616 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3618 * gdb.t00/help.exp: Don't test "help set".
3620 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
3621 from within expect statements. None of these happen anymore and
3622 they cause regressions to be silently unnoticed.
3624 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
3625 messages) about known failures with gcc cygnus-2.4.5-930417.
3627 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
3628 comp-info.exp so it gets built if it doesn't exist.
3630 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
3631 it is no longer used.
3632 * gdb.t13/comp-info.c: Removed.
3634 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3636 * gdb.t06/signals.exp: Add xfail for sun3.
3638 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3640 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
3641 relevant because ^C doesn't get sent but failure can be reproduced
3644 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3646 * gdb.stabs/alpha.mt: New configuration file for alpha.
3647 * gdb.stabs/configure.in: Use it.
3648 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
3649 sharing with alpha.mt, redefine long to word via preprocessor.
3650 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
3652 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
3654 * gdb.t00/teststrategy.exp: Change expect string so that we
3655 consume the `(xgdb)' from the command echo and from the gdb prompt.
3656 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
3657 gdb currently compares all values as long, so this failure probably
3658 applies to any configuration where LONGEST is bigger than a target int.
3659 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
3661 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
3662 to handle opaque pointers, gcc is.
3663 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
3664 as first argument. Include <sys/types.h> and change all operator
3665 new definitions to use size_t.
3666 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
3667 now that we use size_t.
3669 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3671 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
3672 a long or float array cast all array members to the same type.
3673 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
3675 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
3677 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
3679 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3681 * gdb.t24 (demangle.exp): Constructors of templates have names like
3682 vector<int>::vector(int) not vector<int>::vector<int>(int). See
3683 section 14.6 of the ARM.
3685 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
3686 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
3687 accomplish little and slow down the testsuite.
3689 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
3690 Accept spaces various places.
3692 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3694 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
3695 with watchpoint enabled.
3697 * Makefile.in: Remove definition of CC and remove the second
3698 definition of CXX (the "CXX = gcc" one remains). These definitions
3699 were causing backquotes to be expanded within backquotes, which
3702 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
3704 * gdb.t17/callfuncs.exp: Add "return 0" to end.
3706 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3708 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
3709 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
3710 by mips cc and contains no stabs entries.
3712 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
3714 * config/vx-gdb.exp: Use fake device to load files rather than
3716 * lib/gdb.exp: New proc to do "file" command.
3717 * config/unix-gdb.exp: Use new "file" proc.
3719 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3721 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
3722 Rework board rebooting slightly.
3723 (gdb_exit): Don't exit from the remote shell; there isn't one.
3724 * gdb.stabs/weird.exp: If a program is being debugged already,
3726 * gdb.t04/setvar.exp: Stop and restart gdb.
3727 * gdb.t05/expr.exp: Likewise.
3728 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
3729 restart gdb and reload the program.
3730 * gdb.t08/opaque.exp: Likewise.
3731 * gdb.t12/scope.exp: Likewise.
3732 * gdb.t13/bitfields.exp: Likewise.
3733 * gdb.t15/funcargs.exp: Likewise.
3734 * gdb.t20/classes.exp: Likewise.
3735 * gdb.t03/ptype.exp: Increase timeout.
3736 * gdb.t16/printcmds.exp (test_print_string_constants,
3737 test_print_array_constants): Likewise.
3738 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
3739 * gdb.t20/classes.exp (do_tests): Likewise.
3740 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
3742 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
3744 * gdb.stabs: Renamed *wierd* to *weird*.
3746 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3748 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
3749 for timeout. Add "known gcc 2.4.5 bug" to failure message.
3751 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3753 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
3754 (do_tests): Remove xfail for whatis on one_var and two_var.
3756 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
3758 * Makefile.in: Made cross building work better by adding
3759 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
3761 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3763 * gdb.t15/{return.c,return.exp,Makefile.in}:
3764 New test, currently commented out.
3766 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
3768 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
3769 still running and removes the leftover named socket so GDb can do
3772 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
3774 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
3776 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
3777 cross testing works better with "make check"
3778 * config/unix-gdb: Use default procedures for exit and version.
3779 * config/vx-gdb.exp: Cleaned up and massaged back to working order
3780 with the newest VxWorks.
3782 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3784 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
3787 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
3788 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
3790 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
3792 * config/unix-gdb.exp: Remove this version of gdb_exit
3793 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
3794 Rob says he'll look at it when he gets back to testing boards.
3796 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
3798 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
3799 an expected fail for certain ptype commands.
3801 * gdb.t20/classes.exp: Update expected results of "ptype class
3802 Base1" to account for the constructor that now appears in the type.
3804 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
3806 * configure.in (configdirs): Restore gdb.t04, which mysteriously
3807 disappeared from list.
3808 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
3809 "alldone" proc with call to cleanup and exit.
3810 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
3811 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
3812 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
3813 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
3814 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
3815 "alldone" proc with simple returns that suppress remaining
3816 tests. The alldone proc went away many months ago.
3818 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3820 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
3822 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
3824 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3826 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
3827 as vax gdb will display them.
3829 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3831 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
3834 * scope.exp: Change "bad value for localval" messages so each one
3837 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
3838 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
3840 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
3842 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3844 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
3845 doesn't exist (due to optimization).
3847 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3849 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
3850 contains \r because the filename is long.
3852 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
3853 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
3855 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3857 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
3858 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
3860 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
3862 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
3864 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
3866 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
3868 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
3869 to match does not match the passing case but still matches the
3872 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3874 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
3876 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
3878 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
3879 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
3880 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
3881 Remove various versions of gdb_exit.
3882 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
3884 * config/unix-gdb.exp: gdb_exit remains here, and should override
3885 the generic version, since it's doing a lot of wierd stuff that
3886 the other versions aren't. FIXME, fold it in, or abandon this
3889 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3891 * gdb.t24/demangle.exp: Add tests for PR 3220.
3893 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3895 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
3897 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
3899 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
3900 "i386-*-*". Works for i486 as well.
3902 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
3903 bug, and expand domain of xfail to all SVR4 systems, since the
3904 actual problem is likely to be in generic SVR4 /proc support.
3906 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3908 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
3910 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
3912 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
3913 xfails for other systems. Match a missing 'Continuing.' as an
3914 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
3916 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
3917 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
3918 Only issue warning for missing executables if -all option is used.
3920 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
3921 file if -all option is used. It's like an unpredictable XFAIL.
3923 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3925 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
3926 for dynamically linked binaries.
3928 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
3930 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3932 * gdb.t20/inherit.exp: Change message for "print tagless struct"
3933 to state that this is a known bug in old versions of g++.
3935 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3937 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
3938 while waiting for `Continuing'.
3940 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
3942 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
3943 in text, data, and bss.
3944 * gdb.t10/nodebug.c: Add local and global test variables for
3945 initialized and uninitialized data.
3947 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3949 * config/unix-gdb.exp (gdb_exit): Add "wait".
3951 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3953 * gdb.t06/signals.exp: xfail the continue from the handler for all
3956 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
3957 function with watchpoints enabled, the i386 call dummy starts with
3960 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
3961 386 bsd names its corefiles.
3963 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
3965 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
3966 compilers don't grok it.
3967 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
3968 with small octal ints rather than character constants, which
3969 are signed and might not fit if first promoted to int.
3971 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
3973 * gdb.t09/Makefile.in (clean): Remove corefile.
3975 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3977 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
3979 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3980 and Jim Kingdon (kingdon@cygnus.com)
3982 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
3983 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
3984 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
3986 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3988 * gdb.t17/interrupt.exp: Add xfail for hppa.
3990 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3992 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
3993 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
3994 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
3995 to determine signed-ness of bitfields and use the result to setup
3997 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
3998 * gdb.t15/funcargs.exp: Use them to step until the second indirect
3999 call line is reached if necessary.
4001 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4003 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
4005 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4007 * gdb.t06/break.exp: Also test `clear' command.
4009 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4011 * gdb.t00/teststrategy.exp: Remove extra quote.
4013 * gdb.t07/watchpoint.exp: Change xfail for calling function with
4014 watchpoint enabled to be for all non-68k machines.
4016 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
4018 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4020 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
4021 targets use aout.mt instead of ecoff.mt as gas understands
4022 standard aout format.
4024 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4026 * lib/gdb.exp (runto): Don't insist that function we are running to
4027 was compiled with -g.
4029 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
4031 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
4032 to get back into the read system call.
4033 Accept leading newline in case where we woke it up.
4035 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4037 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
4038 to make the stabs test work on ecoff systems using gcc and -with-stabs.
4039 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
4040 enable ecoff configuration.
4042 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4044 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
4046 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4048 * gdb.t16/printcmds.exp: Add another printf test.
4050 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
4052 * configure.in: If configured -with-stabs on any target, add
4053 stabsdirs to configdirs.
4055 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4057 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
4058 fun" so pattern does not match the command itself.
4060 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4062 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
4064 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4066 * gdb.t17/interrupt.exp: Test for more things.
4068 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4070 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
4071 compiler arranges the code and line numbers.
4073 * gdb.t17/interrupt.exp: Don't send \n after ^C.
4075 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4077 * gdb.t00/help.exp: Increase expect input buffer size.
4079 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4081 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
4083 * gdb.t07/watchpoint.exp: Add xfail for hppa.
4085 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
4087 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
4088 [0-9]*, not just [0-9].
4090 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4092 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
4094 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
4096 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4098 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
4100 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4102 * gdb.t06/signals.c: Add xfails for sun3.
4104 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
4106 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
4107 test_stepping tests.
4109 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4111 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
4113 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
4115 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
4116 rather than actually putting it through cpp twice.
4118 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
4120 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
4122 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
4125 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4127 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
4129 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
4130 C++ features prints as "struct", make it a pass, not an xfail.
4132 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4134 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
4135 Don't require VA to print as "class" rather than "struct".
4137 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
4139 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
4141 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4143 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
4145 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4147 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
4150 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4152 * gdb.t16/printcmds.exp: Add printf tests.
4154 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
4156 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
4158 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
4160 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
4161 pass counts, to counteract any existing or future setup_xfails.
4163 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4165 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
4166 {BEGIN,END}_COMMON for common block instead of STAB.
4167 * gdb.stabs/wierd.exp: Add xfail for rs6000.
4169 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
4170 intp_var should be N_GSYM not N_LSYM.
4171 wierd-aout.S: Use a label for the value of the N_SO.
4172 wierd.def: Remove all backslashes.
4173 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
4175 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4177 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
4178 get the expected next to inheritance3.
4180 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4182 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
4183 now that gcc-2.4 gets it right.
4185 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4187 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
4189 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
4190 generating comp-info.exp which works for cross-compilation.
4192 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
4194 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
4197 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
4199 * gdb.t01/run.exp: Start with a fresh gdb.
4200 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
4203 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
4205 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
4206 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
4207 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
4208 Makefile.in (distclean, realclean): Remove gdbme.c from list of
4211 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
4213 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
4214 test cases from bug reports.
4216 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
4218 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
4219 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
4220 avoid spurious xfails.
4221 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
4222 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
4223 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
4225 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
4227 * gdb.t00/teststrategy.exp: Rework to provide more useful
4228 description of each test, fix problem with systems that define
4229 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
4230 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
4231 results for "next over recursive call" so timeouts aren't taken
4234 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
4236 * gdb.t12/scope.exp: Test printing of variables before run.
4238 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
4239 printed in wrong order due to sorting.
4241 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
4243 * gdb.t00/teststrategy.exp: Fix expected results for printing
4244 user entered string constant. Is array of char, prints with no
4247 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
4249 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
4250 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
4251 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
4252 of struct of char arrays.
4253 * gdb.t00/radix.exp: New tests for radix commands.
4255 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
4257 * gdb.t16/printcmd.exp: Print a variable before running program
4258 (with xfail for AIX).
4260 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
4262 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
4264 * gdb.t16/printcmd.exp: Don't print variables before running program.
4266 * gdb.t06/break.exp: Don't require envp argument to main.
4268 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
4270 * gdb.t02/whatis.exp, gdb.t11/list.exp:
4271 Add xfails for rs6000.
4273 * gdb.t02/whatis.exp: Change other tests not to re-test something
4276 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
4277 each type used has a variable of that type.
4279 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
4281 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
4283 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4285 * configure.in: change srctrigger to be a file, not a directory
4287 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
4289 * configure.in (mips-idt-ecoff*): Added trailing '*'.
4291 * gdb.t11/list.exp: Fixed a couple of typos.
4293 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
4295 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
4296 is fixed and PR is closed.
4297 * gdb.t16 (gdbme.c): Add simple test string variable.
4298 * gdb.t16 (printcmds.exp): Add tests with simple test string
4299 variable, primarily for boundaries on "set print elements".
4301 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
4303 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
4304 Make leading 0's optional and don't expect a tab in the middle
4307 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
4309 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
4310 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
4311 don't end command passed to gdb_test with newline.
4313 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
4314 signed keyword away, don't expect signed bitfields to be signed.
4316 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
4317 printing with only as many 1's as are in the field as well as printing
4318 with 32 1's (see comment).
4320 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
4322 * gdb.t00/default.exp: Start with a fresh gdb.
4323 * configure.in (configdirs): Remove gdb.t31 until the chill
4324 compiler works again. It no longer is able to find chillrt0
4325 since it isn't in libchill.a anymore.
4326 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
4327 wierd.o, make more modular.
4328 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
4329 spurious newlines that caused problems.
4331 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4333 * Move test with enums and partial symbols from gdb.t03/ptype.exp
4334 to gdb.stabs/wierd.exp since GCC has worked around the bug.
4335 gdb.stabs/wierd.{exp,def}: Many new tests.
4337 * gdb.t00/default.exp: update info line for new message.
4339 * gdb.t02/{whatis.exp,gdbme.c}:
4340 Test that "char *" doesn't print as "caddr_t".
4342 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4344 * gdb.t00/help.exp: Use .* in place of some help messages which
4346 gdb.t00/default.exp: Update "info frame" test for new message.
4347 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
4350 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4352 * gdb.t03/{gdbme.c,ptype.exp}:
4353 Add tests for typedef'd struct and union without tags.
4354 Also check "whatis" on a variable of a typedef'd enum without a tag.
4356 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
4357 PRMS 1823; the bug still exists but isn't reproduced by this test
4358 anymore), and remove rs6000 XFAIL (the bug is fixed).
4360 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
4361 duplicated from whatis.exp. For those that are left, accept
4362 "long", "long int", or "int" for long variables (whatis.exp already
4363 has an XFAIL for "int", so no need to fail it here).
4365 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
4366 Deal with GCC's names for types now that GDB uses the compiler's names.
4368 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
4369 setup_xfail's for sunos4. If we #defined the signed keyword away,
4370 don't expect GDB to know that char it is signed.
4372 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
4374 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
4376 * configure.in (configdirs): Add gdb.t24 for C++ tests that
4377 should work on any system, regardless of debugging format.
4378 * gdb.t21/demangle.exp: Move to gdb.t24.
4379 * gdb.t24/demangle.exp: Move from gdb.t21.
4380 * gdb.t24/{Makefile.in, configure.in}: New files.
4382 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4384 * configure.in: Do gdb.stabs and C++ tests only for stabs.
4385 * gdb.stabs: New directory.
4387 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4389 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
4390 not just "Quit anyway?".
4392 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
4394 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
4395 that all setup_xfails are immediately followed by clear_xfails.
4397 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
4399 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
4400 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
4401 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
4402 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
4403 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
4404 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4405 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4406 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
4407 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
4408 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
4409 gdb.t31/chillvars.exp, lib/gdb.exp:
4410 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
4411 bug-gdb@prep.ai.mit.edu.
4413 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
4415 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
4416 with 0.0, not integer 0.
4418 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
4420 * gdb.t06/break.exp: Update for "Kill the program" message change.
4422 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
4424 * Makefile.in (GDBFLAGS): Set to -nx.
4425 * Makefile.in (site.exp): Use GDBFLAGS.
4427 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4429 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
4431 (check): depend on just-check.
4432 (just-check): added so that tests can be run without a noop
4435 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4437 Switch to using configure's configdirs.
4438 * Makefile.in (Makefile): add configure.in dependency.
4439 (SUBDIRS): removed redundant assignment.
4440 * configure.in: switch subdirs assignment to configdirs.
4441 * gdb.t*/configure.in: new files.
4443 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
4445 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
4448 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
4450 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
4451 in explicit rules. Apparently this is not supported by some makes.
4453 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
4455 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
4457 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4459 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
4462 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
4464 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
4466 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
4468 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
4469 watchpoint problem that is now fixed.
4470 * gdb.t30/chexp.exp: Remove setup_xfail for printing
4471 uninitialized convenience variables.
4472 * gdb.t31/chillvars.exp: Fix expected patterns for printing
4475 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4477 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
4478 which causes expect to get out of sync with gdb on long output
4480 * gdb.t09/corefile.exp: Make expected pattern for core file
4481 failing signal and frame output format less sun specific.
4483 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
4485 * gdb.t31/chillvars.exp: Add and remove initial dummy
4486 breakpoint, so that symbol table is forced in.
4487 (Needed at least on Sunos4, though it seems not SVR4.)
4488 * gdb.t31/chillvars.exp: Update for changed output format.
4490 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
4492 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
4494 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
4496 * Makefile.in: Added --srcdir when invoking runtest, removed the
4497 need for a local config file. (optional now)
4499 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
4501 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
4502 failure count used to force early termination. Add some more
4503 expected failures for gnu style demangling.
4505 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4507 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
4508 pmi variable from gdb.t20/gdbme to get optimized away.
4509 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
4510 Check for written corefile upon timeout _and_ eof.
4512 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4514 * config/unix-gdb.exp: Add missing return 0.
4516 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4518 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
4521 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
4523 * configure.in (subdirs): Put back gdb.t17 which mysteriously
4526 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
4528 * gdb.t10/crossload.exp: Disable the i860-elf test until such
4529 time as i860 support works.
4531 * gdb.t15/funcargs.exp: Fix expected outputs to include
4532 "backtrace 100\r" rather than just "backtrace\r", to match last
4535 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
4537 * config/udi-gdb.exp (gdb_exit): Remove close command.
4538 (gdb_target_udi): New procedure to set the UDI target.
4539 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
4540 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
4541 Added waits for prompts after several question responses. Added
4542 some more responses used by a29k-amd-udi-gdb.
4543 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
4544 pass different arguments, restart UDI connection after program
4546 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
4547 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4548 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
4549 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
4550 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
4551 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
4552 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4553 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
4554 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
4555 after program completion.
4556 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
4557 compiled with a SELECT_VECS setting.
4558 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
4561 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
4562 Added checks for COFF results, and made them expected failures for
4563 all targets. It would be better to make them expected failures
4564 for COFF targets only.
4566 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
4568 * Makefile.in: add null dvi target, don't bother to recurse
4569 through test directories for info and install-info; rename
4570 $(datadir) to be dejagnu instead of deja-gnu
4572 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
4574 * gdb.t31/gdbme.ch: Re-enable code that previously caused
4575 compiler to coredump.
4576 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
4579 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
4581 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
4583 * gdb.t31/chillvars.exp: Comment out tests that depend on that
4586 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
4588 * gdb.t03/ptype.exp: tests for return code from gdb_test.
4589 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
4590 which in a shell. Deletes xgdb when done.
4591 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
4592 Tests the return from the "set height" or "set width" commands.
4593 Added a few return codes where needed.
4595 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
4597 * Makefile.in (SUBDIRS): Add gdb.t17.
4598 * configure.in (subdirs): Add gdb.t17.
4599 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
4600 files to test gdb's calling of functions in the inferior with
4601 the correct arguments and gdb's ability to retrieve any
4604 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
4606 * config/unix-gdb.exp (gdb_exit): Remove close commands that
4607 may be called after gdb goes away. Previous versions of expect
4608 needed these to avoid file descriptor leaks, but they cause
4609 errors with the current revision of expect.
4610 * gdb.t00/gdbvars.exp: Use -re on expected output after
4611 setting sevenbit-strings.
4612 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
4613 to set sevenbit-strings consistent across tests.
4614 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
4615 set sevenbit-strings consistent across tests.
4617 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
4619 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
4620 expected output to match current "expect" expectations.
4622 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
4624 * gdb.t00/default.exp: Change expected output for default "source"
4625 command, to match new gdb behavior which requires a filename to
4628 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
4630 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
4631 expected fail for i486-*-* that misses the marker2 function.
4632 * gdb.t10/crossload.exp (bfddefault): Allow successful
4633 recognition of a format to pass even if no symbols are found.
4634 Explicitly catch failures where the format is not recognized
4635 or is ambiguous, and add the reason to the fail message.
4636 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
4637 the cause is and invalid target and add reason to failure message.
4638 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
4639 elf32-i386, elf32-sparc, and elf32-i860.
4640 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
4641 Set up expected failure for 'filename'::variable scope resolution,
4642 which is now apparently broken on all targets.
4643 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
4644 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
4645 gdb.t23/templates.exp: Change failure for missing binfile into
4647 gdb.t21/demangle.exp: Change all cfront references to 'arm'
4650 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
4652 * gdb.t00/default.exp: Add expected output for default "source"
4653 command, to match new gdb behavior.
4654 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
4656 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
4658 * config/*-gdb.exp: returns an error, rather than exiting on
4661 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
4663 * gdb.t03/gdbme.c: Add pointer to struct variable.
4664 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
4665 referencing struct members.
4667 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
4669 * configure.in (mips-idt-ecoff): New target.
4670 * config/mips-gdb.exp: New file for remote board using MIPS remote
4673 * Redid configuration scheme. Removed gdb.t*/configure.in.
4674 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
4675 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
4676 distclean targets. Built executables via .o files. Adjusted
4677 tests to account for source files in $(srcdir) rather than
4679 * lib/gdb.exp (runto): Don't expect () after the function name,
4680 because it may have arguments.
4682 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
4684 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
4685 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
4686 expected failures for mips-idt-* and mips-sgi-*.
4687 * gdb.t00/default.exp (attach): Kill process if requested.
4688 * gdb.t00/help.exp (help target core, help target): Accept a gdb
4689 that does not read core files.
4690 * gdb.t01/run.exp: Removed checks for exit status code.
4691 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
4693 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
4694 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
4695 appropriate, rather than doing it by hand.
4696 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
4698 * gdb.t10/crossload.exp: Kill existing program if needed.
4699 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
4700 appropriate, rather than doing it by hand. Always increase
4701 timeout for this test, not just for VxWorks.
4703 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
4705 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
4706 of Chill STRUCT types and STRUCT values.
4707 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
4709 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
4710 struct2): New struct definitions and initializations to test
4711 simple Chill STRUCT types.
4713 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
4715 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
4716 the null byte at the end of strings.
4717 * gdb.t00/default.exp: Make show version insensitive to copyright
4719 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
4720 to avoid dependencies on target char signedness.
4721 * gdb.t16/printcmds.exp: Update expected results for explicitly
4723 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
4725 * gdb.t21/demangle.exp: Add many more patterns for template
4726 demangling, most of them being expected failures.
4727 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
4728 string we are matching for, to match on the whole string.
4729 * gdb.t21/demangle.exp: Add many new test strings to demangle,
4730 and fix a whole bunch that had incorrect expected output but were
4731 passing anyway because of the bug in "proc demangle".
4732 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
4734 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
4736 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
4738 * gdb/testsuite: made modifications to testcases, etc., to allow
4739 them to work properly given the reorganization of deja-gnu and the
4740 relocation of the testcases from deja-gnu to a "tool" subdirectory.
4742 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
4744 * gdb/testsuite: Initial creation of gdb/testsuite.
4745 Migrated dejagnu testcases and support files for testing nm to
4746 gdb/testsuite from deja-gnu. These files were moved "as is"
4747 with no modifications. This migration is part of a major overhaul
4748 of dejagnu. The modifications to these testcases, etc., which
4749 will allow them to work with the new version of dejagnu will be
4750 made in a future update.
4756 version-control: never