3 * config/monitor.exp: Use gdb_serial in preference to serial
6 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
7 and it's not already set.
11 * gdb.base/setshow.exp: Only test the run command if the target
12 isn't using a stub and if it supports argument passing.
16 * config/udi.exp(gdb_start): Make sure UDICONF is set
17 properly before starting gdb.
21 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
23 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
27 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
28 specialized code to reboot the board, use remote_reboot instead.
30 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
32 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
34 * config/monitor.exp: Make sure we disconnect from the target.
35 Also, try a reboot/reload cycle instead of failing if the
40 * gdb.base/default.exp: Don't set match_max.
41 * gdb.base/help.exp: Ditto.
42 * gdb.base/list.exp: Ditto.
43 * gdb.base/signals.exp: Ditto.
45 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
46 set, use remote_ld to download the testcase instead of
51 * config/vr5000.exp: New file.
53 * config/monitor.exp(gdb_target_monitor): Add pattern for
54 "Ending remote" to detect errors in connecting.
56 * gdb.base/setshow.exp: Add .* within auto language test.
58 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
61 * config/monitor.exp(gdb_load): Check for a failure when loading,
62 and reboot the board if necessary.
64 * gdb.base/setvar.exp(test_set): Handle multiple prints within
65 a set of tests. Remove print.* from the patterns being checked.
69 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
70 refer to gdb_spawn_id.
72 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
74 * config/sparclet.exp: Ditto.
75 * config/sparclet-old.exp: Ditto.
76 * config/slite.exp: Ditto.
77 * config/sim.exp: Ditto.
78 * gdb.base/funcargs.exp: Ditto.
80 * lib/gdb.exp:Remove references to gdb_spawn_id.
81 (gdb_expect): Move to remote.exp.
85 * config/monitor.exp: Detect the "Couldn't establish connection"
90 * gdb.base/bitfields.exp: Use runto instead of explicit
91 gdb_run_cmd/gdb_expect sequences.
93 * gdb.base/break.exp(text_next_with_recursion): Add match for
96 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
97 We also need to handle the "A program is being debugged already"
98 prompt from gdb. Use gdb_test to set the baud rate.
100 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
101 to 20000. Really. I mean it.
105 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
106 fails. If suppress_flag is set, skip perror message about not
107 being able to send to GDB.
108 (send_gdb): If suppress_flag is set, don't try to send commands to
110 (gdb_expect): If suppress_flag is set, always fail immediately.
111 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
112 (gdb_init): Call gdb_stop_suppressing_tests.
113 (default_gdb_exit): Ditto.
114 (default_gdb_start): Ditto.
116 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
117 gdb_stop_suppressing_tests as appropriate.
118 * gdb.base/break.exp: Ditto.
119 * gdb.base/callfuncs.exp: Ditto.
120 * gdb.base/commands.exp: Ditto.
121 * gdb.base/exprs.exp: Ditto.
122 * gdb.base/funcargs.exp: Ditto.
123 * gdb.base/list.exp: Ditto.
124 * gdb.base/recurse.exp: Ditto.
125 * gdb.base/scope.exp: Ditto.
126 * gdb.base/structs.exp: Ditto.
127 * gdb.c++/inherit.exp: Ditto.
131 * config/vr4300.exp: New file.
133 * gdb.*/*.exp: Call gdb_expect instead of expect.
135 * lib/gdb.exp(gdb_expect): New function.
139 * lib/gdb.exp(gdb_init): New function.
141 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
142 for each individual variable set.
144 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
147 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
149 * gdb.base/scope.exp: Use gdb_test.
151 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
152 aborting; the testsuite driver will do that for us (see
153 gdb_finish). Also, use gdb_test in a few more places.
157 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
161 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
162 and "add_tests" are not at the same address.
166 * gdb.base/ptype.exp: Use gdb_test.
170 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
171 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
172 left in. No longer expect them to fail.
174 * gdb.stabs/*.mt; Deleted, no longer used.
175 * gdb.stabs/configure.in: Remove references to target makefile
177 * gdb.stabs/configure: Rebuilt.
179 * gdb.disasm/*.mt: Deleted, no longer used.
180 * gdb.disasm/configure.in: Remove references to target makefile
181 frags. Use "sh3.s" as the unique filename for this directory.
182 * gdb.disasm/configure: Rebuilt.
184 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
185 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
186 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
190 * config/udi.exp: Use mondfe,name instead of remote_host.
194 * gdb.base/watchpoint.exp: Don't expect a failure when calling
195 a function with a watchpoint enabled on the mn10200.
197 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
198 before trying to create it!
202 * config/vx.exp: Use hostname instead of netport.
204 * config/vxworks.exp: New file.
206 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
208 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
209 gdb before assuming everything worked. Send a ^C if a timeout
212 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
213 $gdb_spawn_id directly.
214 (gdb_run_cmd): Try _start as well as start. Use the target feature
215 gdb,start_symbol as the symbol to start from when jumping.
219 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
222 * gdb.base/recurse.exp: Relax final value test for 'b' so that
223 it doesn't lose for 16bit integer systems.
227 * gdb.fortran/types.exp: If the target doesn't support "double"
228 data types, then expect "real" types to only be 4 bytes.
230 * gdb.c++/virtfunc.exp: Expect failure for virtual function
231 call tests if the target doesn't support inferior function calls.
233 * gdb.base/printcmds.exp: Allow minor deviation in FP values
238 * gdb.base/help.exp: Disable "help set", "help show", and
239 "help support". Simplify regexp for "help stack".
241 * gdb.base/default.exp: Set match_max to 5000 and the timeout
242 to 60 seconds. Temporarily set match_max to 15000 around the
245 * gdb.base/nodebug.exp: Don't try to do an inferior function
246 call if the target doesn't support them.
247 * gdb.base/printcmds.exp: Likewise.
248 * gdb.base/setvar.exp: Likewise.
249 * gdb.base/structs.exp: Likewise.
250 * gdb.c++/templates.exp: Likewise.
251 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
253 * gdb.base/recurse.exp: Enable for the mn10200.
255 * configure.in: Do configure gdb.stabs directory for *-*-elf
257 * configure: Rebuilt.
259 * gdb.base/break.exp: Check for gdb,noresults before testing
260 exit status and/or results from the target.
261 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
262 * lib/gdb.exp: Remove old (now bogus) initialization of
263 noinferior, noargs, noresults and nosignals.
267 * config/sh.exp: New file.
269 * config/slite.exp: Try to connect multiple times to the board
270 before rebooting. Only send a "monitor run" if need_monitor_run
273 * gdb.base/break.exp: Don't do the "stub continue" test if
274 the target has gdb_stub set.
276 * gdb.base/callfuncs.exp: Increase the timeout.
278 * gdb.base/interrupt.exp: Don't even try to compile the testcase
279 if the target has gdb,noinferiorio set.
281 * gdb.base/list.exp: Increase match_max to 10000 characters.
283 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
285 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
288 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
292 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
293 trying to delete the copy of gdb. Catch the file delete so we
294 don't die if the delete fails; also, the file should be copied to
295 the host, not to the build.
299 * lib/gdb.exp(gdb_test): Surround the result pattern with
300 parenthesis in case it contains multiple regexps separated
303 * gdb.base/watchpoint.exp: Use gdb_test.
304 * gdb.base/default.exp: Ditto.
308 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
310 * gdb.base/scope.exp: Use gdb_test.
311 * gdb.c++/classes.exp: Ditto.
312 * gdb.c++/inherit.exp: Ditto.
316 * gdb.base/crossload.exp: Don't use execute_anywhere, use
318 * gdb.base/corefile.exp: Don't be ridiculous.
319 * gdb.base/*.c: Add missing stub invocations.
323 * config/slite.exp: Miscellaneous fixes.
325 * lib/gdb.exp: Fix runto.
327 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
330 * gdb.base/watchpoint.exp: Fix regexp.
332 * lib/gdb.exp(default_gdb_exit): Add a catch to the
333 close and wait commands, as the descriptor may now be
334 invalid. Always call "remote_close host".
338 Major rewrite for testsuite revision.
340 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
341 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
342 instead of relying on spawn_id to always contain a valid
344 (get_compiler_info): New procedure to build the ${binfile}.ci
345 file, instead of replicating this in N different places.
346 (gdb_compile): New procedure.
348 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
349 appropriate arguments) instead of compile. Use gdb_test in a lot
350 more places. Use send_gdb instead of send. Always run gdb_start
351 at the start of a testcase, as this is no longer done magically.
353 config/*-gdb.exp: Rename without the -gdb suffix.
355 config/mips.exp: Use remote_close instead of exit_remote_shell.
356 config/monitor.exp: Use target_info instead of looking at
358 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
362 * gdb.c++/templates.exp (test_ptype_of_templates),
363 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
364 Update expect patterns for destructors and assignment operators
365 to match corresponding c-typeprint.c changes.
366 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
367 to destructor breakpoint test, GDB should be able to set the
368 destructor breakpoint without specifying arguments.
372 * gdb.threads/pthreads.exp: Change result for failure to compile due
373 to lack of pthreads runtime support from an error to simply an
374 unsupported test, per dejagnu standards.
378 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
379 where GDB exits to reduce pattern match time.
380 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
382 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
386 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
387 * gdb.base/default.exp: ditto.
388 * gdb.base/nodebug.exp: ditto.
389 * gdb.base/printcmds.exp: ditto.
390 * gdb.base/ptype.exp: ditto.
391 * gdb.base/setvar.exp: ditto.
392 * gdb.base/structs.exp: ditto.
393 * gdb.base/setshow.c: Guard against uninitialized values of argc.
397 * configure, */configure: Rebuild with autoconf 2.12.
401 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
402 use new i*86-pc-linux*-gnu quads.
403 * gdb.base/corefile.exp: Ditto.
404 * gdb.base/signals.exp: Ditto.
405 * gdb.base/sigall.exp: Ditto.
406 * gdb.base/interrupt.exp: Ditto.
408 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
409 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
412 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
413 linux. This allows the test case to at least compile on latest
414 linux, but still not run due to missing the threads runtime library.
418 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
419 directory to search gdb directory. Accept and step over conditional
420 stack alignment code. Consume $prompt in failure cases.
421 Reset timeout to $oldtimeout instead of some arbitrary value.
422 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
423 timeout problems with infinite stack backtraces.
424 * gdb.base/ptype.exp (ptype struct link, union tu_link):
425 Accept function parameters for linkfunc member.
429 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
430 (CXXFLAGS): Remove, unreferenced.
431 (B_OPTIONS): Add for -B options and add code to initialize with
432 previous -B options and also add -B option to pick up cross compiled
434 (TARGET_INCLUDES): Add for -I options and add code to initialize when
435 doing cross compiles.
436 (target_alias): Declare global.
437 (xgcc): Set variable to full path of gcc in build tree. Use findfile
438 to verify that gcc exists in build tree, and if so set CC to that
439 gcc and to use B_OPTIONS and TARGET_INCLUDES.
443 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
444 ptype test for anonymous union. Fixup testcase to match
445 current gcc debug output.
449 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
450 force argument to an unsigned long type.
454 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
455 tests and anonymous union print/ptype tests.
456 * gdb.base/list.exp (test_forward-search): Increase timeout by
457 5 minutes for the "search extremely long line" case.
458 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
459 completely optional and that the pass/fail messages use the command as
460 the message if that third arg is a null string.
461 (gdb_test_exact): Arrange that a null string pattern means match a
462 null string output rather than any output, which might include random
464 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
466 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
467 always failing and failure is now exposed by gdb.exp changes.
471 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
476 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
477 * gdb.stabs/weird.exp: Remove v_comb xfails.
482 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
483 list.exp scope.exp watchpoint.exp]
484 Make all timeout error msgs explicitly say "(timeout)".
489 * config/monitor.exp: Increase download timeout to 1000 seconds.
494 * config/m32r.exp: Increase timeout to 120 seconds.
500 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
501 and accept older ordering as obsolescent gcc or gdb.
502 * gdb.c++/templates.exp: Ditto.
503 * gdb.c++/virtfunc.exp: Ditto.
507 * gdb.base/coremaker.c: Add code to mmap some data so we
508 can check that it ends up in the core file.
509 * gdb.base/corefile.exp: Add test to read mmapped data
515 * config/m32r.exp: New file.
520 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
521 that cflags can contains -gstabs, and work correctly for other tests.
525 * gdb.base/setshow.exp: New file, tests show and set.
526 * gdb.base/setshow.c: New file, tests show and set.
527 * gdb.base/help.exp: Add test for help set|show annotate.
528 * gdb.base/default.exp: Add test for set|show annotate.
532 * testsuite/gdb.base/break.exp: Make backtrace from factorial
534 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
539 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
540 and width commands. This is done elsewhere.
541 * (gdb_start): Don't call gdb_start_sim here. That's already
542 done in gdb_load. This fixes lots of failures in default.exp.
547 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
548 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
549 in the same we we treat other failures (since it may be an expected
550 condition), rather than as an error.
551 * gdb.base/signals.exp (test_handle_all_print): Revert back to
556 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
557 (distclean maintainer-clean realclean): No need to remove files
558 twice. Nuke the duplicates.
559 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
560 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
561 Remove config.h along with other config files.
565 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
566 "p func1 ()" and note that rests of tests are skipped.
567 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
568 setup_xfails for "print func2::coremaker_local".
569 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
570 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
571 affected by the previous run test.
572 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
573 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
574 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
575 "pass int powerset tuple" and "pass modeless int powerset tuple".
576 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
577 "real write 4" and "real write 8".
578 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
579 setup_xfails for "print vs1 after tuple assign 2",
580 "print \$i after tuple assign 2", and
581 "print vs2 after tuple assign 2".
582 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
583 meaningful error message and return -1 so the caller can
584 suppress further tests and avoid a cascade of errors.
588 * gdb.base/a1-selftest.exp: Tweak tests to account for new
589 format for printing version.
590 * gdb.base/default.exp: Ditto.
591 * gdb.base/interrupt.exp: Fix problem with cascade of
592 errors if child process dies while calling a function.
596 * Makefile.in (VPATH): Add
597 * Makefile.in (Makefile, config.status): Fix rules so things get
598 remade when necessary.
602 * Makefile.in (just-check): Add path to sibling expect dir
603 to environment variable specified by RPATH_ENVVAR.
607 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
608 (just-check): Add shared library paths for libstdc++, tk,
609 tcl, bfd, and opcodes to the environment variable specified
611 * configure.in: Add support to recognize --enable-shared flag
612 and generate correct value for RPATH_ENVVAR.
613 * configure: Regenerated with autoconf.
617 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
618 include all osf versions.
619 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
620 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
621 when target is linux. When failing to build pthreads test
622 executable, give more meaningful message.
623 * gdb.threads/pthreads.c: Hpux also uses old definition of second
624 arg for pthread_create.
628 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
629 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
630 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
631 and -lpthreads (everybody else).
632 (test_startup): Fail gracefully if threads are not supported.
633 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
634 "p/c array_index("abcdef",2)" when not gcc compiled.
635 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
636 "print func2::coremaker_local" when not gcc compiled.
637 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
638 "ptype on opaque struct tagname (statically)",
639 "ptype on opaque struct tagname (dynamically) 1", and
640 "ptype on opaque struct tagname (dynamically) 2"
641 for not compiled with gcc.
642 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
643 backtrace when compiled with gcc.
644 * lib/gdb.exp (runto_main): Return result of "runto main" rather
645 than always return success.
649 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
653 * gdb.base/structs.exp: Undo last change.
657 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
658 encapsulate all the steps/nexts done during self test, starting
659 at main, and makes them less sensitive to optimization issues.
660 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
661 signal handler" test.
662 * gdb.threads/pthreads.exp: Only run this for native configs.
663 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
664 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
666 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
667 for "runto test_calls(void)" test.
671 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
672 and don't expect address info in breakpoint confirmations.
676 * gdb.base/list.exp (test_forward_search): Increase timeout
677 temporarily by 60 seconds for searching extremely long line,
678 and then reset to old value when done. Increase expect input
683 * gdb.base/list.exp (test_forward_search): Fix to handle very
684 long source line without overflowing expect's input buffer.
688 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
691 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
694 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
697 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
702 * configure.in (configdirs): Add gdb.threads.
703 * configure: Regenerated with autoconf.
704 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
705 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
706 * gdb.threads/configure: New, generated with autoconf.
710 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
714 * gdb.base/signals.exp (test_handle_all_print): Test separately for
715 each signal's status in the output of "handle all print".
716 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
717 the \r\n sequence that immediately precedes the gdb prompt.
718 * gdb.base/a1-selftest.exp: Save original timeout and restore
723 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
728 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
732 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
733 timeout by 60 seconds.
737 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
738 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
743 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
744 gdb initialization, also report how long dejagnu waited. Restore
745 old timeout before doing error return. Temporarily increase timeout
746 by 3 minutes to allow for slow startups over heavy NFS use.
750 * lib/gdb.exp: Report timeout value for verbosity level 2.
751 * config/gdbserver.exp: Ditto.
752 * config/hppro.exp: Ditto.
753 * config/mips-gdb.exp: Ditto.
754 * config/monitor.exp: Ditto.
755 * config/netware.exp: Ditto.
756 * config/sim-gdb.exp: Ditto.
757 * config/slite-gdb.exp: Ditto.
758 * config/udi-gdb.exp: Ditto.
759 * config/unix-gdb.exp: Ditto.
760 * config/vx-gdb.exp: Ditto.
761 * gdb.base/a1-selftest.exp: Ditto.
762 * gdb.base/a2-run.exp: Ditto.
763 * gdb.base/break.exp: Ditto.
764 * gdb.base/corefile.exp: Ditto.
765 * gdb.base/list.exp: Ditto.
766 * gdb.base/recurse.exp: Ditto.
767 * gdb.base/scope.exp: Ditto.
768 * gdb.base/signals.exp: Ditto.
772 * gdb.threads/Makefile.in (docdir): Removed.
776 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
777 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
779 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
780 autoconf 2.5 or higher.
781 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
785 * configure: Regenerated.
786 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
787 avoid name clashes with SunOS headers.
791 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
795 * gdb.base/callfuncs.exp: Finish last change -- make sure the
796 prototype information ends up in the compiler info file.
800 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
801 attempting to regenerate it. Eliminate use of a temporary file
802 and just generate the info file directly. Source it immediately,
803 for consistency of use.
804 * gdb.base/corefile.exp: Ditto
805 * gdb.base/exprs.exp: Ditto.
806 * gdb.base/funcargs.exp: Ditto.
807 * gdb.base/langs.exp: Ditto.
808 * gdb.base/list.exp: Ditto.
809 * gdb.base/mips_pro.exp: Ditto.
810 * gdb.base/nodebug.exp: Ditto.
811 * gdb.base/opaque.exp: Ditto.
812 * gdb.base/ptype.exp: Ditto.
813 * gdb.base/scope.exp: Ditto.
814 * gdb.base/setvar.exp: Ditto.
815 * gdb.base/signals.exp: Ditto.
816 * gdb.base/whatis.exp: Ditto.
817 * gdb.c++/templates.exp: Ditto.
818 * gdb.c++/virtfunc.exp: Ditto.
819 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
820 whether or not to add -lstdc++ to the compile command line args.
824 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
825 it got fixed by the recent lookup_minimal_symbol_by_pc change.
826 Increase timeout, a lot of single stepping might be needed if the
827 target has no hardware watchpoints.
831 * gdb.base/break.exp: Ignore compiler warnings when compiling
833 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
834 * gdb.base/default.exp: Add h8300 xfails. Handle messages
836 * gdb.base/exprs.exp: Add h8300 xfails.
837 * gdb.base/funcargs.exp: Likewise.
838 * gdb.base/nodebug.exp: Likewise.
839 * gdb.base/printcmds.exp: Likewise.
840 * gdb.base/ptype.exp: Likewise.
841 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
843 * gdb.base/return.exp: Handle float/double precision problems
845 * gdb.base/funcargs.c: Explicitly make last constant argument to
846 call_after_alloca_subr an unsigned long type.
847 * gdb.base/return.c: Include stdio.h.
851 * config/abug.exp: New file for the older Motorola Bug monitor
852 that runs on the mvme13x series VME boards.
853 * config/monitor.exp: Use the new config array for target settings
858 * sim-gdb.exp: Make the SH simulator allocate less space when
863 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
868 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
869 "rs6000-*-*" for "list function in include file" when gcc compiled.
870 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
871 for "p ctable1[120]".
872 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
873 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
874 Remove setup_xfail for "rs6000-*-*" for
875 "print 'scope0.c'::filelocal before run".
876 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
877 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
878 since some compilers don't allow both options to be given
879 on the same command line. Create object file and move it.
883 * gdb.base/corefile.exp: Always regenerate the core file, since
884 we always regenerate the coremaker program. Detect special case
885 where registers cannot be read from core file.
890 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
891 * gdb.c++/templates.exp: Only match on basename of file since
892 some formats like xcoff don't encode directory information.
893 * gdb.stabs/weird.exp: Use the right sed script for powerpc
894 and rs6000 AIX xcoff targets.
895 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
896 * configure: Regenerate.
897 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
898 here, rather than in distclean.
902 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
903 defined, and use it to compile the test case with -O2. The
904 native compilation still uses no optimization.
905 * gdb.base/mips_pro.c: Remove inline assembly code since
906 it is compiled PIC by default, which results in assembler
907 warnings that make the testsuite think the compilation
912 * gdb.c++/misc.exp: Add note to message for
913 "print s.a for foo struct" that this is a known gcc 2.7.2
918 * gdb.base/break.exp: Fix pattern for matching "Delete all
919 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
920 setup_xfail for deleting all breakpoints test. Fix various
921 timeout messages to include "(timeout)".
922 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
923 for "p t_float_values2(3.14159,float_val2)".
924 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
925 for "continue to call2g" when gcc compiled.
926 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
927 "up to foo in langs.exp", "show language at foo in langs.exp",
928 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
929 and "show language at fsub in langs.exp".
930 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
931 "list line 1 in include file", "list message for lines past EOF",
932 "list function in include file", "list list0.h:foo", and
933 "list filename:function; nonexistant function".
934 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
935 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
936 and "ptype t_char_array" to be for native cc only.
940 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
941 setup_xfail for "print coremaker_bss", "print coremaker_ro",
942 "print func2::coremaker_local", and "backtrace in corefile.exp".
946 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
947 "bt in signals.exp". This problem only appears when running
948 the testsuite, and then only intermittently.
952 * gdb.base/return.exp (return_tests): Differentiate between
953 two tests of continuing.
957 * */Makefile.in (maintainer-clean): Remove config.log.
958 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
959 * gdb.c++/Makefile.in (PROGS): Add inherit.
960 (clean): Remove *.ci.
964 * gdb.c++/misc.cc: Add test code from Mike Stump.
965 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
969 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
970 to "alpha-*-osf2*" and add comment.
971 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
972 setup_xfail for "step over execarg initialization" and
973 "step over corearg initialization".
974 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
975 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
976 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
977 gcc compiled for "print coremaker_bss", "print coremaker_ro",
978 "print func2::coremaker_local", and "backtrace in corefile.exp".
979 * gdb.base/signals.exp: Build and source signals.ci.
980 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
982 * lib/gdb.exp: Move verbose statements outside conditionals.
986 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
987 Feb 3 procfs.c change.
991 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
995 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
996 from dejagnu's apparent default of 10 seconds, which gives random
997 results when running the tests over NFS on moderately loaded systems.
998 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
1002 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
1003 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
1008 * configure.in (CY_AC_PATH_TCLH): Remove.
1009 * configure: Regenerate.
1013 * gdb.c++/Makefile.in (clean): Add missing '{'.
1017 * lib/gdb.exp: Provide a default value for noinferior.
1019 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
1024 * gdb.disasm/hppa.exp: Compile directly into an executable, use
1025 the executable, not the .o to run the tests from.
1029 * gdb.base/break.exp: Don't test for program exit or exit status
1030 if $noresults if nonzero.
1031 * gdb.base/langs.exp: Likewise.
1032 * gdb.base/watchpoint.exp: Likewise.
1034 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
1035 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
1036 trying to compile the testcase.
1040 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
1041 * gdb.base/signals.exp (continue to handler): Likewise.
1045 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
1047 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
1051 * gdb.base/corefile.exp: Recognize "not found" as failure
1052 when trying to determine if a core file was generated.
1053 If no core file was generate the first time, try again without
1054 the ulimit -c to work around braindamaged shells.
1058 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
1059 [] tests with "test" and enclose string in quotes.
1060 * gdb.stabs/configure: Rebuild
1064 Changes in sync with expect:
1065 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
1066 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
1067 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
1068 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
1069 argument to AC_REQUIRE.
1070 * configure: Regenerated.
1074 * gdb.base/corefile.exp: When generating a core, discard any
1075 error messages about ulimit not found and the "core dumped"
1076 message from the shell that runs the coredumper.
1080 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
1082 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
1083 which sed script to run. Expect failure for v_comb test
1088 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
1089 "print func2::coremaker_local" and for "backtrace in corefile.exp"
1093 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
1094 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
1095 "sparc-sun-solaris*" xfails for "p v_comb".
1096 * lib/gdb.exp (default_gdb_start): Fix typo.
1097 * gdb.base/corefile.exp: Allow "Core was generated by ..."
1098 messages to not include the full program name that caused
1099 the core dump since some systems (such as solaris) apparently
1100 truncate this path to about 80 characters.
1101 When generating a core file first try increasing the core file
1102 size limit to unlimited since some systems may default it to
1103 zero, and it is harmless to try it. Move the test for failing
1104 to generate a core file to where it will actually get executed.
1105 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
1106 new gdb result from g++ debug info improvements and make old
1107 pattern obsolescent. Also account for size_t differences
1108 (may be int or long).
1109 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
1110 initialization before function call is placed in the delay slot
1111 and thus appears to be skipped over by commands such as "next".
1115 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
1119 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
1120 input source file; fix code to compile test to deal with this
1122 * gdb.c++/*.exp: Likewise.
1126 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
1127 "bt in signals.exp".
1131 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
1132 "step over execarg initialization" and
1133 "step over corearg initialization".
1137 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
1138 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1143 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
1144 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
1145 configure.in}, gdb.disasm/{Makefile.in, configure.in},
1146 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
1147 configure.in}: Major reworking for autoconfig.
1148 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
1149 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
1151 * config/unix-gdb.exp: Make GDB global.
1152 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
1153 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
1154 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
1155 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
1156 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
1157 term.exp, twice.exp, watchpoint.exp, whatis.exp},
1158 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
1159 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
1160 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
1161 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
1162 pr-8136.exp, result.exp, string.exp, tuples.exp},
1163 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
1164 to returns as necessary, arrange for test to compile own testcase
1166 * lib/gdb.exp: Changes for testsuite to compile own test cases.
1170 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
1171 clear_xfail at end of test which might not call either pass or fail.
1172 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
1173 "backtrace through signal handler".
1177 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
1178 continuing from a job control stop signal.
1179 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
1183 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
1184 * gdb.base/corefile.exp: Likewise.
1185 * gdb.base/funcargs.exp: Likewise.
1189 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
1190 * config/monitor.exp: Add support for setting baud rate.
1194 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
1195 i*86-*-linux* xfails for "backtrace through signal handler".
1196 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
1197 "print func2::coremaker_local".
1198 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
1199 alpha-dec-osf2* xfail for
1200 "delete all breakpoints when none".
1204 * gdb.base/break.exp: Change test that deletes all breakpoints
1205 when no user breakpoints are installed. A post 4.15 change
1206 causes gdb to no longer prompt in this case.
1210 * gdb.base/return.exp (return_tests): Change xfail for test
1211 "correct value returned double test" to stop xfailing at
1212 Solaris 2.5. Apparently the bug has been fixed.
1216 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
1217 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1221 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
1222 * gdb.disasm/hppa.s: Corresponding changes.
1226 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
1228 * config/mt-hpux: Deleted.
1232 * Many files: When warning about suppressed tests due to a
1233 nonexistant test binary, avoid incrementing the warning count.
1237 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
1241 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
1242 "sparc-*-solaris2*".
1246 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
1247 Add global and local variables and initialize them.
1248 * gdb.base/corefile.exp: Test correct mapping of corefile sections
1249 by printing variables. Remove rs6000 and powerpc xfails, BFD now
1250 extracts the file name and terminating signal from the core file.
1251 * TODO: Remove note about tests for correct mapping of corefile.
1252 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
1253 from optimizing it away.
1254 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
1255 handles common blocks.
1259 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
1260 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
1264 * Makefile.in (maintainer-clean): New target, synonym for
1266 * gdb.base/Makefile.in (maintainer-clean): Likewise.
1267 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
1268 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
1269 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
1270 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
1271 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
1275 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
1276 xfails when not gcc compiled for "print foo::funclocal".
1277 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
1278 "print foo::funclocal at foo",
1279 "print 'scope1.c'::foo::funclocal at foo",
1280 "print foo::funclocal_bss at foo",
1281 "print 'scope1.c'::foo::funclocal_bss at foo",
1282 "print foo::funclocal_ro at foo",
1283 "print 'scope1.c'::foo::funclocal_ro at foo",
1284 "print bar::funclocal at foo" and
1285 "print 'scope1.c'::bar::funclocal at foo".
1286 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
1287 gcc compiled for "print foo::funclocal at bar".
1288 Expand all messages to ensure that they identify that
1289 the test is at bar().
1290 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
1292 "ptype on opaque struct pointer (statically)",
1293 "ptype on opaque struct tagname (statically)",
1294 "ptype on opaque struct pointer (dynamically) 1",
1295 "ptype on opaque struct tagname (dynamically) 1",
1296 "ptype on opaque struct pointer (dynamically) 2" and
1297 "ptype on opaque struct tagname (dynamically) 2
1298 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
1304 "whatis bsslocal", and
1306 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
1307 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
1308 when not gcc compiled.
1309 * gdb.base/funcargs.exp (float_and_integral_args): Add
1310 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
1312 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
1313 "backtrace from call6a" when not gcc compiled.
1314 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
1315 "backtrace from call7a" when not gcc compiled.
1316 * gdb.base/callfuncs.exp (do_function_calls):
1317 Add "hppa*-*-hpux*" xfail when not gcc compiled for
1318 "p t_char_array_values(char_array_val2,char_array_val1)",
1319 "p t_char_array_values(char_array_val1,char_array_val2)",
1320 "p t_char_array_values("carray 1","carray 2")",
1321 "p t_char_array_values("carray 1",char_array_val2)",
1322 "p t_char_array_values(char_array_val1,"carray 2")",
1323 "p sum_args(1,{2})",
1324 "p sum_args(2,{2,3})",
1325 "p sum_args(3,{2,3,4})",
1326 "p sum_args(4,{2,3,4,5})"
1327 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
1328 "backtrace in corefile.exp" when not gcc compiled.
1332 * gdb.base/signals.exp: Rewrite `handle all print' test as
1333 a procedure. Accept blanks or TABs as whitespace, increase
1334 timeout and expect input buffer size for the large output
1335 from the command. Remove "i*86-*-bsdi2.0" xfail.
1339 * gdb.base/setvar.exp: Add new testcases for truncation when
1340 assigning invalid values to bitfields.
1344 * gdb.base/callfuncs.exp (do_function_calls): Remove
1345 mips-sgi-irix* xfail for
1346 "call inferior func with struct - returns char *"
1347 and fix test so that an optional (unsigned char *) cast is
1348 accepted in the result.
1352 * gdb.base/funcargs.exp (float_and_integral_args): Remove
1353 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1354 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
1355 * gdb.base/signals.exp: Remove duplicate "handle all print" test
1356 that accidentally got checked in.
1360 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
1361 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
1363 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
1364 Add mips-sgi-irix5* xfail for not gcc compiled.
1365 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
1366 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
1367 "p top", "whatis top", "p middle", and "whatis middle".
1368 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
1369 "whatis signed char" for not gcc compiled.
1370 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
1371 "set variable signed char=-1 (-1)" and
1372 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
1373 * gdb.base/funcargs.exp (float_and_integral_args):
1374 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
1375 Add mips-sgi-irix* xfail when not gcc compiled for
1376 "continue to call2b".
1377 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
1378 "continue to call2g".
1379 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
1380 "backtrace from call6a"
1381 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
1382 "backtrace from call7k".
1383 Add mips-sgi-irix5* xfail when not gcc compiled for
1384 "backtrace from call7a".
1385 (localvars_after_alloca): Fix gdb_test cmds for
1386 "print * after runto ...".
1387 Remove rs6000-*-* xfails for
1388 "print i after runto localvars_after_alloca" and
1389 "print l after runto localvars_after_alloca"
1391 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
1392 when not compiled with gcc, for:
1393 "print signed char == (minus)",
1394 "print signed char != (minus)",
1395 "print signed char < (minus)",
1396 "print signed char > (minus)".
1397 * gdb.base/callfuncs.exp (do_function_calls):
1398 Add mips-sgi-irix* xfail, when compiled with native compiler, for
1399 "call inferior func with struct - returns char *".
1400 * gdb.base/return.exp (return_tests): Change xfail for
1401 "correct value returned double test" to include Solaris 2.4.
1402 * gdb.base/funcargs.exp (float_and_integral_args):
1403 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1407 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
1408 enumeration bitfields if compiling with GNU C.
1409 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
1414 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
1415 test for PRO targets.
1417 * gdb.base/funcargs.exp: Avoid ever setting more than 8
1418 breakpoints in the inferior at any given time by making
1419 two groups of breakpoints for call2*, call6* and call7*
1424 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
1425 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
1426 from optimizing it away.
1427 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
1428 "call inferior func with struct".
1432 * configure.in: Only configure gdb.chill for particular targets.
1436 * gdb.base/Makefile.in: Add action to .c.o transformation
1437 rule that generates a .ci file for each .o file and remove
1438 explicit .c.o rules except for callfuncs.o.
1439 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
1440 generates a .ci file for each .o file and remove explicit
1442 (clean): Remove *.tmp *.ci files.
1443 (EXECUTABLES): Remove templ-info.exp.
1444 * gdb.base/compiler.c: New file.
1445 * gdb.c++/compiler.cc: New file
1446 * gdb.base/scope.exp: Source gdb.base/scope.ci.
1447 Change rs6000-*-* xfail for
1448 "print 'scope0.c'::filelocal_ro" and
1449 "print 'scope1.c'::filelocal" and
1450 "print 'scope1.c'::filelocal_bss" and
1451 "print 'scope1.c'::filelocal_ro" and
1452 "print 'scope1.c'::foo::funclocal" and
1453 "print 'scope1.c'::foo::funclocal_ro" and
1454 "print 'scope1.c'::bar::funclocal" and
1455 "print 'scope0.c'::filelocal_ro" and
1456 "print 'scope1.c'::filelocal at foo" and
1457 "print 'scope1.c'::filelocal_bss at foo" and
1458 "print 'scope1.c'::filelocal_ro at foo" and
1459 "print 'scope1.c'::foo::funclocal at foo" and
1460 "print 'scope1.c'::foo::funclocal_bss at foo" and
1461 "print 'scope1.c'::foo::funclocal_ro at foo" and
1462 "print 'scope1.c'::bar::funclocal at foo" and
1463 "print 'scope0.c'::filelocal_ro" and
1464 "print 'scope1.c'::filelocal" and
1465 "print 'scope1.c'::filelocal_bss" and
1466 "print 'scope1.c'::filelocal_ro" and
1467 "print 'scope1.c'::foo::funclocal" and
1468 "print 'scope1.c'::foo::funclocal_bss" and
1469 "print 'scope1.c'::foo::funclocal_ro" and
1470 "print 'scope1.c'::bar::funclocal" and
1471 "print 'scope1.c'::bar::funclocal_bss"
1472 to only be xfail'd when not compiled with gcc.
1473 Add rs6000-*-* xfail for
1474 "print 'scope0.c'::filelocal_bss before run"
1475 when compiled with gcc.
1476 (test_at_main): Add rs6000-*-* xfail for
1477 "print filelocal_ro in test_at_main"
1478 when compiled with gcc.
1479 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
1480 Add rs6000-*-aix* xfail for
1481 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
1482 "ptype t_char_array", not compiled with gcc.
1483 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
1484 xfail for "list foo (in include file)" when gcc compiled.
1485 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
1486 (integral_args): Add rs6000-*-* xfail for
1487 "run to call0a" if not compiled with gcc.
1488 (unsigned_integral_args): Add rs6000-*-* xfail for
1489 "run to call1a" if not compiled with gcc.
1490 (float_and_integral_args): Add rs6000-*-* xfail for
1491 "run to call2a" if not compiled with gcc and for
1492 "continue to call2b" for any compiler.
1493 Add rs6000-*-* xfail to
1494 "print f1 after run to call2a" for gcc compiled.
1495 (discard_and_shuffle): Add rs6000-*-* xfail for
1497 (shuffle_round_robin): Add rs6000-*-* xfail for
1498 "backtrace from call7a" if not compiled with gcc.
1499 Add rs6000-*-* xfail for
1500 "backtrace from call7b" if compiled with gcc.
1501 (call_after_alloca): Add rs6000-*-* xfail for
1502 "print c in call_after_alloca" and
1503 "print s in call_after_alloca" and
1504 "backtrace from call_after_alloca_subr"
1505 if not compiled with gcc.
1506 (localvars_in_indirect_call): Add rs6000-*-* xfail for
1507 "print c in localvars_in_indirect_call" and
1508 "print c in localvars_in_indirect_call" and
1509 "backtrace in indirectly called function" and
1510 "stepping into indirectly called function"
1511 if not compiled with gcc.
1512 (localvars_after_alloca): Add rs6000-*-* xfail for
1513 "print c after runto localvars_after_alloca" and
1514 "print s after runto localvars_after_alloca" and
1515 "print i after runto localvars_after_alloca" and
1516 "print l after runto localvars_after_alloca"
1518 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
1519 than whatis-info.exp.
1520 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
1521 than opaque-info.exp.
1522 Setup rs6000-*-* xfail for
1523 "ptype on opaque struct pointer (statically)" and
1524 "ptype on opaque struct pointer (dynamically)" when
1525 not compiled with gcc.
1526 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
1527 rather than callf-info.exp.
1528 (do_function_calls): Add clear_xfail for rs6000-*-* for
1529 "p t_float_values2(3.14159,float_val2)". Seems to work
1530 fine there, both with xlc and gcc. Need to find out what
1531 it is doing right and fix other platforms.
1532 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
1533 "call inferior func with struct - returns int",
1534 "call inferior func with struct - returns long",
1535 "call inferior func with struct - returns float",
1536 "call inferior func with struct - returns double",
1537 "call inferior func with struct - returns char *",
1538 but only if not gcc compiled (presumes xlc compiled).
1539 Change rs6000-*-* xfails for
1540 "call inferior func with struct - returns char" and
1541 " call inferior func with struct - returns short" to only
1542 xfail if not using gcc.
1543 (clean mostlyclean): Remove *.ci and *.tmp files.
1544 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
1545 than templ-info.exp.
1546 * gdb.base/langs.exp: Source gdb.base/langs.ci.
1547 Add rs6000-*-* xfail for "up to foo in langs.exp"
1548 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
1549 when not gcc compiled.
1553 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
1554 * gdb.base/corefile.exp: Likewise.
1555 * gdb.base/list.exp: Likewise.
1556 * gdb.base/scope.exp: Likewise.
1557 * gdb.base/siganls.exp: Likewise.
1559 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
1561 * gdb.base/whatis.exp: Likewise.
1565 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
1566 failure (opcode table has been fixed to match reality).
1570 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
1571 "call inferior func with struct - returns char",
1572 "call inferior func with struct - returns short"
1574 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
1575 "print 'scope0.c'::filelocal at main",
1576 "print 'scope0.c'::filelocal_bss in test_at_main",
1577 "print 'scope0.c'::filelocal at foo",
1578 "print 'scope0.c'::filelocal_bss in test_at_foo",
1579 "print 'scope0.c'::filelocal at bar",
1580 "print 'scope0.c'::filelocal_bss in test_at_bar"
1582 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
1583 in source file 1". This bug seems to have been fixed with both
1584 gcc and native cc (was native assembler bug?).
1588 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
1589 "backtrace through signal handler" to "i*86-*-sysv4*".
1590 * gdb.base/signals.exp: Add xfail for "'next' behaved as
1591 continue" case. Add "known SVR4 bug" to fail message.
1592 Add "i*86-*-bsdi2.0" xfail for "handle all print".
1593 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
1594 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
1595 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
1596 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
1597 "up to foo in langs.exp", "show language at foo in
1598 langs.exp", "up to cppsub_ in langs.exp", "show
1599 language at cppsub_ in langs.exp", "up to fsub in
1600 langs.exp", and "show language at fsub in langs.exp".
1601 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
1602 "bactrace in corefile.exp".
1603 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
1604 "call inferior function with struct - returns float" and
1605 "call inferior function with struct - returns double".
1609 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
1610 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
1611 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
1612 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
1616 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
1617 (or overriden) "CHILL" macro rather then bare "gcc".
1618 Also look for ../../gcc/xgcc since that is what we will
1619 actually need, not "Makefile". Remove following assignment
1620 of CHILL to CHILL_FOR_TARGET because that results in
1621 recursive definition.
1625 * gdb.base/corefile.exp: Change xfail for backtrace in
1626 corefile.exp from linuxaout to all linux.
1627 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
1628 cases where we miss the breakpoint at the signal handler
1629 for some reason. Setup xfail for linuxoldld/linuxaout and
1630 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
1631 hitting SIGURG breakpoint.
1632 * gdb.base/signals.exp: Setup xfail for "next" acting like
1633 continue to add linuxoldld. Setup xfail for all linux for
1634 "next to handler in signals_tests_1", "backtrace in
1635 signals_tests_1", "continue to func1", "pass SIGUSR1",
1636 and continue to handler".
1640 * Update all FSF addresses except those in COPYING* files.
1644 * gdb.base/a2-run.exp: Change messages to be more explicit about
1645 the status of args, and quote binfile in results.
1649 * gdb.base/callfuncs.exp: Add tests for passing structs to
1650 inferior functions and return various types.
1651 * gdb.base/callfuncs.c: Add functions to receive a struct
1652 and return a member of the struct, in various types.
1656 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
1660 * config/vxworks29k.exp: New file, sources vxworks.exp.
1664 * config/gdbremote.exp: New file. Testing framework using
1669 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
1670 "call function when asleep" and "send end of file".
1671 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
1672 for "backtrace in corefile.exp".
1673 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
1674 for "backtrace through signal handler".
1675 * gdb.base/corefile.exp: Make sure we actually generate a core file
1676 before trying the core tests. Some systems allow the user to suppress
1677 generation of core files and default to that (linux for example).
1678 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
1679 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
1683 * gdb.threads: New directory with some crude multi-threaded
1684 gdb tests (step.exp and step2.exp).
1685 * config/mt-lynx (STEP_EXECUTABLE): Define.
1686 (THREADFLAGS): Define.
1690 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
1692 * gdb.base/signals.exp: Disable whole file for lynx until
1695 * gdb.base/signals.exp: xfail test where "next" acts like
1696 "continue" for lynx.
1698 * gdb.base/interrupt.exp: xfail test for calling function while
1699 inferior is asleep for lynx.
1701 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
1702 than one cr-lf after each command.
1706 * configure.in: Reinstate setting of stabsdirs variable, fix
1707 typo in setting up configdirs for native builds.
1709 * gdb.base/return.exp: Fix typo in return double test.
1710 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
1711 compiler from optimizing them away.
1715 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
1716 sequences to be echo'd by gdb when using gdb_test.
1717 * gdb.chill/chexp.exp: Likewise.
1718 * gdb.fortran/exprs.exp: Likewise
1722 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
1723 after the inferior gdb has started.
1725 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
1727 * gdb.base/funcargs.exp: Likewise.
1728 * gdb.base/gdbvars.exp: Likewise.
1729 * gdb.base/interrupt.exp: Likewise.
1730 * gdb.base/list.exp: Likewise.
1731 * gdb.base/watchpoint.exp: Likewise.
1732 * gdb.c++/demangle.exp: Likewise.
1733 * gdb.c++/inherit.exp: Likewise.
1734 * gdb.chill/chexp.exp: Likewise.
1735 * gdb.fortran/exprs.exp: Likewise.
1737 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
1738 test if we can't handle IO to/from the inferior.
1740 * gdb.c++/misc.exp: Always check for a program already being
1741 started after sending a "run" command to gdb.
1743 * gdb.base/twice.exp: Start with a fresh gdb.
1745 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
1746 only depend on gdb's expression code, not the chill runtime.
1748 * gdb.base/return.c: Put return values into variables so we
1749 can have gdb print them rather than depending on the program
1751 * gdb.base/return.exp: Corresponding changes.
1753 * lib/gdb.exp: Provide default value for noinferiorio.
1754 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
1757 * gdb.base/break.exp: Always check for a program already being
1758 started after sending a "run" command to gdb.
1759 (text_next_with_recursion): Don't check the output from the
1760 program's printf statement. Instead just make sure the program
1763 * gdb.base/commands.exp: Protect tests which need arguments with
1764 $noargs conditionals.
1768 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
1769 of structure member arrays to match gdb/valops.c:value_addr change.
1773 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
1778 * configure.in (configdirs): Remove gdb.chill from default list
1779 of subdirs and then add it back in only if doing a native build.
1780 The current chill compiler does not yet work in any cross build.
1781 * Revert all signal changes from Jul 6.
1782 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
1783 for sh-hms targets, allowing these tests to link, with no other
1784 changes. Testing is suppressed by setting "nosignals" in site.exp.
1788 * configure.in (signaldirs): Define and add to configdirs for all
1789 targets except some specific ones that are known to not support signals.
1790 Also clean up formatting.
1791 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
1792 (signals, sigall): Remove rules to build.
1793 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
1794 Moved to new gdb.signals directory.
1795 * gdb.signals: New test directory.
1796 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
1797 signals.c signals.exp}: New or moved files.
1801 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
1805 * gdb.base/return.exp: Xfail `return double' test failure
1806 on at least Solaris 2.3 and handle future/past versions on
1807 a case by case basis as appropriate. Also update message
1808 to include i*86 failures.
1812 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
1814 * lib/gdb.exp: Fix comment which erroneously identified
1815 gdb_file_cmd as gdb_load (the 19 May change was in fact to
1816 gdb_file_cmd not gdb_load).
1817 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1819 * gdb.base/setvar.exp: Make test names consistent between pass and
1820 fail cases. Use gdb_test more.
1824 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
1828 * gdb.base/help.exp: Fix expected help string for `show commands'.
1832 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
1834 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
1839 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
1840 that loop eventually terminates. Fix Connection refused logic so
1841 that testsuite will expire nicely.
1845 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
1846 config/rom68k.exp: New tcl glue for the appropriate monitors.
1847 These all just end up calling monitor.exp.
1848 * config/monitor.exp (gdb_target_monitor): Handle `Connection
1849 refused' by retrying. Cleanup some timeout issues.
1850 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
1851 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
1852 callers don't have to set/restore global timeout variable.
1854 * The following set of changes centralizes management of the global
1855 timeout variable. This way, it can be set in one target dependent
1856 place instead of dozens of places scattered throughout the test suite.
1857 If you need to lengthen a timeout, then you should either set timeout
1858 in one of the config/{target}.exp files, or multiply it by a factor.
1859 Setting it to an absolute value is always going to lose for some
1861 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
1862 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
1863 * gdb.base/funcargs.exp: Don't set timeout.
1864 * gdb.base/list.exp (test_forward_search): Only use local timeout.
1865 * gdb.base/printcmds.exp (test_print_string_constants
1866 test_print_array_constants): Don't set timeout.
1867 * gdb.base/ptype.exp: Don't set timeout.
1868 * gdb.base/recurse.exp: Don't set timeout.
1869 * gdb.base/return.exp: Don't set timeout.
1870 * gdb.base/watchpoint.exp: Don't set timeout.
1871 * gdb.c++/classes.exp (do_tests): Don't set timeout.
1872 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
1876 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
1880 * lib/gdb.exp: Disable chill tests for irix5.
1884 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
1885 each test pass or fail.
1889 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
1894 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
1898 * config/est.exp: Fix copyright and comments. Remove dead code.
1899 Use targetname, serialport and baud variables instead of fixed
1901 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
1902 * config/cpu32bug.exp: New file to support cpu32bug monitors.
1906 * gdb.base/watchpoint.exp: Don't run
1907 test_watchpoint_triggered_in_syscall for sunos.
1911 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
1912 they don't seem to exist. Do include stdio.h.
1916 * gdb.base/a1-selftest.exp: Add alpha xfail.
1920 * gdb.base/watchpoint.c (main): Prompt before calling read().
1921 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
1922 Revise accordingly. Remove cruft about sending "123" several
1923 times, until it gets noticed. Clean up the "print buf[0]" stuff
1924 so that it passes or fails, and waits for prompts in the usual way.
1928 * gdb.base/recurse.exp: Fix comment.
1930 * TODO: Remove item about printing variables in nodebug.exp. Add
1931 item about enabling tests which are only run on some targets.
1933 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
1934 fail, make test names unique, use new gdb_test convention
1935 regarding pattern, use gdb_test more, etc.).
1937 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
1938 fail, make test names unique, etc.).
1942 * gdb.base/nodebug.c: Change return type of top and middle to
1944 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
1945 are fixed by the recent mdebugread.c changes. Allow `short ()'
1946 as type for top and middle.
1950 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
1951 nearly as I can tell, the whole thing was an accident in Stu's
1952 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
1953 to replace a send/expect pair with gdb_test, but ended up only
1954 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
1955 of 30 Mar 1995 took care of it, but left this vestigial comment
1956 which I am now nuking.
1960 * gdb.base/break.exp: Look for different line number for
1961 breakpoint at main depending on usestubs.
1965 * gdb.base/list.exp: Adjust some alternate expect patterns to
1966 match recent list0.c change. Add alternate expect pattern for
1967 output from `list default lines around main' for optimizing
1972 * lib/gdb.exp: If nosignals is not set, set it to 0.
1976 * config/slite-gdb.exp: Responds to load symbol table prompt.
1977 * gdb.base/break.exp: Adjust line number, fix rerun.
1978 * gdb.base/langs0.c: Add #ifdef usestubs.
1982 * gdb.base/list.exp: Adjust line contents after adding new lines in
1983 list0.c. Also fix a syntax error.
1985 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
1986 * gdb.base/break.exp: ditto.
1987 * gdb.base/list.exp: ditto.
1988 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
1989 * gdb.base/run.c: ditto.
1990 * gdb.base/list0.c: ditto.
1991 * gdb.base/funcargs.c: ditto.
1995 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
1996 $targetname, $serialport and $baud instead of hardwired variables.
1997 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
1998 target doesn't support signals.
2002 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
2006 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
2007 Don't rely on the value of an auto variable before it has been
2008 initialized. Use gdb_test more.
2012 * lib/gdb.exp (default_gdb_version): A version number must start
2013 with a digit, but other than that contains all characters up to
2014 the first whitespace character.
2018 * gdb.base/commands.exp (breakpoint_command_test): New tests.
2022 * gdb.c++/*.exp: Warn if executable does not exist. The original
2023 reason for skipping the warning was that configure.in sometimes
2024 intentionally skipped building the executables but the tcl code
2025 had no way of knowing. That (a) was always bogus with respect to
2026 error handling, (b) is no longer true (right now there is no way
2029 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
2033 * gdb.base/list.exp: Add expect patterns for output from
2034 SunPRO compiled executables.
2035 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
2040 * gdb.base/break.exp (test_next_with_recursion): Accept any line
2041 number (we are already testing that the correct source line text
2044 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
2045 that is what is intended, but something needed to be done to get
2046 sunos4 native working again.
2048 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
2050 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
2051 apparently went with a (very) old xfail.
2055 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
2056 runto_main is a proc in gdb.exp that will do 'step' for target use
2058 * gdb.base/exprs.exp: ditto.
2059 * gdb.base/interrupt.exp: ditto.
2060 * gdb.base/opaque.exp: ditto.
2061 * gdb.base/printcmds.exp: ditto.
2062 * gdb.base/ptype.exp: ditto.
2063 * gdb.base/scope.exp: ditto.
2064 * gdb.base/setvar.exp: ditto.
2065 * gdb.base/signals.exp: ditto.
2066 * gdb.base/twice.exp: ditto.
2067 * gdb.c++/classes.exp: ditto.
2068 * gdb.c++/inherit.exp: ditto.
2069 * gdb.c++/templates.exp: ditto.
2070 * gdb.base/break.exp: no run and hit main for stubs. Change line
2071 numbers for breakpoints and info breakpoint.
2072 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
2074 * gdb.base/callfuncs.c: ditto.
2075 * gdb.base/exprs: ditto.
2076 * gdb.base/interrupt.c: ditto.
2077 * gdb.base/opaque0.c: ditto.
2078 * gdb.base/printcmds.c: ditto.
2079 * gdb.base/ptype.c: ditto.
2080 * gdb.base/scope0.c: ditto.
2081 * gdb.base/setvar.c: ditto.
2082 * gdb.base/signals.c: ditto.
2083 * gdb.base/twice.c: ditto.
2084 * gdb.c++/misc.cc: ditto.
2085 * gdb.c++/templates.cc: ditto.
2089 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
2091 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
2092 somewhere between `read' and `main.c'. I'm pretty sure the
2093 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
2094 and it isn't particularly useful.
2096 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
2100 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
2104 * config/mt-slite: add LIBS and -nostdlib.
2105 * config/slite-gdb.exp: add this new file to support sparclite target.
2109 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
2111 * gdb.base/a2-run.exp: Change argument to istarget from
2112 "*-*-vxworks" to "*-*-vxworks*".
2113 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
2117 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
2118 will not runto main but do a 'step' to step out of breakpoint().
2119 * config/mt-slite: add -Dusestubs.
2123 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
2126 * gdb.base/signals.exp: Add test for "handle all print".
2127 * TODO: Remove "handle all print". Also remove item about
2128 checking copyright date (I don't like the idea of a spurious FAIL
2129 based on when we run the tests).
2131 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
2132 for SunOS4 (reason for failure not investigated). Remove
2133 redundant test for $binfile.
2135 * gdb.base/nodebug.c (array_index): Call malloc.
2137 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
2141 * gdb.base/recurse.exp: Update gdb_test invocation to use new
2142 conventions and slightly simplify the matching regexp.
2146 * gdb.base/break.exp: Update gdb_test invocation to use new
2149 * lib/gdb.exp: If noargs is not set, set it to 0.
2151 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
2154 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
2158 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
2159 one argument of type "<non-float parameter>".
2163 * config/rom68k.exp: New file to support Motorola IDP board.
2164 * gdb.base/a2-run.exp: Skip this file if noargs is set.
2165 * gdb.base/break.c: Change things around so that this program
2166 doesn't depend upon args. This is necessary to make remote
2167 targets work (in general, they can't take args).
2168 * gdb.base/break.exp: Don't try to send args to program. Don't
2169 expect output. Also, replace lots of code with gdb_test.
2173 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
2174 printing of '\'' (which is what the comment says we are testing,
2175 even though we were not), not '''.
2176 (test_integer_literals_rejected): Test that printing ''' is an error.
2178 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2179 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
2180 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
2181 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
2182 Use gdb_test not test_print_accept.
2183 * lib/gdb.exp: Remove test_print_accept.
2185 * gdb.base/signals.exp (signal_tests_1): Make pass message
2186 consistent with fail message.
2188 * gdb.base/whatis.exp: Remove xfails for printing char vs.
2189 unsigned char; the bug (PR 1821) is fixed.
2191 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
2193 * gdb.base/scope.exp (test_at_localscopes): Call pass for
2194 successful tests--makes xfailing them work right.
2198 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
2199 only \r\n, not .*. The test can pass .* as the last thing in
2200 $pattern if that is what it wants. In addition to providing this
2201 flexibility, this change should speed up pattern matching in cases
2202 where the pattern already ended with .* (there were a number of
2203 them). This change also helps catch bad patterns--in the old
2204 scheme the typo "char \*" instead of "char \\*" would pass. Now
2206 * Many .exp files: Update callers.
2208 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
2209 clearer and does not spuriously match multiple ('s. Likewise for
2212 * gdb.base/nodebug.exp: Test ability to call a function and pass
2213 it a string (even with no debugging info).
2215 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
2216 "p '\'", which is the same as "p ''" once tcl gets done with
2217 quoting, to "p '\\'", which I suspect is what is intended (one
2218 backslash gets sent to GDB).
2220 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
2224 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
2225 1817) was fixed literally years ago.
2229 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
2230 test, it causes stepping out of call_after_alloca_subr with
2231 optimizing compilers.
2232 (localvars_in_indirect_call): Consume GDB prompt if `finish'
2235 * gdb.c++/templates.exp: Source templ-info.exp only if
2236 the templates executable exists.
2238 * gdb.c++/misc.cc (class Contains_static_instance,
2239 class Contains_nested_static_instance),
2240 gdb.c++/classes.exp (test_static_members): Test printing of
2241 a class that contains a static instance of the class.
2245 * gdb.base/langs2.c (cppsub_): Don't prototype.
2246 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
2251 * lib/gdb.exp (skip_chill_tests): New procedure.
2253 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
2257 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
2258 each expect pattern. Cuts runtime from 12 to about 4 seconds.
2262 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
2264 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
2265 disassemble 8, not 16, instructions for part 4.
2267 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
2268 support the latter anymore.
2270 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
2272 * gdb.base/callfuncs.c: Control use of prototypes based on
2273 NO_PROTOTYPES, not __STDC__.
2274 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
2275 t_float_values2 tests if prototypes in use.
2277 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
2278 t_double_values): When checking differences against DELTA, check
2279 that difference is within the range (-DELTA,DELTA), not just
2284 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
2285 'file' command firts, then 'target', then 'load', this is due to gdb
2287 * config/mips-gdb.exp: Fix a couple regular exp bugs.
2291 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
2292 FP load/store variants.
2293 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
2297 * gdb.base/term.exp: Do not give a warning if not native, it is
2298 not an abnormal condition.
2302 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
2307 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
2308 are getting the version number.
2310 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
2311 if not native, it is not an abnormal condition.
2315 * lib/gdb.exp: Just use "file exists", rather than undocumented
2316 dejagnu procedure "findfile".
2320 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
2321 (LDFLAGS): Set to -Xlinker -Ur.
2323 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
2324 Removed, these values are set by lib/gdb.exp.
2326 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
2330 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
2331 of replicating gdb startup code.
2333 * config/mt-vxworks (LDFLAGS): Set to -r.
2334 (CFLAGS_FOR_TARGET): Removed.
2336 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
2337 (gdb) and gdb for vxworks uses (vxgdb).
2339 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
2340 executable is not in the tree and host != target, use sed and
2341 program_transform_name to determine the gdb name used by the
2344 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
2345 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
2349 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
2350 floats, chars, and shorts where there are ANSI-style function
2353 * gdb.base/langs.exp, gdb.base/langs*: New test.
2354 * gdb.base/Makefile.in: Build it.
2355 * TODO: Remove item about checking that C names don't get C++
2356 demangling applied; this test tests it.
2360 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
2361 went with the const70 xfail. The xfail went away a year ago.
2363 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
2365 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
2368 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
2370 * gdb.base/a1-selftest.exp: Don't run on hp300.
2374 * Makefile.in (site.exp): Set host_alias and target_alias as well
2375 as host_triplet and target_triplet.
2379 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
2381 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
2382 places as other ecoff systems).
2384 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
2389 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
2391 * gdb.base/nodebug.exp: Accept "function" in addition to "text
2392 variable and "variable" in addition to "data variable".
2393 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
2395 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
2397 * gdb.base/list1.c (long_line): Add additional statement at start
2399 * gdb.base/list.exp (test_forward_search): Update line number to
2400 reflect new statement.
2404 * gdb.base/signals.exp: Reinitialize searched source directories
2405 after gdb_start call.
2409 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
2410 * gdb.stabs/Makefile.in: Likewise.
2412 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
2413 change. Instead split the tests into smaller pieces.
2414 * gdb.disasm/hppa.s: Corresponding changes.
2418 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2419 Quote ^C when passing it to stty. For some shells ^ is a pipe.
2421 * gdb.base/funcargs.exp: Modify many tests so that every test
2422 either passes or fails. Make some test names unique.
2426 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2427 Call stty to set interrupt character.
2429 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
2430 for HP assembler versus GNU assembler based on actual behavior of
2431 $(CC), rather than assuming that $(AS) is always the GNU assembler.
2433 * TODO: Suggest a few more stepping tests.
2437 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
2438 restart GDB for h8300 after a continue.
2439 (return): Add pattern to match a29k-udi behavior.
2440 * gdb.base/nodebug.exp: Remove obsolete comment.
2441 * gdb.base/regs.exp: New file, testing of register displays.
2442 * gdb.base/return.exp: Fix typo in reference to $objdir.
2443 * gdb.base/whatis.exp: Always start with a fresh GDB.
2447 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
2448 higher, these tests generate a lot of output.
2452 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
2453 code following the catch silently ignored some errors; without the
2454 catch they should be thrown like any other tcl error. Also, the
2455 catch used "" instead of {} which meant all the callers who wanted
2456 to include one of the characters "[]$ had to quote it an extra time.
2457 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
2458 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
2459 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
2460 Remove extra quoting.
2464 * gdb.base/commands.exp: Make test names unique; every test either
2465 passes or fails. Update some comments.
2467 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
2471 The following fixes a FAIL caused by the fact that the alpha stabs
2472 configuration didn't use the ".if alpha" code in weird.def.
2473 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
2474 bit pointer, so the 32 bit version works even on the alpha.
2475 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
2476 Remove the stuff which allowed us to have separate versions for
2477 alpha and everything else.
2479 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
2480 regexp which "info func operator\[\](" is supposed to match. Fix
2481 string to send to GDB. Note that GDB still doesn't work right. Add a
2482 new test for "info func .perator\[\](" which GDB does handle correctly.
2484 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
2488 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
2489 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
2490 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
2491 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
2492 it makes the tests harder to understand and confuses test-o-matic.
2493 The preferred style is that each test provides a PASS or a FAIL,
2494 and has a unique message (e.g. "continue #54" not just "continue")
2495 which is the same for the pass and the fail.
2496 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2497 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
2499 * gdb.base/printcmds.exp: Use test_print_accept. Remove
2500 prt_accept which was basically the same thing. Likewise for
2501 test_print_reject and prt_reject.
2502 * lib/gdb.exp (test_print_reject): Add some more error message
2503 patterns to match from the former printcmds.exp (prt_reject).
2504 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
2505 One defect of the passcount stuff is that some of it failed to
2506 report XPASS where appropriate.
2507 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
2508 stuff before and after arg in expected pattern.
2509 (test_paddr_operator_functions): Re-do test without print_addr_of;
2510 this is the only test which seems to want extra stuff there.
2514 * gdb.base/nodebug.exp: Update new tests to reflect improved
2515 wording of gdb output.
2517 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
2518 and "ptype" work on variables in files compiled without -g.
2519 Replaces commented out "maint print msymbol" tests.
2523 * gdb.base/setvar.c (dummy): Call malloc.
2525 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
2526 losing with the irix4 sed.
2528 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
2533 * TODO: Remove items about corefile.exp testing new exec-file and
2534 backtrace; both are now done. Add items about printing enums.
2538 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
2539 "get signal $thissig" test fails.
2541 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
2545 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
2546 compiler warning with dec alpha compiler.
2548 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
2549 extra \n from gdb_test call (this explains why the prompt test
2550 that I removed yesterday was there).
2551 (user_defined_command_test): Remove extra \n and prompt test.
2553 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
2554 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
2556 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
2557 Also remove alpha workaround, which turns out to be because
2560 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
2562 * gdb.base/help.exp: Don't test "help show".
2566 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
2567 "set print address" is on.
2568 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
2569 pass prompt to gdb_test; gdb_test already looks for the prompt.
2571 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
2573 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
2574 was a vestige of the manual TESTSTRATEGY, and the purpose of it
2575 was to make sure that gdb can read a core file. But (a) the "read
2576 the corefile" part didn't make it to a1-selftest.exp, we just
2577 delete the corefile after creating it, and (b) we test reading
2578 corefiles in corefile.exp anyway. Also, this test left around a
2579 xgdb process on Solaris.
2581 * gdb.base/corefile.exp: Also test backtrace.
2585 * gdb.base/commands.exp: Test a simple user defined command with
2586 arguments and if/while statements; verify the full user command is
2587 printed by "show user".
2589 * gdb.base/commands.exp: Test if/while commands as part of a
2590 breakpoint command list; verify they appear in breakpoint
2595 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
2596 than by dividing by zero.
2600 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
2601 performing an inferior call with watchpoints enabled.
2602 * gdb.base/watchpoint.c (main): Delete second unnecessary read
2607 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
2610 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
2611 Add additional pattern for when "int operator int(void);" appears
2612 in a different order.
2616 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
2618 * gdb.base/help.exp: Replace most of docstrings for "info signals"
2619 and "signal" with ".*".
2623 * TODO: Add note about "handle all nostop".
2625 * gdb.base/{sigall.c, sigall.exp}: New test.
2626 * gdb.base/Makefile.in: Add it.
2630 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
2631 when invoking GDB, suppresses any windowing interface.
2635 * config/sim-gdb: New file, simulator testing support.
2639 * gdb.base/interrupt.exp: Test calling func1 twice.
2643 * gdb.base/list.exp (test_forward_search): Set timeout higher
2644 when we'll be getting lots of output from gdb.
2646 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
2647 "init_malloc" to after the expect statement. Run it if that
2648 regexp is taken, but also for two others which happen if source
2653 * gdb.base/printcmds.exp: New test, for printing register before
2658 * gdb.base/list.exp: Correct some alternate expect patterns
2659 to reflect changes in list1.c.
2663 * TODO: Add item regarding large frames.
2665 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
2667 * TODO: Remove item about enabling return.exp; it
2668 is enabled. Suggest a few more "return" tests.
2672 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
2677 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
2678 and pr-5646.o, so "make" is the same as "make all", not "make
2683 * gdb.base/list.exp: Adjust expectations to reflect changes in
2685 (test_forward_search): New test proc.
2686 * gdb.base/list1.c (long_line): New function, has long source line.
2690 * gdb.base/a1-selftest.exp: Change initial stepping to know about
2691 additional line of code that was added.
2695 * gdb.disasm/hppa.s: Break the large branching tests into smaller
2696 tests so as not to overflow expect's input buffers.
2697 * gdb.disasm/hppa.exp: Corresponding changes.
2701 Beginnings of template debugging tests.
2702 * gdb.c++/templ-info.cc: New file to test for template
2703 debugging capability of the compiler.
2704 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
2706 * gdb.c++/templates.cc: Add explicit template instantiations
2707 to enable compiling with -fno-implicit-templates. Add destructor
2708 and 'value' method to T5 class for template tests.
2709 * gdb.c++/templates.exp: Add testcases for printing of template
2710 types, setting breakpoints on template methods and calling a
2715 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
2716 branch target since some assemblers (gas-2.5) may emit a
2717 relocation for the branch instead of resolving it in the
2722 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
2723 through signal handler.
2727 * configure.in (*-*-netware): Use config/mt-netware.
2729 * config/mt-netware: New file.
2730 * config/mt-i386-netware: Removed, separate configs for different
2731 netware architectures are no longer needed now that we have
2736 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
2737 by the recent changes to use ANSI C arithmetic conversions.
2741 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
2742 bug involving using inferior_pid to figure out whether to select a
2747 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
2748 match the current disassembler output.
2752 * gdb.fortran/exprs.exp: Expect VOID instead of void.
2753 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
2754 types, expect "int" as type of integer values (for now).
2758 * gdb.base/commands.exp: New tests for if/while commands.
2762 * lib/gdb.exp (runto): Replace sub-pattern for hex value
2763 by .*, since hex values have different syntax in Chill mode.
2767 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
2768 linefeed from expect pattern for repeated types with indices > 9.
2772 First part of Fortran test suite.
2773 * gdb.fortran: New directory.
2774 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
2778 * gdb.base/default.exp: Update expect pattern for load command
2783 * configure.in: Change i386 to i[345]86.
2784 * gdb.base/configure.in: Likewise.
2785 * gdb.c++/configure.in: Likewise.
2786 * gdb.chill/configure.in: Likewise.
2790 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
2791 patterns, since that is not a valid context for comments.
2795 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
2796 repeated types and repeated types with indices > 9.
2800 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
2801 2417; old bug has been fixed.
2805 * gdb.base/interrupt.exp: When trying to wake up the inferior,
2806 send the newline ourselves instead of assuming gdb_test will do
2807 so when passed an empty input string.
2809 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
2814 * lib/gdb.exp (gdb_test): Don't send anything if the first
2815 argument is an empty string. This makes cases where we want to
2816 match output that is already in expect's buffers (for example,
2817 matching a breakpoint after gdb_run_cmd has been called) work
2822 * config/netware.exp: New file.
2826 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
2827 the -B and -L prefixes so we can find the debugging stub.
2829 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
2830 there and we are using the gcc from the tree.
2832 * gdb.base/types.c: Removed.
2834 * gdb.base/configure.in: Look for makefile fragments in ../config.
2835 Recognize i386-*-netware.
2836 * gdb.c++/configure.in: Likewise.
2840 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
2841 the correct TCL syntax.
2845 * gdb.base/opaque.exp: use runto instead of messing around with
2846 breakpoints. Simplify by using gdb_test.
2848 * gdb.base/bitfields.exp: restart between tests on netware targets
2849 because breakpoints aren't relocated after target death. Run
2850 processes to completion.
2852 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
2856 * Makefile.in: Remove extra tabs that confuse some versions
2857 of "make". Use the newly built gdb to test with by default,
2858 rather than the first one in the tester's search path.
2862 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
2864 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
2869 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
2871 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
2873 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
2874 * gdb.base/funcargs.exp: Likewise.
2876 * gdb.base/bitfields.exp: Simplify by using gdb_test.
2877 * gdb.base/funcargs.exp: Likewise.
2879 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
2884 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
2885 return,signals,twice}.exp: Handle non-existant binaries
2888 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
2889 * gdb.base/Makefile.in: Don't try to generate a core dump, we
2890 might testing a cross development system.
2894 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
2895 runtest script is relative to ${srcdir}, not ${rootdir}.
2899 * gdb.base/signals.exp: Allow for optionality of breakpoint
2904 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
2908 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
2909 for size_t definition.
2910 * gdb.c++/templates.cc: Likewise
2912 * config/mt-i386-netware: New file.
2914 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
2917 * gdb.base/Makefile.in: Added support for systems that name core
2918 files by appending "core" to the program name.
2919 * gdb.base/a1-selftest.exp: Likewise.
2923 * gdb.base/return.exp: Add comment and message for `return double'
2924 test failure on Sparc Solaris.
2928 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
2932 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
2933 from optimizing them away.
2934 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
2935 patterns to include default constructors and assignment operators,
2936 to match gcc versions beyond 2.5.8. Accept any cplus demangling
2937 character in the output of the virtual base pointer.
2941 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
2942 expression match in print_addr_of to avoid unintented matches.
2943 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
2944 versions up to 2.5.8.
2948 * gdb.base/list.exp: Tweak alternate pattern for listing of an
2949 included file to run under newer versions of expect.
2950 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
2951 consecutive >'s in templates to accomodate recent cplus-dem.c change.
2952 Remove xfail for the virtual table of BDDHookV.
2956 * lib/gdb.exp (string_to_regexp): Set a default result.
2957 (default_gdb_start): Fix misleading message.
2961 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
2962 Remove all CC, etc definitions.
2963 * config/mt-hpux: New file.
2964 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
2965 (CFLAGS, LDFLAGS): Define.
2966 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
2968 * Makefile.in (site.exp): Don't insert host_os, etc.
2969 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
2970 (distclean): Check existence of subdir.
2971 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
2972 * gdb.base/Makefile.in: General cleanup and simplification.
2973 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2974 to build executables. Use default rule to build .o files.
2975 (EXPECT, RUNTEST, CC): Fix relative pathname.
2976 (site.exp): Don't insert host_os, etc.
2977 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
2978 and/or SIGUSR1 defined.
2979 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
2980 * gdb.c++/Makefile.in: General cleanup and simplification.
2981 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2983 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
2987 * gdb.base/recurse.exp: Misc changes to get tests running again
2988 after Kung's changes to the watchpoint code.
2989 * gdb.base/watchpoint.exp: Likewise.
2993 * lib/gdb.exp (string_to_regexp): Convert {\} also.
2997 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
2998 * lib/gdb.exp (default_gdb_start): Define.
2999 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
3000 gdb.base/funcargs.exp, gdb.base/opaque.exp,
3001 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
3002 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
3003 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
3004 Don't call gdb_target_udi in between tests.
3008 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
3009 (which was basically just a local version of the same thing). In
3010 addition to avoiding duplication, gdb_test_exact is faster.
3011 * lib/gdb.exp (gdb_test_exact): Fix typo.
3013 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
3014 don't give an error.
3016 * gdb.base/term.exp: Call delete_breakpoints before starting.
3018 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
3023 Reorganization of the GDB Test Suite.
3025 * gdb.base: New directory, contains all the basic tests.
3026 * gdb.c++: New directory, tests specific to C++.
3027 * gdb.chill: New directory, tests specific to Chill.
3028 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
3029 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
3030 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
3031 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
3032 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
3034 * */gdbme.*: Rename to match appropriate expect scripts.
3035 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
3036 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
3037 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
3038 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
3039 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
3040 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
3041 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
3042 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
3043 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
3044 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
3045 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
3046 gdb.c++/virtfunc.cc: New names of C++ files.
3047 * gdb.chill/chillvars.ch: New name of Chill file.
3048 * gdb.base/configure.in, gdb.c++/configure.in,
3049 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
3050 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3051 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
3052 * configure.in (configdirs): Update to reflect directory changes.
3053 (target_abbrev): No longer define for any configuration.
3054 * Makefile.in: Cosmetic improvements to header comments.
3058 Various changes to gdb.t31:
3060 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
3061 * gdbme.ch: Make all key-words and predefineds be upper-case.
3062 * chillvars.exp: Expect key-words and predefinds in upper-case.
3064 * chillvars.exp: Use gdb_test_exact many places.
3065 Change expected output for arrays (which now includes index labels).
3067 * pr-5020.exp, gdme.ch (module PR_5020):
3068 New test, for PR-5020.
3072 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
3073 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
3077 * Makefile.in: Fix bit-rot in definitions of CHILL,
3078 CHILL_FOR_TARGET and Chill_LIB.
3079 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
3080 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
3081 CHILL, and CHILL_LIB.
3085 * Revert the previous changes. Please see Rob's directory
3086 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
3090 * Makefile.in, configure.in, config/mips-gdb.exp,
3091 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
3092 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
3093 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
3094 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
3095 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
3096 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
3097 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
3098 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
3099 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
3100 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
3101 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
3102 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
3103 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
3104 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
3105 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
3110 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
3111 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
3112 Rob's new testing fragments.
3116 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
3117 lib/gdb.exp: Replace error proc calls with perror.
3121 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
3122 version also, match on casted version strings, and match on
3123 gdb startup case where the line numbers might be messed up.
3127 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
3128 (CFLAGS): Delete it from here.
3132 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
3136 * Makefile.in (RUNTEST): Default to just "runtest".
3140 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
3141 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
3142 the code has been restructured.
3146 * gdb.t00/default.exp (set write): Allow any number of \r and/or
3147 \n, not just one of each.
3149 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
3150 /bin/cc gives a warning if you do.
3154 * gdb.t24/demangle.exp: change expect pattern of
3155 __t10ListS_link1ZUiRCUiPT0
3159 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
3160 on local variables in recursive functions.
3162 * gdb.t07/Makefile.in: Build the new test.
3166 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
3167 directly. Instead compare the return values from actual calls.
3171 * Makefile.in (check): Set TCL_LIBRARY for runtest.
3175 * From Peter Schauer with minor modifications.
3176 * gdb.t15/return.exp (return_tests): Handle targets where "return"
3177 stops in mid-line in the caller. Add xfail for returning a float
3178 value on X86 targets.
3182 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
3183 to avoid expect lossage.
3184 (fmem_LRbug_tests): Likewise.
3185 * gdb.disasm/hppa.s: Corresponding changes.
3187 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
3188 conditions to work with latest dejagnu/expect.
3190 * gdb.t15/funcargs.exp (finish from indirect call): No longer
3191 expected to fail on the PA.
3192 (backtrace in call with trampolines): Explicitly require main
3193 to be frame #1 (no trampolines should show up in backtrace).
3195 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
3197 * gdb.t06/break.exp: Likewise.
3198 * gdb.t07/watchpoint.exp: Likewise.
3199 * gdb.t13/bitfields.exp: Likewise.
3200 * gdb.t15/{funcargs,return}.exp: Likewise.
3201 * gdb.stabs/weird.exp: Likewise.
3202 * config/{mips,udi}-gdb.exp: Likewise.
3204 * hppa.sed: Enclose comments within a sed command to avoid
3205 losing with the old OSF1 sed.
3209 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
3211 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
3212 * gdb.t15/funcargs.exp: Conditionally step again to really
3213 finish from marker_call_with_trampolines. Handle the case where
3214 the first step from within call_with_trampolines already steps
3216 * gdb.t15/gdbme.c: Add comment to closing brace of
3217 call_with_trampolines for funcargs.exp.
3221 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3226 * gdb.t07/gdbme.c: More code for watchpoint testing.
3228 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
3229 "Hardware watchpoint" throughout file.
3230 (test_watchpoint_triggered_in_syscall): New test.
3231 (test_complex_watchpoint): New test.
3235 * gdbme.c (call_with_trampolines): New function to try and step
3236 into. Tests trampoline problems on the PA.
3238 * funcargs.exp (localvars_in_indirect_call): No longer expect
3239 stepping into indirect call to fail on PAs.
3240 (test_stepping_over_trampolines): New test.
3244 * TODO: Add suggestions for static member function tests, and
3249 * TODO: Add suggestions for "p/a" tests.
3251 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
3252 (default_gdb_exit): Replace all the hair with sending "quit" to
3253 the process with a simple close.
3257 * TODO: Add suggestions for shared library tests.
3261 * TODO: Add suggestions for x/s tests.
3265 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
3266 "enable once", and "enable breakpoints once" with ".*".
3270 * TODO: Add suggestions about structure passing tests.
3274 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
3275 the primary1 test, use work around if __GNUC__ < 2.
3276 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
3277 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
3278 Test for bad output rather than waiting for timeout. Issue
3279 second continue only if first continue failed.
3283 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
3284 operator[] test with gdb_test because the old code didn't seem to
3285 be getting the quoting right with the new dejagnu.
3289 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
3291 * Makefile.in: Use a fresh expect if there is one, use runtest
3292 from the src tree if there is one.
3296 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
3297 next over recursive call. Revise the tests from that point on
3298 (which had been skipped) to match GDB's actual (correct) output.
3300 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
3301 with next over a breakpoint whose condition is false.
3303 * gdb.t00/help.exp: Comment out "help set print" tests just like
3304 (and for same reason as) "help set" test.
3308 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
3309 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
3313 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
3314 necessary gdb_target_udi.
3316 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
3318 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
3319 1838 and 2417; they are fixed.
3321 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
3322 gdb.t03/ptype.exp (ptype structure, ptype union):
3323 Remove xfails; the test is looser than when the xfails were added.
3325 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
3326 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
3328 * gdb.t01/run.exp: Only run shell test if isnative.
3330 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
3331 since "run" automatically loads if necessary. Call gdb_target_udi
3332 after the "file" since "file" kills any execution target.
3334 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
3335 GDB. GDB doesn't work that way (not anymore at least) on UDI.
3336 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
3341 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
3343 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
3347 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
3348 properly quoting regexps. This makes the second argument to
3349 demangle a fixed string, which matches the callers, instead of a
3350 shell-style pattern which is what the previous implementation
3351 used. Update some of the callers.
3355 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
3356 (comib_nullified_tests): Fix typo.
3357 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
3358 strings. No longer expected to fail.
3360 * gdb.disasm/hppa.s (addib_tests): Fix typo.
3361 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
3362 strings. No longer expected to fail.
3364 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
3365 string. No longer expected to fail.
3369 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
3370 No longer expected to fail.
3372 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
3373 string. No longer expected to fail.
3377 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
3378 only in the names (I probably got most of them). I was even
3379 generous with some which differed in underscores in names, and
3380 probably missed a few, and I *still* was able to remove almost a
3381 third of the file with almost no impact on testsuite coverage.
3385 * gdb.t00/default.exp: Match udi_attach error message as well as
3386 the one from child_attach.
3388 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
3390 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
3392 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
3393 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
3395 * Move test with enums and partial symbols back to
3396 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
3397 Reverts the change of 26 May 93. Per today's change to
3398 stabs.texinfo, the behavior that weird.exp was expecting was
3399 unreasonable; what is important is that the compiler+gdb get
3400 things right, which happens with a recent gcc. Also fix the test
3401 to deal with native compilers which put out the stab gdb can't
3406 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
3407 in the names. The main thing these accomplish is to slow things down.
3408 Many more such duplicates surely remain.
3410 * gdb.t00/help.exp: Comment out "help support" test just like
3411 (and for same reason as) "help set" test.
3415 * gdb.t06/break.exp: Remove setup_xfails for
3416 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
3417 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
3418 about known bug in gcc to include up through 2.5.8.
3419 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
3421 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
3422 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
3423 with latest gcc and gdb.
3424 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
3429 * configure.in (hppa*-*-*): Also configure and build stabs-only
3434 * gdb.t10/hppa.mt: A makefile fragment for the PA.
3435 * gdb.t10/configure.in (hppa*-*-*): Use it.
3439 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
3443 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
3444 versions prior to 1.13.5.
3448 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
3449 the prompt is at the start of a line.
3453 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
3454 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
3455 in the copr tests now.
3456 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
3457 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
3462 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
3463 gdb.t31/chillvars.exp, lib/gdb.exp:
3464 Tweak to run under either version of expect.
3465 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
3466 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
3467 * gdb.t11/list.exp: Remove extraneous whitespace.
3471 * gdb.t16/printcmds.exp (test_print_strings): Accept
3472 "(unsigned char *) " before the string.
3474 * TODO: Add notes about printing of fancy types and GDB expressions.
3478 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
3479 * gdb.t06/configure.in: Don't try to compile signals test program
3480 if doing mips-idt-ecoff.
3484 * Most .exp files: Tweak to run under either version of expect.
3488 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
3489 xfails; I'm not sure why they are failing, but not because of PR 1806.
3493 * config/unix-gdb.exp: Remove gdb_unload cause it's already
3494 defined in lib/gdb.exp.
3498 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
3499 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
3500 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
3501 have to be typeless.
3505 * TODO: Add suggestion for copyright year test.
3509 * configure.in (*-*-lynxos*): Add stabs tests.
3513 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
3514 so insert a tab before any assembler directive in column zero.
3516 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
3518 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
3520 (fpu_short_memory_tests): Likewise.
3524 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
3525 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
3526 .stabs directives in comments.
3530 * TODO: New file, describing tests we could write.
3531 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
3535 * gdb.t06/signals.exp: Add kludge to force re-sync.
3537 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
3538 to xgdb instead of gdb, get out of gdb.
3542 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
3547 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
3548 * gdb.stabs/configure.in (hppa*-*-*): Use it.
3549 * gdb.stabs/hppa.sed: New sed script for the PA.
3553 * gdb.stabs: Re-write weird.def and configuration to use sed
3554 instead of cpp. sed is portable and POSIX; cpp is neither.
3558 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
3562 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
3566 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
3568 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
3569 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
3573 * lib/gdb.exp: Comment out code which depends on non-existent
3574 `transform' procedure.
3578 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
3579 * lib/gdb.exp: Transform tool name.
3580 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
3581 1.1's new error handling system.
3585 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
3589 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
3590 They made pattern matching so slow that timeouts happened on
3591 heavily loaded systems. Now any output from "show print" which
3592 gets us back to the GDB prompt is a PASS.
3594 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
3596 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
3600 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
3602 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
3603 It is not from PR 3220.
3607 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
3608 just started failing because they depended on the order the
3609 subcommands are presented, or exact docstring text. This kind of
3610 test is a pain and has minimal benefit.
3614 * gdb.t09/corefile.exp: At end of test, use "core" command with
3617 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
3619 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
3620 17}/Makefile.in: Make it possible to run the testsuite with Sun
3621 make and CC = cross gcc by adding explicit build rules for .o
3626 * gdb.t15/funcargs.exp: Don't put comments on same line as
3627 setup_xfail (@#$*%& tcl braindamage!).
3631 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
3635 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
3636 * gdb.t20/inherit.exp: remove three dumplicate entries.
3640 * gdb.t06/break.exp: For "next over recursive call", fail on any
3641 incorrect output, not just on "factorial (value=2)".
3645 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
3646 working now. Add an xfail if accesing a bss variable causes
3647 a memory error if the target is not yet run.
3651 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
3652 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
3653 name of __st* demangling (2 strings). Did Kung really get the
3654 more than 95 others right without testing them?
3658 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
3662 * configure.in (configdirs): Add gdb.disasm
3663 * gdb.disasm: New directory for GDB disassembler tests.
3664 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
3668 * gdb.t00/help.exp: Don't test "help set".
3670 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
3671 from within expect statements. None of these happen anymore and
3672 they cause regressions to be silently unnoticed.
3674 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
3675 messages) about known failures with gcc cygnus-2.4.5-930417.
3677 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
3678 comp-info.exp so it gets built if it doesn't exist.
3680 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
3681 it is no longer used.
3682 * gdb.t13/comp-info.c: Removed.
3686 * gdb.t06/signals.exp: Add xfail for sun3.
3690 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
3691 relevant because ^C doesn't get sent but failure can be reproduced
3696 * gdb.stabs/alpha.mt: New configuration file for alpha.
3697 * gdb.stabs/configure.in: Use it.
3698 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
3699 sharing with alpha.mt, redefine long to word via preprocessor.
3700 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
3702 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
3704 * gdb.t00/teststrategy.exp: Change expect string so that we
3705 consume the `(xgdb)' from the command echo and from the gdb prompt.
3706 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
3707 gdb currently compares all values as long, so this failure probably
3708 applies to any configuration where LONGEST is bigger than a target int.
3709 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
3711 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
3712 to handle opaque pointers, gcc is.
3713 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
3714 as first argument. Include <sys/types.h> and change all operator
3715 new definitions to use size_t.
3716 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
3717 now that we use size_t.
3721 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
3722 a long or float array cast all array members to the same type.
3723 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
3725 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
3727 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
3731 * gdb.t24 (demangle.exp): Constructors of templates have names like
3732 vector<int>::vector(int) not vector<int>::vector<int>(int). See
3733 section 14.6 of the ARM.
3735 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
3736 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
3737 accomplish little and slow down the testsuite.
3739 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
3740 Accept spaces various places.
3744 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
3745 with watchpoint enabled.
3747 * Makefile.in: Remove definition of CC and remove the second
3748 definition of CXX (the "CXX = gcc" one remains). These definitions
3749 were causing backquotes to be expanded within backquotes, which
3754 * gdb.t17/callfuncs.exp: Add "return 0" to end.
3758 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
3759 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
3760 by mips cc and contains no stabs entries.
3764 * config/vx-gdb.exp: Use fake device to load files rather than
3766 * lib/gdb.exp: New proc to do "file" command.
3767 * config/unix-gdb.exp: Use new "file" proc.
3771 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
3772 Rework board rebooting slightly.
3773 (gdb_exit): Don't exit from the remote shell; there isn't one.
3774 * gdb.stabs/weird.exp: If a program is being debugged already,
3776 * gdb.t04/setvar.exp: Stop and restart gdb.
3777 * gdb.t05/expr.exp: Likewise.
3778 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
3779 restart gdb and reload the program.
3780 * gdb.t08/opaque.exp: Likewise.
3781 * gdb.t12/scope.exp: Likewise.
3782 * gdb.t13/bitfields.exp: Likewise.
3783 * gdb.t15/funcargs.exp: Likewise.
3784 * gdb.t20/classes.exp: Likewise.
3785 * gdb.t03/ptype.exp: Increase timeout.
3786 * gdb.t16/printcmds.exp (test_print_string_constants,
3787 test_print_array_constants): Likewise.
3788 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
3789 * gdb.t20/classes.exp (do_tests): Likewise.
3790 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
3794 * gdb.stabs: Renamed *wierd* to *weird*.
3798 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
3799 for timeout. Add "known gcc 2.4.5 bug" to failure message.
3803 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
3804 (do_tests): Remove xfail for whatis on one_var and two_var.
3808 * Makefile.in: Made cross building work better by adding
3809 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
3813 * gdb.t15/{return.c,return.exp,Makefile.in}:
3814 New test, currently commented out.
3818 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
3819 still running and removes the leftover named socket so GDb can do
3824 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
3826 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
3827 cross testing works better with "make check"
3828 * config/unix-gdb: Use default procedures for exit and version.
3829 * config/vx-gdb.exp: Cleaned up and massaged back to working order
3830 with the newest VxWorks.
3834 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
3837 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
3838 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
3840 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
3842 * config/unix-gdb.exp: Remove this version of gdb_exit
3843 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
3844 Rob says he'll look at it when he gets back to testing boards.
3848 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
3849 an expected fail for certain ptype commands.
3851 * gdb.t20/classes.exp: Update expected results of "ptype class
3852 Base1" to account for the constructor that now appears in the type.
3856 * configure.in (configdirs): Restore gdb.t04, which mysteriously
3857 disappeared from list.
3858 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
3859 "alldone" proc with call to cleanup and exit.
3860 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
3861 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
3862 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
3863 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
3864 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
3865 "alldone" proc with simple returns that suppress remaining
3866 tests. The alldone proc went away many months ago.
3870 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
3872 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
3876 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
3877 as vax gdb will display them.
3881 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
3884 * scope.exp: Change "bad value for localval" messages so each one
3887 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
3888 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
3890 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
3894 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
3895 doesn't exist (due to optimization).
3899 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
3900 contains \r because the filename is long.
3902 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
3903 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
3907 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
3908 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
3910 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
3912 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
3916 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
3918 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
3919 to match does not match the passing case but still matches the
3924 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
3928 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
3929 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
3930 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
3931 Remove various versions of gdb_exit.
3932 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
3934 * config/unix-gdb.exp: gdb_exit remains here, and should override
3935 the generic version, since it's doing a lot of wierd stuff that
3936 the other versions aren't. FIXME, fold it in, or abandon this
3941 * gdb.t24/demangle.exp: Add tests for PR 3220.
3945 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
3949 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
3950 "i386-*-*". Works for i486 as well.
3952 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
3953 bug, and expand domain of xfail to all SVR4 systems, since the
3954 actual problem is likely to be in generic SVR4 /proc support.
3958 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
3962 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
3963 xfails for other systems. Match a missing 'Continuing.' as an
3964 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
3966 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
3967 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
3968 Only issue warning for missing executables if -all option is used.
3970 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
3971 file if -all option is used. It's like an unpredictable XFAIL.
3975 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
3976 for dynamically linked binaries.
3978 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
3982 * gdb.t20/inherit.exp: Change message for "print tagless struct"
3983 to state that this is a known bug in old versions of g++.
3987 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
3988 while waiting for `Continuing'.
3992 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
3993 in text, data, and bss.
3994 * gdb.t10/nodebug.c: Add local and global test variables for
3995 initialized and uninitialized data.
3999 * config/unix-gdb.exp (gdb_exit): Add "wait".
4003 * gdb.t06/signals.exp: xfail the continue from the handler for all
4006 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
4007 function with watchpoints enabled, the i386 call dummy starts with
4010 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
4011 386 bsd names its corefiles.
4015 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
4016 compilers don't grok it.
4017 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
4018 with small octal ints rather than character constants, which
4019 are signed and might not fit if first promoted to int.
4023 * gdb.t09/Makefile.in (clean): Remove corefile.
4027 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
4032 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
4033 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
4034 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
4038 * gdb.t17/interrupt.exp: Add xfail for hppa.
4042 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
4043 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
4044 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
4045 to determine signed-ness of bitfields and use the result to setup
4047 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
4048 * gdb.t15/funcargs.exp: Use them to step until the second indirect
4049 call line is reached if necessary.
4053 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
4057 * gdb.t06/break.exp: Also test `clear' command.
4061 * gdb.t00/teststrategy.exp: Remove extra quote.
4063 * gdb.t07/watchpoint.exp: Change xfail for calling function with
4064 watchpoint enabled to be for all non-68k machines.
4066 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
4070 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
4071 targets use aout.mt instead of ecoff.mt as gas understands
4072 standard aout format.
4076 * lib/gdb.exp (runto): Don't insist that function we are running to
4077 was compiled with -g.
4079 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
4081 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
4082 to get back into the read system call.
4083 Accept leading newline in case where we woke it up.
4087 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
4088 to make the stabs test work on ecoff systems using gcc and -with-stabs.
4089 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
4090 enable ecoff configuration.
4094 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
4098 * gdb.t16/printcmds.exp: Add another printf test.
4102 * configure.in: If configured -with-stabs on any target, add
4103 stabsdirs to configdirs.
4107 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
4108 fun" so pattern does not match the command itself.
4112 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
4116 * gdb.t17/interrupt.exp: Test for more things.
4120 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
4121 compiler arranges the code and line numbers.
4123 * gdb.t17/interrupt.exp: Don't send \n after ^C.
4127 * gdb.t00/help.exp: Increase expect input buffer size.
4131 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
4133 * gdb.t07/watchpoint.exp: Add xfail for hppa.
4135 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
4137 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
4138 [0-9]*, not just [0-9].
4142 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
4144 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
4148 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
4152 * gdb.t06/signals.c: Add xfails for sun3.
4154 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
4156 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
4157 test_stepping tests.
4161 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
4163 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
4165 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
4166 rather than actually putting it through cpp twice.
4168 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
4172 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
4177 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
4179 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
4180 C++ features prints as "struct", make it a pass, not an xfail.
4184 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
4185 Don't require VA to print as "class" rather than "struct".
4189 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
4193 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
4197 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
4202 * gdb.t16/printcmds.exp: Add printf tests.
4204 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
4206 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
4210 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
4211 pass counts, to counteract any existing or future setup_xfails.
4215 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
4216 {BEGIN,END}_COMMON for common block instead of STAB.
4217 * gdb.stabs/wierd.exp: Add xfail for rs6000.
4219 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
4220 intp_var should be N_GSYM not N_LSYM.
4221 wierd-aout.S: Use a label for the value of the N_SO.
4222 wierd.def: Remove all backslashes.
4223 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
4227 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
4228 get the expected next to inheritance3.
4232 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
4233 now that gcc-2.4 gets it right.
4237 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
4239 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
4240 generating comp-info.exp which works for cross-compilation.
4244 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
4249 * gdb.t01/run.exp: Start with a fresh gdb.
4250 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
4255 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
4256 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
4257 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
4258 Makefile.in (distclean, realclean): Remove gdbme.c from list of
4263 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
4264 test cases from bug reports.
4268 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
4269 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
4270 avoid spurious xfails.
4271 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
4272 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
4273 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
4277 * gdb.t00/teststrategy.exp: Rework to provide more useful
4278 description of each test, fix problem with systems that define
4279 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
4280 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
4281 results for "next over recursive call" so timeouts aren't taken
4286 * gdb.t12/scope.exp: Test printing of variables before run.
4288 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
4289 printed in wrong order due to sorting.
4293 * gdb.t00/teststrategy.exp: Fix expected results for printing
4294 user entered string constant. Is array of char, prints with no
4297 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
4299 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
4300 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
4301 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
4302 of struct of char arrays.
4303 * gdb.t00/radix.exp: New tests for radix commands.
4307 * gdb.t16/printcmd.exp: Print a variable before running program
4308 (with xfail for AIX).
4312 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
4314 * gdb.t16/printcmd.exp: Don't print variables before running program.
4316 * gdb.t06/break.exp: Don't require envp argument to main.
4318 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
4320 * gdb.t02/whatis.exp, gdb.t11/list.exp:
4321 Add xfails for rs6000.
4323 * gdb.t02/whatis.exp: Change other tests not to re-test something
4326 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
4327 each type used has a variable of that type.
4331 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
4333 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4335 * configure.in: change srctrigger to be a file, not a directory
4339 * configure.in (mips-idt-ecoff*): Added trailing '*'.
4341 * gdb.t11/list.exp: Fixed a couple of typos.
4345 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
4346 is fixed and PR is closed.
4347 * gdb.t16 (gdbme.c): Add simple test string variable.
4348 * gdb.t16 (printcmds.exp): Add tests with simple test string
4349 variable, primarily for boundaries on "set print elements".
4353 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
4354 Make leading 0's optional and don't expect a tab in the middle
4357 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
4359 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
4360 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
4361 don't end command passed to gdb_test with newline.
4363 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
4364 signed keyword away, don't expect signed bitfields to be signed.
4366 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
4367 printing with only as many 1's as are in the field as well as printing
4368 with 32 1's (see comment).
4372 * gdb.t00/default.exp: Start with a fresh gdb.
4373 * configure.in (configdirs): Remove gdb.t31 until the chill
4374 compiler works again. It no longer is able to find chillrt0
4375 since it isn't in libchill.a anymore.
4376 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
4377 wierd.o, make more modular.
4378 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
4379 spurious newlines that caused problems.
4383 * Move test with enums and partial symbols from gdb.t03/ptype.exp
4384 to gdb.stabs/wierd.exp since GCC has worked around the bug.
4385 gdb.stabs/wierd.{exp,def}: Many new tests.
4387 * gdb.t00/default.exp: update info line for new message.
4389 * gdb.t02/{whatis.exp,gdbme.c}:
4390 Test that "char *" doesn't print as "caddr_t".
4394 * gdb.t00/help.exp: Use .* in place of some help messages which
4396 gdb.t00/default.exp: Update "info frame" test for new message.
4397 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
4402 * gdb.t03/{gdbme.c,ptype.exp}:
4403 Add tests for typedef'd struct and union without tags.
4404 Also check "whatis" on a variable of a typedef'd enum without a tag.
4406 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
4407 PRMS 1823; the bug still exists but isn't reproduced by this test
4408 anymore), and remove rs6000 XFAIL (the bug is fixed).
4410 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
4411 duplicated from whatis.exp. For those that are left, accept
4412 "long", "long int", or "int" for long variables (whatis.exp already
4413 has an XFAIL for "int", so no need to fail it here).
4415 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
4416 Deal with GCC's names for types now that GDB uses the compiler's names.
4418 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
4419 setup_xfail's for sunos4. If we #defined the signed keyword away,
4420 don't expect GDB to know that char it is signed.
4422 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
4426 * configure.in (configdirs): Add gdb.t24 for C++ tests that
4427 should work on any system, regardless of debugging format.
4428 * gdb.t21/demangle.exp: Move to gdb.t24.
4429 * gdb.t24/demangle.exp: Move from gdb.t21.
4430 * gdb.t24/{Makefile.in, configure.in}: New files.
4434 * configure.in: Do gdb.stabs and C++ tests only for stabs.
4435 * gdb.stabs: New directory.
4439 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
4440 not just "Quit anyway?".
4444 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
4445 that all setup_xfails are immediately followed by clear_xfails.
4449 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
4450 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
4451 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
4452 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
4453 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
4454 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4455 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4456 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
4457 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
4458 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
4459 gdb.t31/chillvars.exp, lib/gdb.exp:
4465 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
4466 with 0.0, not integer 0.
4470 * gdb.t06/break.exp: Update for "Kill the program" message change.
4474 * Makefile.in (GDBFLAGS): Set to -nx.
4475 * Makefile.in (site.exp): Use GDBFLAGS.
4479 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
4481 (check): depend on just-check.
4482 (just-check): added so that tests can be run without a noop
4487 Switch to using configure's configdirs.
4488 * Makefile.in (Makefile): add configure.in dependency.
4489 (SUBDIRS): removed redundant assignment.
4490 * configure.in: switch subdirs assignment to configdirs.
4491 * gdb.t*/configure.in: new files.
4495 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
4500 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
4501 in explicit rules. Apparently this is not supported by some makes.
4505 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
4509 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
4514 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
4518 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
4519 watchpoint problem that is now fixed.
4520 * gdb.t30/chexp.exp: Remove setup_xfail for printing
4521 uninitialized convenience variables.
4522 * gdb.t31/chillvars.exp: Fix expected patterns for printing
4527 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
4528 which causes expect to get out of sync with gdb on long output
4530 * gdb.t09/corefile.exp: Make expected pattern for core file
4531 failing signal and frame output format less sun specific.
4535 * gdb.t31/chillvars.exp: Add and remove initial dummy
4536 breakpoint, so that symbol table is forced in.
4537 (Needed at least on Sunos4, though it seems not SVR4.)
4538 * gdb.t31/chillvars.exp: Update for changed output format.
4540 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
4542 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
4546 * Makefile.in: Added --srcdir when invoking runtest, removed the
4547 need for a local config file. (optional now)
4551 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
4552 failure count used to force early termination. Add some more
4553 expected failures for gnu style demangling.
4557 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
4558 pmi variable from gdb.t20/gdbme to get optimized away.
4559 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
4560 Check for written corefile upon timeout _and_ eof.
4564 * config/unix-gdb.exp: Add missing return 0.
4568 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
4573 * configure.in (subdirs): Put back gdb.t17 which mysteriously
4578 * gdb.t10/crossload.exp: Disable the i860-elf test until such
4579 time as i860 support works.
4581 * gdb.t15/funcargs.exp: Fix expected outputs to include
4582 "backtrace 100\r" rather than just "backtrace\r", to match last
4587 * config/udi-gdb.exp (gdb_exit): Remove close command.
4588 (gdb_target_udi): New procedure to set the UDI target.
4589 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
4590 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
4591 Added waits for prompts after several question responses. Added
4592 some more responses used by a29k-amd-udi-gdb.
4593 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
4594 pass different arguments, restart UDI connection after program
4596 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
4597 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4598 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
4599 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
4600 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
4601 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
4602 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4603 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
4604 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
4605 after program completion.
4606 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
4607 compiled with a SELECT_VECS setting.
4608 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
4611 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
4612 Added checks for COFF results, and made them expected failures for
4613 all targets. It would be better to make them expected failures
4614 for COFF targets only.
4616 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
4618 * Makefile.in: add null dvi target, don't bother to recurse
4619 through test directories for info and install-info; rename
4620 $(datadir) to be dejagnu instead of deja-gnu
4624 * gdb.t31/gdbme.ch: Re-enable code that previously caused
4625 compiler to coredump.
4626 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
4631 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
4633 * gdb.t31/chillvars.exp: Comment out tests that depend on that
4636 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
4638 * gdb.t03/ptype.exp: tests for return code from gdb_test.
4639 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
4640 which in a shell. Deletes xgdb when done.
4641 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
4642 Tests the return from the "set height" or "set width" commands.
4643 Added a few return codes where needed.
4647 * Makefile.in (SUBDIRS): Add gdb.t17.
4648 * configure.in (subdirs): Add gdb.t17.
4649 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
4650 files to test gdb's calling of functions in the inferior with
4651 the correct arguments and gdb's ability to retrieve any
4656 * config/unix-gdb.exp (gdb_exit): Remove close commands that
4657 may be called after gdb goes away. Previous versions of expect
4658 needed these to avoid file descriptor leaks, but they cause
4659 errors with the current revision of expect.
4660 * gdb.t00/gdbvars.exp: Use -re on expected output after
4661 setting sevenbit-strings.
4662 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
4663 to set sevenbit-strings consistent across tests.
4664 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
4665 set sevenbit-strings consistent across tests.
4669 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
4670 expected output to match current "expect" expectations.
4674 * gdb.t00/default.exp: Change expected output for default "source"
4675 command, to match new gdb behavior which requires a filename to
4680 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
4681 expected fail for i486-*-* that misses the marker2 function.
4682 * gdb.t10/crossload.exp (bfddefault): Allow successful
4683 recognition of a format to pass even if no symbols are found.
4684 Explicitly catch failures where the format is not recognized
4685 or is ambiguous, and add the reason to the fail message.
4686 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
4687 the cause is and invalid target and add reason to failure message.
4688 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
4689 elf32-i386, elf32-sparc, and elf32-i860.
4690 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
4691 Set up expected failure for 'filename'::variable scope resolution,
4692 which is now apparently broken on all targets.
4693 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
4694 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
4695 gdb.t23/templates.exp: Change failure for missing binfile into
4697 gdb.t21/demangle.exp: Change all cfront references to 'arm'
4702 * gdb.t00/default.exp: Add expected output for default "source"
4703 command, to match new gdb behavior.
4704 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
4708 * config/*-gdb.exp: returns an error, rather than exiting on
4713 * gdb.t03/gdbme.c: Add pointer to struct variable.
4714 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
4715 referencing struct members.
4719 * configure.in (mips-idt-ecoff): New target.
4720 * config/mips-gdb.exp: New file for remote board using MIPS remote
4723 * Redid configuration scheme. Removed gdb.t*/configure.in.
4724 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
4725 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
4726 distclean targets. Built executables via .o files. Adjusted
4727 tests to account for source files in $(srcdir) rather than
4729 * lib/gdb.exp (runto): Don't expect () after the function name,
4730 because it may have arguments.
4734 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
4735 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
4736 expected failures for mips-idt-* and mips-sgi-*.
4737 * gdb.t00/default.exp (attach): Kill process if requested.
4738 * gdb.t00/help.exp (help target core, help target): Accept a gdb
4739 that does not read core files.
4740 * gdb.t01/run.exp: Removed checks for exit status code.
4741 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
4743 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
4744 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
4745 appropriate, rather than doing it by hand.
4746 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
4748 * gdb.t10/crossload.exp: Kill existing program if needed.
4749 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
4750 appropriate, rather than doing it by hand. Always increase
4751 timeout for this test, not just for VxWorks.
4755 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
4756 of Chill STRUCT types and STRUCT values.
4757 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
4759 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
4760 struct2): New struct definitions and initializations to test
4761 simple Chill STRUCT types.
4765 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
4766 the null byte at the end of strings.
4767 * gdb.t00/default.exp: Make show version insensitive to copyright
4769 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
4770 to avoid dependencies on target char signedness.
4771 * gdb.t16/printcmds.exp: Update expected results for explicitly
4773 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
4775 * gdb.t21/demangle.exp: Add many more patterns for template
4776 demangling, most of them being expected failures.
4777 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
4778 string we are matching for, to match on the whole string.
4779 * gdb.t21/demangle.exp: Add many new test strings to demangle,
4780 and fix a whole bunch that had incorrect expected output but were
4781 passing anyway because of the bug in "proc demangle".
4782 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
4784 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
4788 * gdb/testsuite: made modifications to testcases, etc., to allow
4789 them to work properly given the reorganization of deja-gnu and the
4790 relocation of the testcases from deja-gnu to a "tool" subdirectory.
4794 * gdb/testsuite: Initial creation of gdb/testsuite.
4795 Migrated dejagnu testcases and support files for testing nm to
4796 gdb/testsuite from deja-gnu. These files were moved "as is"
4797 with no modifications. This migration is part of a major overhaul
4798 of dejagnu. The modifications to these testcases, etc., which
4799 will allow them to work with the new version of dejagnu will be
4800 made in a future update.
4806 version-control: never