4 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
9 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
10 remote dos host testing right.
14 * gdb.base/corefile.exp: remove some xfails.
18 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
19 have different timestamps.
23 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
24 gdb.base/default.exp: Replace "exec" with "executable".
28 * gdb.gdbtk/browser.test: Fix tests which incorrectly assume
29 that gdb knows _exactly_ which files belong to the user
30 and which come from libraries.
34 * gdb.base/default.exp: Change else if to elseif from previous
39 * gdb.base/default.exp: Add brace missing from previous delta.
43 * gdb.base/default.exp: Support test for info float for all
44 varieties of arm toolchain.
48 * gdb.trace/*.exp: remove "remote_download" command.
52 * gdb.trace/*.exp: remove -gdwarf from compile.
56 * gdb.trace/configure.in(AC_INIT): typo
57 * gdb.trace/configure: regenerated
61 * config/m68k-emc.exp: New file.
62 * lib/<emc-support.exp trace-support.exp}: New files.
63 * configure.in: add new test directory gdb.trace.
64 * gdb.trace/{configure configure.in Makefile.in}: New files.
65 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
66 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
67 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
68 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
69 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
70 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
71 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
75 * gdb.c++/classes.exp: Change all regular expressions to match
76 arbitrary combinations of newline/carriage-return, so that they
77 will work equally well on Unix and Windows.
78 * gdb.c++/inherit.exp: ditto.
79 * gdb.c++/virtfunc.exp: ditto.
83 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
88 * gdb.gdbtk/Makefile.in: Add new example program "stack".
89 * gdb.gdbtk/browser.test,browser.exp: Add browser window
91 * gdb.gdbtk/stack1.c,stack2.c: Test case for browser window.
97 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
98 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
99 to use a0-a3/d0-d3 as needed.
103 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
104 * gdb.disasm/am33.exp: Corresponding changes.
110 * configure.in: Fix sanitization start/end error.
111 * configure: Regenerate.
115 * gdb.base/callfuncs.exp: add cmp10 test.
116 * gdb.base/callfuncs.c (cmp10): new function.
120 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
121 into two parts to get around a synchronization problem in expect.
126 * gdb.gdbtk/simple.c (main): Make main return an
127 int so compiler will stop complaining.
131 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
133 * configure.in: Add options for gdbtk testsuite.
135 * configure: Regenerate.
137 * gdb.gdbtk: New directory to hold gdbtk tests.
139 * gdb.gdbtk/console.{exp, test}: New console window tests.
144 * gdb.fortran/types.exp: Escape brackets in expect patterns
145 for test_float_literal_types_accepted tests.
146 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
152 * am33.exp: Just compile, do not link the testcase.
153 * am33.s: Add ".am33" pseudoop to force am33 mode.
158 * gdb.base/setshow.exp: make sure $pc is sane.
160 * gdb.stabs/weird.exp: split expect patterns properly.
165 * gdb.disasm/am33.s: New disassembler testfile for the am33.
166 * gdb.disasm/am33.exp: Run it.
171 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
172 match processing (and eliminate spurious timeouts when running).
176 * gdb.base/signals.exp (test_handle_all_print): put back Mach
177 exception test, but conditionalize it on target [mach | gnu].
181 * gdb.base/overlays.exp: fixup compile line for linker script.
185 * gdb.fortran/types.exp: don't guess at float size.
189 * gdb.base/exprs.exp: delete test that depends on int size.
193 * config/sim.exp: Removed checks for target triplets.
194 (gdb_target_sim): Use gdb,target_sim_options.
198 * gdb.base/reread.exp: New file.
199 * gdb.base/reread1.c: New file.
200 * gdb.base/reread2.c: New file.
204 * config/sim.exp: Use 'target sim -sparclite' when running
209 * gdb.base/structs2.exp: New file.
210 * gdb.base/structs2.c: New file.
214 * gdb.asm/common.inc: New file.
215 * gdb.asm/d10v.inc: New file.
216 * asm-source.exp: Pass -I's to gas to find .inc files.
217 Update line numbers in expected output.
218 * asmsrc1.s: Rewrite.
219 * asmsrc2.s: Rewrite.
220 * configure.in: Create arch.inc symlink.
221 * configure: Regenerate.
222 * Makefile.in (distclean): Delete arch.inc.
226 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
227 (t_enum_value2): ditto
228 (t_enum_value3): ditto
232 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
233 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
235 Use gdb_test instead of send_gdb/gdb_expect sequences.
239 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
244 * gdb.base/branches.c: Code with lots of loops and
245 subroutines. Used to test gdbs ability to single step through PC
246 changes, especially to test mips-tdep.c:mips_next_pc
250 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
251 more rigorous EGCS C++ error checking.
255 * gdb.base/help.exp: Clean up `help set args' and `help show args'
257 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
258 function when asleep.
259 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
260 for i*86 Linux and SVR4 signal handling problems.
261 Remove linux xfail for `next to handler in signals_tests_1', fixed
262 by recent infrun.c change.
263 Limit backtrace to 10 frames to avoid timeout problems with infinite
265 Adjust expect pattern in `handle all print' test to match Apr 28 1997
270 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
271 for a newline from gdb before continuing.
272 (default_gdb_exit): Just look for y or n.
273 (gdb_test): Detect abnormal exit from GDB running on DOS; if
274 it does, fail the rests of the tests in the file.
278 * config/cygmon.exp: New file.
282 * gdb.base/list.exp: Fix problem with "list default lines around
283 main" test on remote targets.
285 * gdb.base/scope.exp: Fix problem with filelocal_bss before
286 run test on remote targets.
290 * gdb.asm: New directory.
291 * configure.in: Configure it.
292 * configure: Regenerate.
293 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
294 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
298 * config/mn10300-eval.exp: New file to support MN10300 eval board.
302 * gdb.base/overlays (several files): Merge the two overlay
303 managers into one. Change variables (foox, barx, bazx, grbxx)
304 back into ints but force them to load in their proper sections.
308 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
309 on-chip insn memory and IMAP1 to upper 128k.
310 (D10VCopy): Handle memory regions crossing 16k boundaries.
311 (D10VCopy): Transfer data in 32 bit chunks.
315 * gdb.base/overlays.c (main): Exit normally when result is
318 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
319 map. Include space for printf in .text segment.
321 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
322 updated d10v memory VMA/LMA map.
323 (D10VCopy): Call D10VTranslate.
327 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
329 * gdb.base/bar.c (barx, bar): Change variable to small array so
330 that it won't be put into the .sdata - small data -
331 section. Update reference.
332 * gdb.base/baz.c (bazx, baz): Ditto.
333 * gdb.base/foo.c (foox, foo): Ditto.
334 * gdb.base/grbx.c (grbxx, grbx): Ditto.
336 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
341 * gdb.base/overlays.exp: fix up and get working again.
342 Add tests for backtraces from an overlay function.
346 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
347 "calling function with watchpoint enabled".
351 * gdb.base/break.exp (test_next_with_recursion): Remove
352 gdb_suppress_tests for d10v-*-*.
353 * lib/gdb.exp (gdb_suppress_tests): Disable this function
354 pending review of whether it is useful or not.
358 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
362 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
363 * config/dve.exp: New file to support Densan boards.
367 * gdb.base/interrupt.exp: Document problem of simulators, signals,
372 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
375 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
379 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
382 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
383 target_sizeof_long and target_bigendian_p.
384 (structs_by_value, structs_by_reference): Check values according
385 to targets word size and endianess.
389 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
394 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
395 Update test of set args help to match source change.
399 * gdb.base/default.exp: Expect help system output to be in
401 * gdb.base/help.exp: Ditto.
405 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
406 "i*86-pc-linux-gnu*".
407 * gdb.base/interrupt.exp: Ditto.
408 * gdb.base/corefile.exp: Ditto.
410 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
411 define vxworks when building the testcase.
413 * gdb.base/ptype.exp: Fix testnames to be unique.
414 * gdb.base/radix.exp: Ditto.
415 * gdb.base/term.exp: Ditto.
416 * gdb.base/whatis.exp: Ditto.
417 * gdb.c++/classes.exp: Ditto.
421 * gdb.base/callfuncs.exp: Fix indentation.
423 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
424 suppress_flag has been set.
425 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
430 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
433 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
434 set_debug_traps() and breakpoint().
435 * gdb.c++/misc.cc (main): Ditto.
436 * gdb.c++/templates.cc (main): Ditto.
437 * gdb.c++/virtfunc.cc (main): Ditto.
441 * lib/gdb.exp(gdb_step_for_stub): New function.
442 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
443 exists, reload the executable and do a "continue" instead of
445 (runto_main): Use gdb_step_for_stub.
447 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
448 tests to have unique names.
449 * gdb.base/callfuncs.exp: Ditto.
450 * gdb.base/commands.exp: Ditto.
451 * gdb.base/default.exp: Ditto.
452 * gdb.base/help.exp: Ditto.
453 * gdb.base/list.exp: Ditto.
454 * gdb.base/opaque.exp: Ditto.
455 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
458 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
459 * gdb.c++/cplusfuncs.cc: Ditto.
460 * gdb.c++/virtfunc.cc: Ditto.
462 * config/monitor.exp: Keep track of the last file we saw, rather
463 than trying to get the info from gdb.
465 * gdb.fortran/types.exp: Move comment to previous line.
469 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
475 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
476 string from GDB when it connects.
478 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
482 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
483 if we can't get a debug format from GDB (we may be testing an
484 older GDB). Use a 10 second timeout when checking for the format.
486 * gdb.stabs/weird.exp: Fix quoting.
488 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
492 * config/arm-ice.exp: New file.
496 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
497 until it has been modified to work with the new testsuite.
499 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
500 testcase won't compile, cause all of the testcases in the file to
503 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
504 (gdb_clear_suppressed): New procedure.
505 (gdb_stop_suppressing_tests): Only clear suppress_flag if
506 it contains a positive value.
510 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
512 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
516 * lib/gdb.exp (setup_xfail_format): New function.
517 (get_debug_format): New function to get debug format.
518 (debug_format): New global variable to hold last value set
520 * gdb.base/list.exp: Call get_debug_format and expect some
521 tests to fail for DWARF 1 and COFF formats.
522 * gdb.c++/ptype.exp: Ditto.
523 * gdb.c++/classes.exp: Ditto.
524 * gdb.c++/cplusfuncs.exp: Ditto.
525 * gdb.c++/inherit.exp: Ditto.
526 * gdb.c++/templates.exp: Ditto.
527 * gdb.c++/virtfunc.exp: Ditto.
531 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
532 host doesn't have a currently-open connection.
534 * config/sparclet.exp: Cleanups and fixes to make it generic for
535 any gdb stub target. Handle cases where gdb doesn't respond when
536 interrupted in a sane fashion.
538 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
539 same thing in a totally different way.
541 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
543 (gdb_start): We set the global gdb_prompt variable in
544 default_gdb_init now.
548 * gdb.base/printcmds.exp: Fix "check for floating addition"
549 regexp to accept results within approx +/- .01 of exact value.
550 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
554 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
556 (gdb_expect): Add optional timeout parameter, and add timeout
557 value to various calls.
558 (gdb_suppress_tests): Only give one warning message per group.
562 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
563 global variables. Handle getting a value for $timeout more
568 * lib/gdb.exp: Close connection to remote host if gdb doesn't
570 (default_gdb_init): New procedure; allow gdb_init to be overridden
571 by a target configuration file.
572 (gdb_expect): Pass the timeout to remote_expect.
574 * config/monitor.exp(gdb_load): Fix typo in regexp.
578 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
582 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
583 here. Call gdb_target_exec before rebooting the target, to make
584 sure the connection to the target is closed.
585 (gdb_load): Pass the name of the executable to gdb_target_monitor.
586 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
587 Also detect "Timeout reading from remote" error.
589 * config/gdbserver.exp: Pass the executable being loaded to
590 gdb_target_monitor. Don't call gdb_file_cmd here; let
591 gdb_target_monitor do it.
593 * gdb.disasm/hppa.exp: Don't use exec_output.
597 * gdb.base/list.exp: If we're debugging a non-native target,
598 try to set the pc register to point to the start of the
599 program before doing the first list command.
601 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
602 test_calls after restarting.
604 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
607 * gdb.base/watchpoint.exp: Fix typo.
609 * gdb.base/setshow.exp: Check for use_gdb_stub.
611 * gdb.base/break.exp: Fix continue until exit test for the gdb
613 * gdb.base/langs.exp: Ditto.
615 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
616 gdb_load_offset. If we weren't given a file to load, figure out
617 what the current file is and use it.
619 * config/i386-bozo.exp: New file.
623 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
626 * config/proelf.exp: New entry.
630 * lib/gdb.exp: Remove spurious .* patterns at the beginning
633 * gdb.base/watchpoint.exp: Don't run the test_stepping
634 tests if gdb can't call functions on the target.
636 * gdb.base/setshow.exp: Don't run the set prompt tests if
637 the board has gdb_prompt set.
641 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
642 * gdb.base/commands.exp: Likewise.
643 * gdb.base/setshow.exp: Likewise.
647 * config/monitor.exp(gdb_start): Look for gdb_prompt target
650 * config/i960.exp: New file.
654 * gdb.base/funcargs.exp: Check for gdb,short_int target
655 feature instead of looking for explicit target triplets.
659 * gdb.base/printcmds.exp: add a couple more tests a la
660 "p 123DEADBEEF", to check parse_number.
661 * top.c: change "to enable to enable" to "to enable" in a couple
666 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
671 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
672 where the test executable is run with explicit args.
673 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
677 * gdb.base/run.c: Use FAKEARGV to build test executable that
678 does not require a command line arg, since most simulators
679 don't currently support passing such an arg into the simulated
681 * gdb.base/commands.exp: Change tests to insert the proper
682 value as the arg to the first recursive factorial call. Change
683 compilation line to define FAKEARGV at compile time.
687 * gdb.base/recurse.exp: Enable these tests for the mn10300.
688 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
689 function with watchpoint enabled" test.
693 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
694 Don't call gdb_test when the command doesn't return to a gdb prompt.
696 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
697 "Tests restarted" messages.
701 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
705 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
706 for INFO SYMBOL; add help tests for OVERLAY commands.
707 * gdb.base/default.exp: add tests for INFO SYMBOL command;
708 add tests for OVERLAY commands
709 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
710 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
711 * gdb.base/sigall.c: add usestubs code frag
712 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
716 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
718 (gdb_stop_suppressing_tests): Note that tests have restarted.
722 * config/h8300.exp: New file.
726 * gdb.base/setshow.exp: Check for the existence of a
727 feature, not its value.
731 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
733 * gdb.base/scope.exp: It's now init0(), not init().
735 * gdb.base/scope0.c: For now, change init() to be init0().
737 * config/monitor.exp: Use gdb_serial in preference to serial
740 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
741 and it's not already set.
745 * gdb.base/setshow.exp: Only test the run command if the target
746 isn't using a stub and if it supports argument passing.
750 * config/udi.exp(gdb_start): Make sure UDICONF is set
751 properly before starting gdb.
755 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
756 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
757 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
761 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
762 specialized code to reboot the board, use remote_reboot instead.
764 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
766 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
768 * config/monitor.exp: Make sure we disconnect from the target.
769 Also, try a reboot/reload cycle instead of failing if the
774 * gdb.base/default.exp: Don't set match_max.
775 * gdb.base/help.exp: Ditto.
776 * gdb.base/list.exp: Ditto.
777 * gdb.base/signals.exp: Ditto.
779 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
780 set, use remote_ld to download the testcase instead of
785 * config/vr5000.exp: New file.
787 * config/monitor.exp(gdb_target_monitor): Add pattern for
788 "Ending remote" to detect errors in connecting.
790 * gdb.base/setshow.exp: Add .* within auto language test.
792 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
795 * config/monitor.exp(gdb_load): Check for a failure when loading,
796 and reboot the board if necessary.
798 * gdb.base/setvar.exp(test_set): Handle multiple prints within
799 a set of tests. Remove print.* from the patterns being checked.
803 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
804 refer to gdb_spawn_id.
806 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
808 * config/sparclet.exp: Ditto.
809 * config/sparclet-old.exp: Ditto.
810 * config/slite.exp: Ditto.
811 * config/sim.exp: Ditto.
812 * gdb.base/funcargs.exp: Ditto.
814 * lib/gdb.exp:Remove references to gdb_spawn_id.
815 (gdb_expect): Move to remote.exp.
819 * config/monitor.exp: Detect the "Couldn't establish connection"
824 * gdb.base/bitfields.exp: Use runto instead of explicit
825 gdb_run_cmd/gdb_expect sequences.
827 * gdb.base/break.exp(text_next_with_recursion): Add match for
830 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
831 We also need to handle the "A program is being debugged already"
832 prompt from gdb. Use gdb_test to set the baud rate.
834 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
835 to 20000. Really. I mean it.
839 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
840 fails. If suppress_flag is set, skip perror message about not
841 being able to send to GDB.
842 (send_gdb): If suppress_flag is set, don't try to send commands to
844 (gdb_expect): If suppress_flag is set, always fail immediately.
845 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
846 (gdb_init): Call gdb_stop_suppressing_tests.
847 (default_gdb_exit): Ditto.
848 (default_gdb_start): Ditto.
850 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
851 gdb_stop_suppressing_tests as appropriate.
852 * gdb.base/break.exp: Ditto.
853 * gdb.base/callfuncs.exp: Ditto.
854 * gdb.base/commands.exp: Ditto.
855 * gdb.base/exprs.exp: Ditto.
856 * gdb.base/funcargs.exp: Ditto.
857 * gdb.base/list.exp: Ditto.
858 * gdb.base/recurse.exp: Ditto.
859 * gdb.base/scope.exp: Ditto.
860 * gdb.base/structs.exp: Ditto.
861 * gdb.c++/inherit.exp: Ditto.
865 * config/vr4300.exp: New file.
867 * gdb.*/*.exp: Call gdb_expect instead of expect.
869 * lib/gdb.exp(gdb_expect): New function.
873 * lib/gdb.exp(gdb_init): New function.
875 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
876 for each individual variable set.
878 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
881 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
883 * gdb.base/scope.exp: Use gdb_test.
885 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
886 aborting; the testsuite driver will do that for us (see
887 gdb_finish). Also, use gdb_test in a few more places.
891 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
895 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
896 and "add_tests" are not at the same address.
900 * gdb.base/ptype.exp: Use gdb_test.
904 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
905 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
906 left in. No longer expect them to fail.
908 * gdb.stabs/*.mt; Deleted, no longer used.
909 * gdb.stabs/configure.in: Remove references to target makefile
911 * gdb.stabs/configure: Rebuilt.
913 * gdb.disasm/*.mt: Deleted, no longer used.
914 * gdb.disasm/configure.in: Remove references to target makefile
915 frags. Use "sh3.s" as the unique filename for this directory.
916 * gdb.disasm/configure: Rebuilt.
918 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
919 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
920 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
924 * config/udi.exp: Use mondfe,name instead of remote_host.
928 * gdb.base/watchpoint.exp: Don't expect a failure when calling
929 a function with a watchpoint enabled on the mn10200.
931 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
932 before trying to create it!
936 * config/vx.exp: Use hostname instead of netport.
938 * config/vxworks.exp: New file.
940 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
942 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
943 gdb before assuming everything worked. Send a ^C if a timeout
946 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
947 $gdb_spawn_id directly.
948 (gdb_run_cmd): Try _start as well as start. Use the target feature
949 gdb,start_symbol as the symbol to start from when jumping.
953 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
956 * gdb.base/recurse.exp: Relax final value test for 'b' so that
957 it doesn't lose for 16bit integer systems.
961 * gdb.fortran/types.exp: If the target doesn't support "double"
962 data types, then expect "real" types to only be 4 bytes.
964 * gdb.c++/virtfunc.exp: Expect failure for virtual function
965 call tests if the target doesn't support inferior function calls.
967 * gdb.base/printcmds.exp: Allow minor deviation in FP values
972 * gdb.base/help.exp: Disable "help set", "help show", and
973 "help support". Simplify regexp for "help stack".
975 * gdb.base/default.exp: Set match_max to 5000 and the timeout
976 to 60 seconds. Temporarily set match_max to 15000 around the
979 * gdb.base/nodebug.exp: Don't try to do an inferior function
980 call if the target doesn't support them.
981 * gdb.base/printcmds.exp: Likewise.
982 * gdb.base/setvar.exp: Likewise.
983 * gdb.base/structs.exp: Likewise.
984 * gdb.c++/templates.exp: Likewise.
985 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
987 * gdb.base/recurse.exp: Enable for the mn10200.
989 * configure.in: Do configure gdb.stabs directory for *-*-elf
991 * configure: Rebuilt.
993 * gdb.base/break.exp: Check for gdb,noresults before testing
994 exit status and/or results from the target.
995 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
996 * lib/gdb.exp: Remove old (now bogus) initialization of
997 noinferior, noargs, noresults and nosignals.
1001 * config/sh.exp: New file.
1003 * config/slite.exp: Try to connect multiple times to the board
1004 before rebooting. Only send a "monitor run" if need_monitor_run
1007 * gdb.base/break.exp: Don't do the "stub continue" test if
1008 the target has gdb_stub set.
1010 * gdb.base/callfuncs.exp: Increase the timeout.
1012 * gdb.base/interrupt.exp: Don't even try to compile the testcase
1013 if the target has gdb,noinferiorio set.
1015 * gdb.base/list.exp: Increase match_max to 10000 characters.
1017 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
1019 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
1022 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
1026 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
1027 trying to delete the copy of gdb. Catch the file delete so we
1028 don't die if the delete fails; also, the file should be copied to
1029 the host, not to the build.
1033 * lib/gdb.exp(gdb_test): Surround the result pattern with
1034 parenthesis in case it contains multiple regexps separated
1037 * gdb.base/watchpoint.exp: Use gdb_test.
1038 * gdb.base/default.exp: Ditto.
1042 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
1044 * gdb.base/scope.exp: Use gdb_test.
1045 * gdb.c++/classes.exp: Ditto.
1046 * gdb.c++/inherit.exp: Ditto.
1050 * gdb.base/crossload.exp: Don't use execute_anywhere, use
1051 remote_exec instead.
1052 * gdb.base/corefile.exp: Don't be ridiculous.
1053 * gdb.base/*.c: Add missing stub invocations.
1057 * config/slite.exp: Miscellaneous fixes.
1059 * lib/gdb.exp: Fix runto.
1061 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
1064 * gdb.base/watchpoint.exp: Fix regexp.
1066 * lib/gdb.exp(default_gdb_exit): Add a catch to the
1067 close and wait commands, as the descriptor may now be
1068 invalid. Always call "remote_close host".
1072 Major rewrite for testsuite revision.
1074 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
1075 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
1076 instead of relying on spawn_id to always contain a valid
1078 (get_compiler_info): New procedure to build the ${binfile}.ci
1079 file, instead of replicating this in N different places.
1080 (gdb_compile): New procedure.
1082 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
1083 appropriate arguments) instead of compile. Use gdb_test in a lot
1084 more places. Use send_gdb instead of send. Always run gdb_start
1085 at the start of a testcase, as this is no longer done magically.
1087 config/*-gdb.exp: Rename without the -gdb suffix.
1089 config/mips.exp: Use remote_close instead of exit_remote_shell.
1090 config/monitor.exp: Use target_info instead of looking at
1092 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
1096 * gdb.c++/templates.exp (test_ptype_of_templates),
1097 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
1098 Update expect patterns for destructors and assignment operators
1099 to match corresponding c-typeprint.c changes.
1100 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
1101 to destructor breakpoint test, GDB should be able to set the
1102 destructor breakpoint without specifying arguments.
1106 * gdb.threads/pthreads.exp: Change result for failure to compile due
1107 to lack of pthreads runtime support from an error to simply an
1108 unsupported test, per dejagnu standards.
1112 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
1113 where GDB exits to reduce pattern match time.
1114 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
1116 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
1120 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
1121 * gdb.base/default.exp: ditto.
1122 * gdb.base/nodebug.exp: ditto.
1123 * gdb.base/printcmds.exp: ditto.
1124 * gdb.base/ptype.exp: ditto.
1125 * gdb.base/setvar.exp: ditto.
1126 * gdb.base/structs.exp: ditto.
1127 * gdb.base/setshow.c: Guard against uninitialized values of argc.
1131 * configure, */configure: Rebuild with autoconf 2.12.
1135 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
1136 use new i*86-pc-linux*-gnu quads.
1137 * gdb.base/corefile.exp: Ditto.
1138 * gdb.base/signals.exp: Ditto.
1139 * gdb.base/sigall.exp: Ditto.
1140 * gdb.base/interrupt.exp: Ditto.
1142 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
1143 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
1146 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
1147 linux. This allows the test case to at least compile on latest
1148 linux, but still not run due to missing the threads runtime library.
1152 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
1153 directory to search gdb directory. Accept and step over conditional
1154 stack alignment code. Consume $prompt in failure cases.
1155 Reset timeout to $oldtimeout instead of some arbitrary value.
1156 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
1157 timeout problems with infinite stack backtraces.
1158 * gdb.base/ptype.exp (ptype struct link, union tu_link):
1159 Accept function parameters for linkfunc member.
1163 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
1164 (CXXFLAGS): Remove, unreferenced.
1165 (B_OPTIONS): Add for -B options and add code to initialize with
1166 previous -B options and also add -B option to pick up cross compiled
1168 (TARGET_INCLUDES): Add for -I options and add code to initialize when
1169 doing cross compiles.
1170 (target_alias): Declare global.
1171 (xgcc): Set variable to full path of gcc in build tree. Use findfile
1172 to verify that gcc exists in build tree, and if so set CC to that
1173 gcc and to use B_OPTIONS and TARGET_INCLUDES.
1177 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
1178 ptype test for anonymous union. Fixup testcase to match
1179 current gcc debug output.
1183 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
1184 force argument to an unsigned long type.
1188 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
1189 tests and anonymous union print/ptype tests.
1190 * gdb.base/list.exp (test_forward-search): Increase timeout by
1191 5 minutes for the "search extremely long line" case.
1192 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
1193 completely optional and that the pass/fail messages use the command as
1194 the message if that third arg is a null string.
1195 (gdb_test_exact): Arrange that a null string pattern means match a
1196 null string output rather than any output, which might include random
1198 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
1200 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
1201 always failing and failure is now exposed by gdb.exp changes.
1205 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
1206 weren't being noted.
1210 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
1211 * gdb.stabs/weird.exp: Remove v_comb xfails.
1215 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
1216 list.exp scope.exp watchpoint.exp]
1217 Make all timeout error msgs explicitly say "(timeout)".
1221 * config/monitor.exp: Increase download timeout to 1000 seconds.
1225 * config/m32r.exp: Increase timeout to 120 seconds.
1229 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
1230 and accept older ordering as obsolescent gcc or gdb.
1231 * gdb.c++/templates.exp: Ditto.
1232 * gdb.c++/virtfunc.exp: Ditto.
1236 * gdb.base/coremaker.c: Add code to mmap some data so we
1237 can check that it ends up in the core file.
1238 * gdb.base/corefile.exp: Add test to read mmapped data
1243 * config/m32r.exp: New file.
1247 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
1248 that cflags can contains -gstabs, and work correctly for other tests.
1252 * gdb.base/setshow.exp: New file, tests show and set.
1253 * gdb.base/setshow.c: New file, tests show and set.
1254 * gdb.base/help.exp: Add test for help set|show annotate.
1255 * gdb.base/default.exp: Add test for set|show annotate.
1259 * testsuite/gdb.base/break.exp: Make backtrace from factorial
1261 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
1266 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
1267 and width commands. This is done elsewhere.
1268 * (gdb_start): Don't call gdb_start_sim here. That's already
1269 done in gdb_load. This fixes lots of failures in default.exp.
1274 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
1275 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
1276 in the same we we treat other failures (since it may be an expected
1277 condition), rather than as an error.
1278 * gdb.base/signals.exp (test_handle_all_print): Revert back to
1283 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
1284 (distclean maintainer-clean realclean): No need to remove files
1285 twice. Nuke the duplicates.
1286 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
1287 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
1288 Remove config.h along with other config files.
1292 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
1293 "p func1 ()" and note that rests of tests are skipped.
1294 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
1295 setup_xfails for "print func2::coremaker_local".
1296 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
1297 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
1298 affected by the previous run test.
1299 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
1300 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
1301 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
1302 "pass int powerset tuple" and "pass modeless int powerset tuple".
1303 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
1304 "real write 4" and "real write 8".
1305 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
1306 setup_xfails for "print vs1 after tuple assign 2",
1307 "print \$i after tuple assign 2", and
1308 "print vs2 after tuple assign 2".
1309 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
1310 meaningful error message and return -1 so the caller can
1311 suppress further tests and avoid a cascade of errors.
1315 * gdb.base/a1-selftest.exp: Tweak tests to account for new
1316 format for printing version.
1317 * gdb.base/default.exp: Ditto.
1318 * gdb.base/interrupt.exp: Fix problem with cascade of
1319 errors if child process dies while calling a function.
1323 * Makefile.in (VPATH): Add
1324 * Makefile.in (Makefile, config.status): Fix rules so things get
1325 remade when necessary.
1329 * Makefile.in (just-check): Add path to sibling expect dir
1330 to environment variable specified by RPATH_ENVVAR.
1334 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
1335 (just-check): Add shared library paths for libstdc++, tk,
1336 tcl, bfd, and opcodes to the environment variable specified
1338 * configure.in: Add support to recognize --enable-shared flag
1339 and generate correct value for RPATH_ENVVAR.
1340 * configure: Regenerated with autoconf.
1344 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
1345 include all osf versions.
1346 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
1347 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
1348 when target is linux. When failing to build pthreads test
1349 executable, give more meaningful message.
1350 * gdb.threads/pthreads.c: Hpux also uses old definition of second
1351 arg for pthread_create.
1355 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
1356 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
1357 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
1358 and -lpthreads (everybody else).
1359 (test_startup): Fail gracefully if threads are not supported.
1360 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
1361 "p/c array_index("abcdef",2)" when not gcc compiled.
1362 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
1363 "print func2::coremaker_local" when not gcc compiled.
1364 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
1365 "ptype on opaque struct tagname (statically)",
1366 "ptype on opaque struct tagname (dynamically) 1", and
1367 "ptype on opaque struct tagname (dynamically) 2"
1368 for not compiled with gcc.
1369 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
1370 backtrace when compiled with gcc.
1371 * lib/gdb.exp (runto_main): Return result of "runto main" rather
1372 than always return success.
1376 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
1380 * gdb.base/structs.exp: Undo last change.
1384 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
1385 encapsulate all the steps/nexts done during self test, starting
1386 at main, and makes them less sensitive to optimization issues.
1387 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
1388 signal handler" test.
1389 * gdb.threads/pthreads.exp: Only run this for native configs.
1390 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
1391 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
1393 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
1394 for "runto test_calls(void)" test.
1398 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
1399 and don't expect address info in breakpoint confirmations.
1403 * gdb.base/list.exp (test_forward_search): Increase timeout
1404 temporarily by 60 seconds for searching extremely long line,
1405 and then reset to old value when done. Increase expect input
1410 * gdb.base/list.exp (test_forward_search): Fix to handle very
1411 long source line without overflowing expect's input buffer.
1415 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
1418 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
1421 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
1424 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
1429 * configure.in (configdirs): Add gdb.threads.
1430 * configure: Regenerated with autoconf.
1431 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
1432 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
1433 * gdb.threads/configure: New, generated with autoconf.
1437 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
1441 * gdb.base/signals.exp (test_handle_all_print): Test separately for
1442 each signal's status in the output of "handle all print".
1443 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
1444 the \r\n sequence that immediately precedes the gdb prompt.
1445 * gdb.base/a1-selftest.exp: Save original timeout and restore
1450 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
1455 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
1459 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
1460 timeout by 60 seconds.
1464 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
1465 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
1470 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
1471 gdb initialization, also report how long dejagnu waited. Restore
1472 old timeout before doing error return. Temporarily increase timeout
1473 by 3 minutes to allow for slow startups over heavy NFS use.
1477 * lib/gdb.exp: Report timeout value for verbosity level 2.
1478 * config/gdbserver.exp: Ditto.
1479 * config/hppro.exp: Ditto.
1480 * config/mips-gdb.exp: Ditto.
1481 * config/monitor.exp: Ditto.
1482 * config/netware.exp: Ditto.
1483 * config/sim-gdb.exp: Ditto.
1484 * config/slite-gdb.exp: Ditto.
1485 * config/udi-gdb.exp: Ditto.
1486 * config/unix-gdb.exp: Ditto.
1487 * config/vx-gdb.exp: Ditto.
1488 * gdb.base/a1-selftest.exp: Ditto.
1489 * gdb.base/a2-run.exp: Ditto.
1490 * gdb.base/break.exp: Ditto.
1491 * gdb.base/corefile.exp: Ditto.
1492 * gdb.base/list.exp: Ditto.
1493 * gdb.base/recurse.exp: Ditto.
1494 * gdb.base/scope.exp: Ditto.
1495 * gdb.base/signals.exp: Ditto.
1499 * gdb.threads/Makefile.in (docdir): Removed.
1503 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1504 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
1506 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
1507 autoconf 2.5 or higher.
1508 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
1512 * configure: Regenerated.
1513 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
1514 avoid name clashes with SunOS headers.
1518 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
1522 * gdb.base/callfuncs.exp: Finish last change -- make sure the
1523 prototype information ends up in the compiler info file.
1527 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
1528 attempting to regenerate it. Eliminate use of a temporary file
1529 and just generate the info file directly. Source it immediately,
1530 for consistency of use.
1531 * gdb.base/corefile.exp: Ditto
1532 * gdb.base/exprs.exp: Ditto.
1533 * gdb.base/funcargs.exp: Ditto.
1534 * gdb.base/langs.exp: Ditto.
1535 * gdb.base/list.exp: Ditto.
1536 * gdb.base/mips_pro.exp: Ditto.
1537 * gdb.base/nodebug.exp: Ditto.
1538 * gdb.base/opaque.exp: Ditto.
1539 * gdb.base/ptype.exp: Ditto.
1540 * gdb.base/scope.exp: Ditto.
1541 * gdb.base/setvar.exp: Ditto.
1542 * gdb.base/signals.exp: Ditto.
1543 * gdb.base/whatis.exp: Ditto.
1544 * gdb.c++/templates.exp: Ditto.
1545 * gdb.c++/virtfunc.exp: Ditto.
1546 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
1547 whether or not to add -lstdc++ to the compile command line args.
1551 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
1552 it got fixed by the recent lookup_minimal_symbol_by_pc change.
1553 Increase timeout, a lot of single stepping might be needed if the
1554 target has no hardware watchpoints.
1558 * gdb.base/break.exp: Ignore compiler warnings when compiling
1560 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
1561 * gdb.base/default.exp: Add h8300 xfails. Handle messages
1563 * gdb.base/exprs.exp: Add h8300 xfails.
1564 * gdb.base/funcargs.exp: Likewise.
1565 * gdb.base/nodebug.exp: Likewise.
1566 * gdb.base/printcmds.exp: Likewise.
1567 * gdb.base/ptype.exp: Likewise.
1568 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
1570 * gdb.base/return.exp: Handle float/double precision problems
1572 * gdb.base/funcargs.c: Explicitly make last constant argument to
1573 call_after_alloca_subr an unsigned long type.
1574 * gdb.base/return.c: Include stdio.h.
1578 * config/abug.exp: New file for the older Motorola Bug monitor
1579 that runs on the mvme13x series VME boards.
1580 * config/monitor.exp: Use the new config array for target settings
1585 * sim-gdb.exp: Make the SH simulator allocate less space when
1590 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
1595 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
1596 "rs6000-*-*" for "list function in include file" when gcc compiled.
1597 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
1598 for "p ctable1[120]".
1599 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
1600 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
1601 Remove setup_xfail for "rs6000-*-*" for
1602 "print 'scope0.c'::filelocal before run".
1603 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
1604 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
1605 since some compilers don't allow both options to be given
1606 on the same command line. Create object file and move it.
1610 * gdb.base/corefile.exp: Always regenerate the core file, since
1611 we always regenerate the coremaker program. Detect special case
1612 where registers cannot be read from core file.
1617 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
1618 * gdb.c++/templates.exp: Only match on basename of file since
1619 some formats like xcoff don't encode directory information.
1620 * gdb.stabs/weird.exp: Use the right sed script for powerpc
1621 and rs6000 AIX xcoff targets.
1622 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
1623 * configure: Regenerate.
1624 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
1625 here, rather than in distclean.
1629 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
1630 defined, and use it to compile the test case with -O2. The
1631 native compilation still uses no optimization.
1632 * gdb.base/mips_pro.c: Remove inline assembly code since
1633 it is compiled PIC by default, which results in assembler
1634 warnings that make the testsuite think the compilation
1639 * gdb.c++/misc.exp: Add note to message for
1640 "print s.a for foo struct" that this is a known gcc 2.7.2
1645 * gdb.base/break.exp: Fix pattern for matching "Delete all
1646 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
1647 setup_xfail for deleting all breakpoints test. Fix various
1648 timeout messages to include "(timeout)".
1649 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
1650 for "p t_float_values2(3.14159,float_val2)".
1651 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
1652 for "continue to call2g" when gcc compiled.
1653 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
1654 "up to foo in langs.exp", "show language at foo in langs.exp",
1655 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
1656 and "show language at fsub in langs.exp".
1657 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
1658 "list line 1 in include file", "list message for lines past EOF",
1659 "list function in include file", "list list0.h:foo", and
1660 "list filename:function; nonexistant function".
1661 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
1662 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
1663 and "ptype t_char_array" to be for native cc only.
1667 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
1668 setup_xfail for "print coremaker_bss", "print coremaker_ro",
1669 "print func2::coremaker_local", and "backtrace in corefile.exp".
1673 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
1674 "bt in signals.exp". This problem only appears when running
1675 the testsuite, and then only intermittently.
1679 * gdb.base/return.exp (return_tests): Differentiate between
1680 two tests of continuing.
1684 * */Makefile.in (maintainer-clean): Remove config.log.
1685 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
1686 * gdb.c++/Makefile.in (PROGS): Add inherit.
1687 (clean): Remove *.ci.
1691 * gdb.c++/misc.cc: Add test code from Mike Stump.
1692 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
1696 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
1697 to "alpha-*-osf2*" and add comment.
1698 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
1699 setup_xfail for "step over execarg initialization" and
1700 "step over corearg initialization".
1701 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
1702 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
1703 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
1704 gcc compiled for "print coremaker_bss", "print coremaker_ro",
1705 "print func2::coremaker_local", and "backtrace in corefile.exp".
1706 * gdb.base/signals.exp: Build and source signals.ci.
1707 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
1709 * lib/gdb.exp: Move verbose statements outside conditionals.
1713 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
1714 Feb 3 procfs.c change.
1718 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
1722 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
1723 from dejagnu's apparent default of 10 seconds, which gives random
1724 results when running the tests over NFS on moderately loaded systems.
1725 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
1729 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
1730 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
1735 * configure.in (CY_AC_PATH_TCLH): Remove.
1736 * configure: Regenerate.
1740 * gdb.c++/Makefile.in (clean): Add missing '{'.
1744 * lib/gdb.exp: Provide a default value for noinferior.
1746 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
1751 * gdb.disasm/hppa.exp: Compile directly into an executable, use
1752 the executable, not the .o to run the tests from.
1756 * gdb.base/break.exp: Don't test for program exit or exit status
1757 if $noresults if nonzero.
1758 * gdb.base/langs.exp: Likewise.
1759 * gdb.base/watchpoint.exp: Likewise.
1761 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
1762 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
1763 trying to compile the testcase.
1767 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
1768 * gdb.base/signals.exp (continue to handler): Likewise.
1772 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
1774 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
1778 * gdb.base/corefile.exp: Recognize "not found" as failure
1779 when trying to determine if a core file was generated.
1780 If no core file was generate the first time, try again without
1781 the ulimit -c to work around braindamaged shells.
1785 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
1786 [] tests with "test" and enclose string in quotes.
1787 * gdb.stabs/configure: Rebuild
1791 Changes in sync with expect:
1792 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
1793 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
1794 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
1795 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
1796 argument to AC_REQUIRE.
1797 * configure: Regenerated.
1801 * gdb.base/corefile.exp: When generating a core, discard any
1802 error messages about ulimit not found and the "core dumped"
1803 message from the shell that runs the coredumper.
1807 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
1809 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
1810 which sed script to run. Expect failure for v_comb test
1815 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
1816 "print func2::coremaker_local" and for "backtrace in corefile.exp"
1820 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
1821 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
1822 "sparc-sun-solaris*" xfails for "p v_comb".
1823 * lib/gdb.exp (default_gdb_start): Fix typo.
1824 * gdb.base/corefile.exp: Allow "Core was generated by ..."
1825 messages to not include the full program name that caused
1826 the core dump since some systems (such as solaris) apparently
1827 truncate this path to about 80 characters.
1828 When generating a core file first try increasing the core file
1829 size limit to unlimited since some systems may default it to
1830 zero, and it is harmless to try it. Move the test for failing
1831 to generate a core file to where it will actually get executed.
1832 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
1833 new gdb result from g++ debug info improvements and make old
1834 pattern obsolescent. Also account for size_t differences
1835 (may be int or long).
1836 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
1837 initialization before function call is placed in the delay slot
1838 and thus appears to be skipped over by commands such as "next".
1842 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
1846 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
1847 input source file; fix code to compile test to deal with this
1849 * gdb.c++/*.exp: Likewise.
1853 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
1854 "bt in signals.exp".
1858 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
1859 "step over execarg initialization" and
1860 "step over corearg initialization".
1864 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
1865 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1870 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
1871 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
1872 configure.in}, gdb.disasm/{Makefile.in, configure.in},
1873 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
1874 configure.in}: Major reworking for autoconfig.
1875 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
1876 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
1878 * config/unix-gdb.exp: Make GDB global.
1879 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
1880 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
1881 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
1882 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
1883 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
1884 term.exp, twice.exp, watchpoint.exp, whatis.exp},
1885 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
1886 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
1887 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
1888 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
1889 pr-8136.exp, result.exp, string.exp, tuples.exp},
1890 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
1891 to returns as necessary, arrange for test to compile own testcase
1893 * lib/gdb.exp: Changes for testsuite to compile own test cases.
1897 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
1898 clear_xfail at end of test which might not call either pass or fail.
1899 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
1900 "backtrace through signal handler".
1904 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
1905 continuing from a job control stop signal.
1906 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
1910 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
1911 * gdb.base/corefile.exp: Likewise.
1912 * gdb.base/funcargs.exp: Likewise.
1916 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
1917 * config/monitor.exp: Add support for setting baud rate.
1921 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
1922 i*86-*-linux* xfails for "backtrace through signal handler".
1923 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
1924 "print func2::coremaker_local".
1925 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
1926 alpha-dec-osf2* xfail for
1927 "delete all breakpoints when none".
1931 * gdb.base/break.exp: Change test that deletes all breakpoints
1932 when no user breakpoints are installed. A post 4.15 change
1933 causes gdb to no longer prompt in this case.
1937 * gdb.base/return.exp (return_tests): Change xfail for test
1938 "correct value returned double test" to stop xfailing at
1939 Solaris 2.5. Apparently the bug has been fixed.
1943 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
1944 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1948 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
1949 * gdb.disasm/hppa.s: Corresponding changes.
1953 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
1955 * config/mt-hpux: Deleted.
1959 * Many files: When warning about suppressed tests due to a
1960 nonexistant test binary, avoid incrementing the warning count.
1964 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
1968 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
1969 "sparc-*-solaris2*".
1973 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
1974 Add global and local variables and initialize them.
1975 * gdb.base/corefile.exp: Test correct mapping of corefile sections
1976 by printing variables. Remove rs6000 and powerpc xfails, BFD now
1977 extracts the file name and terminating signal from the core file.
1978 * TODO: Remove note about tests for correct mapping of corefile.
1979 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
1980 from optimizing it away.
1981 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
1982 handles common blocks.
1986 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
1987 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
1991 * Makefile.in (maintainer-clean): New target, synonym for
1993 * gdb.base/Makefile.in (maintainer-clean): Likewise.
1994 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
1995 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
1996 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
1997 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
1998 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
2002 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
2003 xfails when not gcc compiled for "print foo::funclocal".
2004 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
2005 "print foo::funclocal at foo",
2006 "print 'scope1.c'::foo::funclocal at foo",
2007 "print foo::funclocal_bss at foo",
2008 "print 'scope1.c'::foo::funclocal_bss at foo",
2009 "print foo::funclocal_ro at foo",
2010 "print 'scope1.c'::foo::funclocal_ro at foo",
2011 "print bar::funclocal at foo" and
2012 "print 'scope1.c'::bar::funclocal at foo".
2013 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
2014 gcc compiled for "print foo::funclocal at bar".
2015 Expand all messages to ensure that they identify that
2016 the test is at bar().
2017 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
2019 "ptype on opaque struct pointer (statically)",
2020 "ptype on opaque struct tagname (statically)",
2021 "ptype on opaque struct pointer (dynamically) 1",
2022 "ptype on opaque struct tagname (dynamically) 1",
2023 "ptype on opaque struct pointer (dynamically) 2" and
2024 "ptype on opaque struct tagname (dynamically) 2
2025 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
2031 "whatis bsslocal", and
2033 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
2034 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
2035 when not gcc compiled.
2036 * gdb.base/funcargs.exp (float_and_integral_args): Add
2037 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
2039 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
2040 "backtrace from call6a" when not gcc compiled.
2041 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
2042 "backtrace from call7a" when not gcc compiled.
2043 * gdb.base/callfuncs.exp (do_function_calls):
2044 Add "hppa*-*-hpux*" xfail when not gcc compiled for
2045 "p t_char_array_values(char_array_val2,char_array_val1)",
2046 "p t_char_array_values(char_array_val1,char_array_val2)",
2047 "p t_char_array_values("carray 1","carray 2")",
2048 "p t_char_array_values("carray 1",char_array_val2)",
2049 "p t_char_array_values(char_array_val1,"carray 2")",
2050 "p sum_args(1,{2})",
2051 "p sum_args(2,{2,3})",
2052 "p sum_args(3,{2,3,4})",
2053 "p sum_args(4,{2,3,4,5})"
2054 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
2055 "backtrace in corefile.exp" when not gcc compiled.
2059 * gdb.base/signals.exp: Rewrite `handle all print' test as
2060 a procedure. Accept blanks or TABs as whitespace, increase
2061 timeout and expect input buffer size for the large output
2062 from the command. Remove "i*86-*-bsdi2.0" xfail.
2066 * gdb.base/setvar.exp: Add new testcases for truncation when
2067 assigning invalid values to bitfields.
2071 * gdb.base/callfuncs.exp (do_function_calls): Remove
2072 mips-sgi-irix* xfail for
2073 "call inferior func with struct - returns char *"
2074 and fix test so that an optional (unsigned char *) cast is
2075 accepted in the result.
2079 * gdb.base/funcargs.exp (float_and_integral_args): Remove
2080 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
2081 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
2082 * gdb.base/signals.exp: Remove duplicate "handle all print" test
2083 that accidentally got checked in.
2087 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
2088 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
2090 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
2091 Add mips-sgi-irix5* xfail for not gcc compiled.
2092 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
2093 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
2094 "p top", "whatis top", "p middle", and "whatis middle".
2095 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
2096 "whatis signed char" for not gcc compiled.
2097 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
2098 "set variable signed char=-1 (-1)" and
2099 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
2100 * gdb.base/funcargs.exp (float_and_integral_args):
2101 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
2102 Add mips-sgi-irix* xfail when not gcc compiled for
2103 "continue to call2b".
2104 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
2105 "continue to call2g".
2106 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
2107 "backtrace from call6a"
2108 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
2109 "backtrace from call7k".
2110 Add mips-sgi-irix5* xfail when not gcc compiled for
2111 "backtrace from call7a".
2112 (localvars_after_alloca): Fix gdb_test cmds for
2113 "print * after runto ...".
2114 Remove rs6000-*-* xfails for
2115 "print i after runto localvars_after_alloca" and
2116 "print l after runto localvars_after_alloca"
2118 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
2119 when not compiled with gcc, for:
2120 "print signed char == (minus)",
2121 "print signed char != (minus)",
2122 "print signed char < (minus)",
2123 "print signed char > (minus)".
2124 * gdb.base/callfuncs.exp (do_function_calls):
2125 Add mips-sgi-irix* xfail, when compiled with native compiler, for
2126 "call inferior func with struct - returns char *".
2127 * gdb.base/return.exp (return_tests): Change xfail for
2128 "correct value returned double test" to include Solaris 2.4.
2129 * gdb.base/funcargs.exp (float_and_integral_args):
2130 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
2134 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
2135 enumeration bitfields if compiling with GNU C.
2136 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
2141 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
2142 test for PRO targets.
2144 * gdb.base/funcargs.exp: Avoid ever setting more than 8
2145 breakpoints in the inferior at any given time by making
2146 two groups of breakpoints for call2*, call6* and call7*
2151 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
2152 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
2153 from optimizing it away.
2154 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
2155 "call inferior func with struct".
2159 * configure.in: Only configure gdb.chill for particular targets.
2163 * gdb.base/Makefile.in: Add action to .c.o transformation
2164 rule that generates a .ci file for each .o file and remove
2165 explicit .c.o rules except for callfuncs.o.
2166 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
2167 generates a .ci file for each .o file and remove explicit
2169 (clean): Remove *.tmp *.ci files.
2170 (EXECUTABLES): Remove templ-info.exp.
2171 * gdb.base/compiler.c: New file.
2172 * gdb.c++/compiler.cc: New file
2173 * gdb.base/scope.exp: Source gdb.base/scope.ci.
2174 Change rs6000-*-* xfail for
2175 "print 'scope0.c'::filelocal_ro" and
2176 "print 'scope1.c'::filelocal" and
2177 "print 'scope1.c'::filelocal_bss" and
2178 "print 'scope1.c'::filelocal_ro" and
2179 "print 'scope1.c'::foo::funclocal" and
2180 "print 'scope1.c'::foo::funclocal_ro" and
2181 "print 'scope1.c'::bar::funclocal" and
2182 "print 'scope0.c'::filelocal_ro" and
2183 "print 'scope1.c'::filelocal at foo" and
2184 "print 'scope1.c'::filelocal_bss at foo" and
2185 "print 'scope1.c'::filelocal_ro at foo" and
2186 "print 'scope1.c'::foo::funclocal at foo" and
2187 "print 'scope1.c'::foo::funclocal_bss at foo" and
2188 "print 'scope1.c'::foo::funclocal_ro at foo" and
2189 "print 'scope1.c'::bar::funclocal at foo" and
2190 "print 'scope0.c'::filelocal_ro" and
2191 "print 'scope1.c'::filelocal" and
2192 "print 'scope1.c'::filelocal_bss" and
2193 "print 'scope1.c'::filelocal_ro" and
2194 "print 'scope1.c'::foo::funclocal" and
2195 "print 'scope1.c'::foo::funclocal_bss" and
2196 "print 'scope1.c'::foo::funclocal_ro" and
2197 "print 'scope1.c'::bar::funclocal" and
2198 "print 'scope1.c'::bar::funclocal_bss"
2199 to only be xfail'd when not compiled with gcc.
2200 Add rs6000-*-* xfail for
2201 "print 'scope0.c'::filelocal_bss before run"
2202 when compiled with gcc.
2203 (test_at_main): Add rs6000-*-* xfail for
2204 "print filelocal_ro in test_at_main"
2205 when compiled with gcc.
2206 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
2207 Add rs6000-*-aix* xfail for
2208 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
2209 "ptype t_char_array", not compiled with gcc.
2210 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
2211 xfail for "list foo (in include file)" when gcc compiled.
2212 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
2213 (integral_args): Add rs6000-*-* xfail for
2214 "run to call0a" if not compiled with gcc.
2215 (unsigned_integral_args): Add rs6000-*-* xfail for
2216 "run to call1a" if not compiled with gcc.
2217 (float_and_integral_args): Add rs6000-*-* xfail for
2218 "run to call2a" if not compiled with gcc and for
2219 "continue to call2b" for any compiler.
2220 Add rs6000-*-* xfail to
2221 "print f1 after run to call2a" for gcc compiled.
2222 (discard_and_shuffle): Add rs6000-*-* xfail for
2224 (shuffle_round_robin): Add rs6000-*-* xfail for
2225 "backtrace from call7a" if not compiled with gcc.
2226 Add rs6000-*-* xfail for
2227 "backtrace from call7b" if compiled with gcc.
2228 (call_after_alloca): Add rs6000-*-* xfail for
2229 "print c in call_after_alloca" and
2230 "print s in call_after_alloca" and
2231 "backtrace from call_after_alloca_subr"
2232 if not compiled with gcc.
2233 (localvars_in_indirect_call): Add rs6000-*-* xfail for
2234 "print c in localvars_in_indirect_call" and
2235 "print c in localvars_in_indirect_call" and
2236 "backtrace in indirectly called function" and
2237 "stepping into indirectly called function"
2238 if not compiled with gcc.
2239 (localvars_after_alloca): Add rs6000-*-* xfail for
2240 "print c after runto localvars_after_alloca" and
2241 "print s after runto localvars_after_alloca" and
2242 "print i after runto localvars_after_alloca" and
2243 "print l after runto localvars_after_alloca"
2245 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
2246 than whatis-info.exp.
2247 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
2248 than opaque-info.exp.
2249 Setup rs6000-*-* xfail for
2250 "ptype on opaque struct pointer (statically)" and
2251 "ptype on opaque struct pointer (dynamically)" when
2252 not compiled with gcc.
2253 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
2254 rather than callf-info.exp.
2255 (do_function_calls): Add clear_xfail for rs6000-*-* for
2256 "p t_float_values2(3.14159,float_val2)". Seems to work
2257 fine there, both with xlc and gcc. Need to find out what
2258 it is doing right and fix other platforms.
2259 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
2260 "call inferior func with struct - returns int",
2261 "call inferior func with struct - returns long",
2262 "call inferior func with struct - returns float",
2263 "call inferior func with struct - returns double",
2264 "call inferior func with struct - returns char *",
2265 but only if not gcc compiled (presumes xlc compiled).
2266 Change rs6000-*-* xfails for
2267 "call inferior func with struct - returns char" and
2268 " call inferior func with struct - returns short" to only
2269 xfail if not using gcc.
2270 (clean mostlyclean): Remove *.ci and *.tmp files.
2271 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
2272 than templ-info.exp.
2273 * gdb.base/langs.exp: Source gdb.base/langs.ci.
2274 Add rs6000-*-* xfail for "up to foo in langs.exp"
2275 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
2276 when not gcc compiled.
2280 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
2281 * gdb.base/corefile.exp: Likewise.
2282 * gdb.base/list.exp: Likewise.
2283 * gdb.base/scope.exp: Likewise.
2284 * gdb.base/siganls.exp: Likewise.
2286 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
2288 * gdb.base/whatis.exp: Likewise.
2292 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
2293 failure (opcode table has been fixed to match reality).
2297 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
2298 "call inferior func with struct - returns char",
2299 "call inferior func with struct - returns short"
2301 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
2302 "print 'scope0.c'::filelocal at main",
2303 "print 'scope0.c'::filelocal_bss in test_at_main",
2304 "print 'scope0.c'::filelocal at foo",
2305 "print 'scope0.c'::filelocal_bss in test_at_foo",
2306 "print 'scope0.c'::filelocal at bar",
2307 "print 'scope0.c'::filelocal_bss in test_at_bar"
2309 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
2310 in source file 1". This bug seems to have been fixed with both
2311 gcc and native cc (was native assembler bug?).
2315 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
2316 "backtrace through signal handler" to "i*86-*-sysv4*".
2317 * gdb.base/signals.exp: Add xfail for "'next' behaved as
2318 continue" case. Add "known SVR4 bug" to fail message.
2319 Add "i*86-*-bsdi2.0" xfail for "handle all print".
2320 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
2321 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
2322 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
2323 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
2324 "up to foo in langs.exp", "show language at foo in
2325 langs.exp", "up to cppsub_ in langs.exp", "show
2326 language at cppsub_ in langs.exp", "up to fsub in
2327 langs.exp", and "show language at fsub in langs.exp".
2328 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
2329 "bactrace in corefile.exp".
2330 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
2331 "call inferior function with struct - returns float" and
2332 "call inferior function with struct - returns double".
2336 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
2337 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
2338 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
2339 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
2343 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
2344 (or overriden) "CHILL" macro rather then bare "gcc".
2345 Also look for ../../gcc/xgcc since that is what we will
2346 actually need, not "Makefile". Remove following assignment
2347 of CHILL to CHILL_FOR_TARGET because that results in
2348 recursive definition.
2352 * gdb.base/corefile.exp: Change xfail for backtrace in
2353 corefile.exp from linuxaout to all linux.
2354 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
2355 cases where we miss the breakpoint at the signal handler
2356 for some reason. Setup xfail for linuxoldld/linuxaout and
2357 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
2358 hitting SIGURG breakpoint.
2359 * gdb.base/signals.exp: Setup xfail for "next" acting like
2360 continue to add linuxoldld. Setup xfail for all linux for
2361 "next to handler in signals_tests_1", "backtrace in
2362 signals_tests_1", "continue to func1", "pass SIGUSR1",
2363 and continue to handler".
2367 * Update all FSF addresses except those in COPYING* files.
2371 * gdb.base/a2-run.exp: Change messages to be more explicit about
2372 the status of args, and quote binfile in results.
2376 * gdb.base/callfuncs.exp: Add tests for passing structs to
2377 inferior functions and return various types.
2378 * gdb.base/callfuncs.c: Add functions to receive a struct
2379 and return a member of the struct, in various types.
2383 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
2387 * config/vxworks29k.exp: New file, sources vxworks.exp.
2391 * config/gdbremote.exp: New file. Testing framework using
2396 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
2397 "call function when asleep" and "send end of file".
2398 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
2399 for "backtrace in corefile.exp".
2400 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
2401 for "backtrace through signal handler".
2402 * gdb.base/corefile.exp: Make sure we actually generate a core file
2403 before trying the core tests. Some systems allow the user to suppress
2404 generation of core files and default to that (linux for example).
2405 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
2406 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
2410 * gdb.threads: New directory with some crude multi-threaded
2411 gdb tests (step.exp and step2.exp).
2412 * config/mt-lynx (STEP_EXECUTABLE): Define.
2413 (THREADFLAGS): Define.
2417 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
2419 * gdb.base/signals.exp: Disable whole file for lynx until
2422 * gdb.base/signals.exp: xfail test where "next" acts like
2423 "continue" for lynx.
2425 * gdb.base/interrupt.exp: xfail test for calling function while
2426 inferior is asleep for lynx.
2428 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
2429 than one cr-lf after each command.
2433 * configure.in: Reinstate setting of stabsdirs variable, fix
2434 typo in setting up configdirs for native builds.
2436 * gdb.base/return.exp: Fix typo in return double test.
2437 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
2438 compiler from optimizing them away.
2442 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
2443 sequences to be echo'd by gdb when using gdb_test.
2444 * gdb.chill/chexp.exp: Likewise.
2445 * gdb.fortran/exprs.exp: Likewise
2449 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
2450 after the inferior gdb has started.
2452 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
2454 * gdb.base/funcargs.exp: Likewise.
2455 * gdb.base/gdbvars.exp: Likewise.
2456 * gdb.base/interrupt.exp: Likewise.
2457 * gdb.base/list.exp: Likewise.
2458 * gdb.base/watchpoint.exp: Likewise.
2459 * gdb.c++/demangle.exp: Likewise.
2460 * gdb.c++/inherit.exp: Likewise.
2461 * gdb.chill/chexp.exp: Likewise.
2462 * gdb.fortran/exprs.exp: Likewise.
2464 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
2465 test if we can't handle IO to/from the inferior.
2467 * gdb.c++/misc.exp: Always check for a program already being
2468 started after sending a "run" command to gdb.
2470 * gdb.base/twice.exp: Start with a fresh gdb.
2472 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
2473 only depend on gdb's expression code, not the chill runtime.
2475 * gdb.base/return.c: Put return values into variables so we
2476 can have gdb print them rather than depending on the program
2478 * gdb.base/return.exp: Corresponding changes.
2480 * lib/gdb.exp: Provide default value for noinferiorio.
2481 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
2484 * gdb.base/break.exp: Always check for a program already being
2485 started after sending a "run" command to gdb.
2486 (text_next_with_recursion): Don't check the output from the
2487 program's printf statement. Instead just make sure the program
2490 * gdb.base/commands.exp: Protect tests which need arguments with
2491 $noargs conditionals.
2495 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
2496 of structure member arrays to match gdb/valops.c:value_addr change.
2500 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
2505 * configure.in (configdirs): Remove gdb.chill from default list
2506 of subdirs and then add it back in only if doing a native build.
2507 The current chill compiler does not yet work in any cross build.
2508 * Revert all signal changes from Jul 6.
2509 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
2510 for sh-hms targets, allowing these tests to link, with no other
2511 changes. Testing is suppressed by setting "nosignals" in site.exp.
2515 * configure.in (signaldirs): Define and add to configdirs for all
2516 targets except some specific ones that are known to not support signals.
2517 Also clean up formatting.
2518 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
2519 (signals, sigall): Remove rules to build.
2520 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
2521 Moved to new gdb.signals directory.
2522 * gdb.signals: New test directory.
2523 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
2524 signals.c signals.exp}: New or moved files.
2528 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
2532 * gdb.base/return.exp: Xfail `return double' test failure
2533 on at least Solaris 2.3 and handle future/past versions on
2534 a case by case basis as appropriate. Also update message
2535 to include i*86 failures.
2539 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
2541 * lib/gdb.exp: Fix comment which erroneously identified
2542 gdb_file_cmd as gdb_load (the 19 May change was in fact to
2543 gdb_file_cmd not gdb_load).
2544 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
2546 * gdb.base/setvar.exp: Make test names consistent between pass and
2547 fail cases. Use gdb_test more.
2551 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
2555 * gdb.base/help.exp: Fix expected help string for `show commands'.
2559 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
2561 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
2566 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
2567 that loop eventually terminates. Fix Connection refused logic so
2568 that testsuite will expire nicely.
2572 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
2573 config/rom68k.exp: New tcl glue for the appropriate monitors.
2574 These all just end up calling monitor.exp.
2575 * config/monitor.exp (gdb_target_monitor): Handle `Connection
2576 refused' by retrying. Cleanup some timeout issues.
2577 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
2578 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
2579 callers don't have to set/restore global timeout variable.
2581 * The following set of changes centralizes management of the global
2582 timeout variable. This way, it can be set in one target dependent
2583 place instead of dozens of places scattered throughout the test suite.
2584 If you need to lengthen a timeout, then you should either set timeout
2585 in one of the config/{target}.exp files, or multiply it by a factor.
2586 Setting it to an absolute value is always going to lose for some
2588 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
2589 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
2590 * gdb.base/funcargs.exp: Don't set timeout.
2591 * gdb.base/list.exp (test_forward_search): Only use local timeout.
2592 * gdb.base/printcmds.exp (test_print_string_constants
2593 test_print_array_constants): Don't set timeout.
2594 * gdb.base/ptype.exp: Don't set timeout.
2595 * gdb.base/recurse.exp: Don't set timeout.
2596 * gdb.base/return.exp: Don't set timeout.
2597 * gdb.base/watchpoint.exp: Don't set timeout.
2598 * gdb.c++/classes.exp (do_tests): Don't set timeout.
2599 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
2603 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
2607 * lib/gdb.exp: Disable chill tests for irix5.
2611 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
2612 each test pass or fail.
2616 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
2621 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
2625 * config/est.exp: Fix copyright and comments. Remove dead code.
2626 Use targetname, serialport and baud variables instead of fixed
2628 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
2629 * config/cpu32bug.exp: New file to support cpu32bug monitors.
2633 * gdb.base/watchpoint.exp: Don't run
2634 test_watchpoint_triggered_in_syscall for sunos.
2638 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
2639 they don't seem to exist. Do include stdio.h.
2643 * gdb.base/a1-selftest.exp: Add alpha xfail.
2647 * gdb.base/watchpoint.c (main): Prompt before calling read().
2648 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
2649 Revise accordingly. Remove cruft about sending "123" several
2650 times, until it gets noticed. Clean up the "print buf[0]" stuff
2651 so that it passes or fails, and waits for prompts in the usual way.
2655 * gdb.base/recurse.exp: Fix comment.
2657 * TODO: Remove item about printing variables in nodebug.exp. Add
2658 item about enabling tests which are only run on some targets.
2660 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
2661 fail, make test names unique, use new gdb_test convention
2662 regarding pattern, use gdb_test more, etc.).
2664 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
2665 fail, make test names unique, etc.).
2669 * gdb.base/nodebug.c: Change return type of top and middle to
2671 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
2672 are fixed by the recent mdebugread.c changes. Allow `short ()'
2673 as type for top and middle.
2677 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
2678 nearly as I can tell, the whole thing was an accident in Stu's
2679 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
2680 to replace a send/expect pair with gdb_test, but ended up only
2681 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
2682 of 30 Mar 1995 took care of it, but left this vestigial comment
2683 which I am now nuking.
2687 * gdb.base/break.exp: Look for different line number for
2688 breakpoint at main depending on usestubs.
2692 * gdb.base/list.exp: Adjust some alternate expect patterns to
2693 match recent list0.c change. Add alternate expect pattern for
2694 output from `list default lines around main' for optimizing
2699 * lib/gdb.exp: If nosignals is not set, set it to 0.
2703 * config/slite-gdb.exp: Responds to load symbol table prompt.
2704 * gdb.base/break.exp: Adjust line number, fix rerun.
2705 * gdb.base/langs0.c: Add #ifdef usestubs.
2709 * gdb.base/list.exp: Adjust line contents after adding new lines in
2710 list0.c. Also fix a syntax error.
2712 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
2713 * gdb.base/break.exp: ditto.
2714 * gdb.base/list.exp: ditto.
2715 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
2716 * gdb.base/run.c: ditto.
2717 * gdb.base/list0.c: ditto.
2718 * gdb.base/funcargs.c: ditto.
2722 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
2723 $targetname, $serialport and $baud instead of hardwired variables.
2724 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
2725 target doesn't support signals.
2729 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
2733 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
2734 Don't rely on the value of an auto variable before it has been
2735 initialized. Use gdb_test more.
2739 * lib/gdb.exp (default_gdb_version): A version number must start
2740 with a digit, but other than that contains all characters up to
2741 the first whitespace character.
2745 * gdb.base/commands.exp (breakpoint_command_test): New tests.
2749 * gdb.c++/*.exp: Warn if executable does not exist. The original
2750 reason for skipping the warning was that configure.in sometimes
2751 intentionally skipped building the executables but the tcl code
2752 had no way of knowing. That (a) was always bogus with respect to
2753 error handling, (b) is no longer true (right now there is no way
2756 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
2760 * gdb.base/list.exp: Add expect patterns for output from
2761 SunPRO compiled executables.
2762 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
2767 * gdb.base/break.exp (test_next_with_recursion): Accept any line
2768 number (we are already testing that the correct source line text
2771 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
2772 that is what is intended, but something needed to be done to get
2773 sunos4 native working again.
2775 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
2777 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
2778 apparently went with a (very) old xfail.
2782 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
2783 runto_main is a proc in gdb.exp that will do 'step' for target use
2785 * gdb.base/exprs.exp: ditto.
2786 * gdb.base/interrupt.exp: ditto.
2787 * gdb.base/opaque.exp: ditto.
2788 * gdb.base/printcmds.exp: ditto.
2789 * gdb.base/ptype.exp: ditto.
2790 * gdb.base/scope.exp: ditto.
2791 * gdb.base/setvar.exp: ditto.
2792 * gdb.base/signals.exp: ditto.
2793 * gdb.base/twice.exp: ditto.
2794 * gdb.c++/classes.exp: ditto.
2795 * gdb.c++/inherit.exp: ditto.
2796 * gdb.c++/templates.exp: ditto.
2797 * gdb.base/break.exp: no run and hit main for stubs. Change line
2798 numbers for breakpoints and info breakpoint.
2799 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
2801 * gdb.base/callfuncs.c: ditto.
2802 * gdb.base/exprs: ditto.
2803 * gdb.base/interrupt.c: ditto.
2804 * gdb.base/opaque0.c: ditto.
2805 * gdb.base/printcmds.c: ditto.
2806 * gdb.base/ptype.c: ditto.
2807 * gdb.base/scope0.c: ditto.
2808 * gdb.base/setvar.c: ditto.
2809 * gdb.base/signals.c: ditto.
2810 * gdb.base/twice.c: ditto.
2811 * gdb.c++/misc.cc: ditto.
2812 * gdb.c++/templates.cc: ditto.
2816 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
2818 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
2819 somewhere between `read' and `main.c'. I'm pretty sure the
2820 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
2821 and it isn't particularly useful.
2823 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
2827 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
2831 * config/mt-slite: add LIBS and -nostdlib.
2832 * config/slite-gdb.exp: add this new file to support sparclite target.
2836 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
2838 * gdb.base/a2-run.exp: Change argument to istarget from
2839 "*-*-vxworks" to "*-*-vxworks*".
2840 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
2844 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
2845 will not runto main but do a 'step' to step out of breakpoint().
2846 * config/mt-slite: add -Dusestubs.
2850 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
2853 * gdb.base/signals.exp: Add test for "handle all print".
2854 * TODO: Remove "handle all print". Also remove item about
2855 checking copyright date (I don't like the idea of a spurious FAIL
2856 based on when we run the tests).
2858 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
2859 for SunOS4 (reason for failure not investigated). Remove
2860 redundant test for $binfile.
2862 * gdb.base/nodebug.c (array_index): Call malloc.
2864 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
2868 * gdb.base/recurse.exp: Update gdb_test invocation to use new
2869 conventions and slightly simplify the matching regexp.
2873 * gdb.base/break.exp: Update gdb_test invocation to use new
2876 * lib/gdb.exp: If noargs is not set, set it to 0.
2878 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
2881 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
2885 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
2886 one argument of type "<non-float parameter>".
2890 * config/rom68k.exp: New file to support Motorola IDP board.
2891 * gdb.base/a2-run.exp: Skip this file if noargs is set.
2892 * gdb.base/break.c: Change things around so that this program
2893 doesn't depend upon args. This is necessary to make remote
2894 targets work (in general, they can't take args).
2895 * gdb.base/break.exp: Don't try to send args to program. Don't
2896 expect output. Also, replace lots of code with gdb_test.
2900 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
2901 printing of '\'' (which is what the comment says we are testing,
2902 even though we were not), not '''.
2903 (test_integer_literals_rejected): Test that printing ''' is an error.
2905 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2906 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
2907 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
2908 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
2909 Use gdb_test not test_print_accept.
2910 * lib/gdb.exp: Remove test_print_accept.
2912 * gdb.base/signals.exp (signal_tests_1): Make pass message
2913 consistent with fail message.
2915 * gdb.base/whatis.exp: Remove xfails for printing char vs.
2916 unsigned char; the bug (PR 1821) is fixed.
2918 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
2920 * gdb.base/scope.exp (test_at_localscopes): Call pass for
2921 successful tests--makes xfailing them work right.
2925 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
2926 only \r\n, not .*. The test can pass .* as the last thing in
2927 $pattern if that is what it wants. In addition to providing this
2928 flexibility, this change should speed up pattern matching in cases
2929 where the pattern already ended with .* (there were a number of
2930 them). This change also helps catch bad patterns--in the old
2931 scheme the typo "char \*" instead of "char \\*" would pass. Now
2933 * Many .exp files: Update callers.
2935 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
2936 clearer and does not spuriously match multiple ('s. Likewise for
2939 * gdb.base/nodebug.exp: Test ability to call a function and pass
2940 it a string (even with no debugging info).
2942 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
2943 "p '\'", which is the same as "p ''" once tcl gets done with
2944 quoting, to "p '\\'", which I suspect is what is intended (one
2945 backslash gets sent to GDB).
2947 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
2951 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
2952 1817) was fixed literally years ago.
2956 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
2957 test, it causes stepping out of call_after_alloca_subr with
2958 optimizing compilers.
2959 (localvars_in_indirect_call): Consume GDB prompt if `finish'
2962 * gdb.c++/templates.exp: Source templ-info.exp only if
2963 the templates executable exists.
2965 * gdb.c++/misc.cc (class Contains_static_instance,
2966 class Contains_nested_static_instance),
2967 gdb.c++/classes.exp (test_static_members): Test printing of
2968 a class that contains a static instance of the class.
2972 * gdb.base/langs2.c (cppsub_): Don't prototype.
2973 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
2978 * lib/gdb.exp (skip_chill_tests): New procedure.
2980 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
2984 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
2985 each expect pattern. Cuts runtime from 12 to about 4 seconds.
2989 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
2991 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
2992 disassemble 8, not 16, instructions for part 4.
2994 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
2995 support the latter anymore.
2997 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
2999 * gdb.base/callfuncs.c: Control use of prototypes based on
3000 NO_PROTOTYPES, not __STDC__.
3001 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
3002 t_float_values2 tests if prototypes in use.
3004 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
3005 t_double_values): When checking differences against DELTA, check
3006 that difference is within the range (-DELTA,DELTA), not just
3011 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
3012 'file' command firts, then 'target', then 'load', this is due to gdb
3014 * config/mips-gdb.exp: Fix a couple regular exp bugs.
3018 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
3019 FP load/store variants.
3020 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
3024 * gdb.base/term.exp: Do not give a warning if not native, it is
3025 not an abnormal condition.
3029 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
3034 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
3035 are getting the version number.
3037 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
3038 if not native, it is not an abnormal condition.
3042 * lib/gdb.exp: Just use "file exists", rather than undocumented
3043 dejagnu procedure "findfile".
3047 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
3048 (LDFLAGS): Set to -Xlinker -Ur.
3050 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
3051 Removed, these values are set by lib/gdb.exp.
3053 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
3057 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
3058 of replicating gdb startup code.
3060 * config/mt-vxworks (LDFLAGS): Set to -r.
3061 (CFLAGS_FOR_TARGET): Removed.
3063 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
3064 (gdb) and gdb for vxworks uses (vxgdb).
3066 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
3067 executable is not in the tree and host != target, use sed and
3068 program_transform_name to determine the gdb name used by the
3071 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
3072 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
3076 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
3077 floats, chars, and shorts where there are ANSI-style function
3080 * gdb.base/langs.exp, gdb.base/langs*: New test.
3081 * gdb.base/Makefile.in: Build it.
3082 * TODO: Remove item about checking that C names don't get C++
3083 demangling applied; this test tests it.
3087 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
3088 went with the const70 xfail. The xfail went away a year ago.
3090 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
3092 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
3095 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
3097 * gdb.base/a1-selftest.exp: Don't run on hp300.
3101 * Makefile.in (site.exp): Set host_alias and target_alias as well
3102 as host_triplet and target_triplet.
3106 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
3108 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
3109 places as other ecoff systems).
3111 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
3116 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
3118 * gdb.base/nodebug.exp: Accept "function" in addition to "text
3119 variable and "variable" in addition to "data variable".
3120 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
3122 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
3124 * gdb.base/list1.c (long_line): Add additional statement at start
3126 * gdb.base/list.exp (test_forward_search): Update line number to
3127 reflect new statement.
3131 * gdb.base/signals.exp: Reinitialize searched source directories
3132 after gdb_start call.
3136 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
3137 * gdb.stabs/Makefile.in: Likewise.
3139 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
3140 change. Instead split the tests into smaller pieces.
3141 * gdb.disasm/hppa.s: Corresponding changes.
3145 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
3146 Quote ^C when passing it to stty. For some shells ^ is a pipe.
3148 * gdb.base/funcargs.exp: Modify many tests so that every test
3149 either passes or fails. Make some test names unique.
3153 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
3154 Call stty to set interrupt character.
3156 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
3157 for HP assembler versus GNU assembler based on actual behavior of
3158 $(CC), rather than assuming that $(AS) is always the GNU assembler.
3160 * TODO: Suggest a few more stepping tests.
3164 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
3165 restart GDB for h8300 after a continue.
3166 (return): Add pattern to match a29k-udi behavior.
3167 * gdb.base/nodebug.exp: Remove obsolete comment.
3168 * gdb.base/regs.exp: New file, testing of register displays.
3169 * gdb.base/return.exp: Fix typo in reference to $objdir.
3170 * gdb.base/whatis.exp: Always start with a fresh GDB.
3174 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
3175 higher, these tests generate a lot of output.
3179 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
3180 code following the catch silently ignored some errors; without the
3181 catch they should be thrown like any other tcl error. Also, the
3182 catch used "" instead of {} which meant all the callers who wanted
3183 to include one of the characters "[]$ had to quote it an extra time.
3184 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
3185 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
3186 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
3187 Remove extra quoting.
3191 * gdb.base/commands.exp: Make test names unique; every test either
3192 passes or fails. Update some comments.
3194 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
3198 The following fixes a FAIL caused by the fact that the alpha stabs
3199 configuration didn't use the ".if alpha" code in weird.def.
3200 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
3201 bit pointer, so the 32 bit version works even on the alpha.
3202 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
3203 Remove the stuff which allowed us to have separate versions for
3204 alpha and everything else.
3206 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
3207 regexp which "info func operator\[\](" is supposed to match. Fix
3208 string to send to GDB. Note that GDB still doesn't work right. Add a
3209 new test for "info func .perator\[\](" which GDB does handle correctly.
3211 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
3215 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
3216 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
3217 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
3218 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
3219 it makes the tests harder to understand and confuses test-o-matic.
3220 The preferred style is that each test provides a PASS or a FAIL,
3221 and has a unique message (e.g. "continue #54" not just "continue")
3222 which is the same for the pass and the fail.
3223 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
3224 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
3226 * gdb.base/printcmds.exp: Use test_print_accept. Remove
3227 prt_accept which was basically the same thing. Likewise for
3228 test_print_reject and prt_reject.
3229 * lib/gdb.exp (test_print_reject): Add some more error message
3230 patterns to match from the former printcmds.exp (prt_reject).
3231 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
3232 One defect of the passcount stuff is that some of it failed to
3233 report XPASS where appropriate.
3234 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
3235 stuff before and after arg in expected pattern.
3236 (test_paddr_operator_functions): Re-do test without print_addr_of;
3237 this is the only test which seems to want extra stuff there.
3241 * gdb.base/nodebug.exp: Update new tests to reflect improved
3242 wording of gdb output.
3244 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
3245 and "ptype" work on variables in files compiled without -g.
3246 Replaces commented out "maint print msymbol" tests.
3250 * gdb.base/setvar.c (dummy): Call malloc.
3252 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
3253 losing with the irix4 sed.
3255 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
3260 * TODO: Remove items about corefile.exp testing new exec-file and
3261 backtrace; both are now done. Add items about printing enums.
3265 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
3266 "get signal $thissig" test fails.
3268 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
3272 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
3273 compiler warning with dec alpha compiler.
3275 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
3276 extra \n from gdb_test call (this explains why the prompt test
3277 that I removed yesterday was there).
3278 (user_defined_command_test): Remove extra \n and prompt test.
3280 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
3281 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
3283 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
3284 Also remove alpha workaround, which turns out to be because
3287 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
3289 * gdb.base/help.exp: Don't test "help show".
3293 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
3294 "set print address" is on.
3295 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
3296 pass prompt to gdb_test; gdb_test already looks for the prompt.
3298 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
3300 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
3301 was a vestige of the manual TESTSTRATEGY, and the purpose of it
3302 was to make sure that gdb can read a core file. But (a) the "read
3303 the corefile" part didn't make it to a1-selftest.exp, we just
3304 delete the corefile after creating it, and (b) we test reading
3305 corefiles in corefile.exp anyway. Also, this test left around a
3306 xgdb process on Solaris.
3308 * gdb.base/corefile.exp: Also test backtrace.
3312 * gdb.base/commands.exp: Test a simple user defined command with
3313 arguments and if/while statements; verify the full user command is
3314 printed by "show user".
3316 * gdb.base/commands.exp: Test if/while commands as part of a
3317 breakpoint command list; verify they appear in breakpoint
3322 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
3323 than by dividing by zero.
3327 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
3328 performing an inferior call with watchpoints enabled.
3329 * gdb.base/watchpoint.c (main): Delete second unnecessary read
3334 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
3337 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
3338 Add additional pattern for when "int operator int(void);" appears
3339 in a different order.
3343 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
3345 * gdb.base/help.exp: Replace most of docstrings for "info signals"
3346 and "signal" with ".*".
3350 * TODO: Add note about "handle all nostop".
3352 * gdb.base/{sigall.c, sigall.exp}: New test.
3353 * gdb.base/Makefile.in: Add it.
3357 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
3358 when invoking GDB, suppresses any windowing interface.
3362 * config/sim-gdb: New file, simulator testing support.
3366 * gdb.base/interrupt.exp: Test calling func1 twice.
3370 * gdb.base/list.exp (test_forward_search): Set timeout higher
3371 when we'll be getting lots of output from gdb.
3373 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
3374 "init_malloc" to after the expect statement. Run it if that
3375 regexp is taken, but also for two others which happen if source
3380 * gdb.base/printcmds.exp: New test, for printing register before
3385 * gdb.base/list.exp: Correct some alternate expect patterns
3386 to reflect changes in list1.c.
3390 * TODO: Add item regarding large frames.
3392 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
3394 * TODO: Remove item about enabling return.exp; it
3395 is enabled. Suggest a few more "return" tests.
3399 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
3404 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
3405 and pr-5646.o, so "make" is the same as "make all", not "make
3410 * gdb.base/list.exp: Adjust expectations to reflect changes in
3412 (test_forward_search): New test proc.
3413 * gdb.base/list1.c (long_line): New function, has long source line.
3417 * gdb.base/a1-selftest.exp: Change initial stepping to know about
3418 additional line of code that was added.
3422 * gdb.disasm/hppa.s: Break the large branching tests into smaller
3423 tests so as not to overflow expect's input buffers.
3424 * gdb.disasm/hppa.exp: Corresponding changes.
3428 Beginnings of template debugging tests.
3429 * gdb.c++/templ-info.cc: New file to test for template
3430 debugging capability of the compiler.
3431 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
3433 * gdb.c++/templates.cc: Add explicit template instantiations
3434 to enable compiling with -fno-implicit-templates. Add destructor
3435 and 'value' method to T5 class for template tests.
3436 * gdb.c++/templates.exp: Add testcases for printing of template
3437 types, setting breakpoints on template methods and calling a
3442 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
3443 branch target since some assemblers (gas-2.5) may emit a
3444 relocation for the branch instead of resolving it in the
3449 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
3450 through signal handler.
3454 * configure.in (*-*-netware): Use config/mt-netware.
3456 * config/mt-netware: New file.
3457 * config/mt-i386-netware: Removed, separate configs for different
3458 netware architectures are no longer needed now that we have
3463 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
3464 by the recent changes to use ANSI C arithmetic conversions.
3468 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
3469 bug involving using inferior_pid to figure out whether to select a
3474 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
3475 match the current disassembler output.
3479 * gdb.fortran/exprs.exp: Expect VOID instead of void.
3480 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
3481 types, expect "int" as type of integer values (for now).
3485 * gdb.base/commands.exp: New tests for if/while commands.
3489 * lib/gdb.exp (runto): Replace sub-pattern for hex value
3490 by .*, since hex values have different syntax in Chill mode.
3494 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
3495 linefeed from expect pattern for repeated types with indices > 9.
3499 First part of Fortran test suite.
3500 * gdb.fortran: New directory.
3501 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
3505 * gdb.base/default.exp: Update expect pattern for load command
3510 * configure.in: Change i386 to i[345]86.
3511 * gdb.base/configure.in: Likewise.
3512 * gdb.c++/configure.in: Likewise.
3513 * gdb.chill/configure.in: Likewise.
3517 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
3518 patterns, since that is not a valid context for comments.
3522 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
3523 repeated types and repeated types with indices > 9.
3527 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
3528 2417; old bug has been fixed.
3532 * gdb.base/interrupt.exp: When trying to wake up the inferior,
3533 send the newline ourselves instead of assuming gdb_test will do
3534 so when passed an empty input string.
3536 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
3541 * lib/gdb.exp (gdb_test): Don't send anything if the first
3542 argument is an empty string. This makes cases where we want to
3543 match output that is already in expect's buffers (for example,
3544 matching a breakpoint after gdb_run_cmd has been called) work
3549 * config/netware.exp: New file.
3553 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
3554 the -B and -L prefixes so we can find the debugging stub.
3556 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
3557 there and we are using the gcc from the tree.
3559 * gdb.base/types.c: Removed.
3561 * gdb.base/configure.in: Look for makefile fragments in ../config.
3562 Recognize i386-*-netware.
3563 * gdb.c++/configure.in: Likewise.
3567 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
3568 the correct TCL syntax.
3572 * gdb.base/opaque.exp: use runto instead of messing around with
3573 breakpoints. Simplify by using gdb_test.
3575 * gdb.base/bitfields.exp: restart between tests on netware targets
3576 because breakpoints aren't relocated after target death. Run
3577 processes to completion.
3579 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
3583 * Makefile.in: Remove extra tabs that confuse some versions
3584 of "make". Use the newly built gdb to test with by default,
3585 rather than the first one in the tester's search path.
3589 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
3591 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
3596 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
3598 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
3600 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
3601 * gdb.base/funcargs.exp: Likewise.
3603 * gdb.base/bitfields.exp: Simplify by using gdb_test.
3604 * gdb.base/funcargs.exp: Likewise.
3606 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
3611 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
3612 return,signals,twice}.exp: Handle non-existant binaries
3615 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
3616 * gdb.base/Makefile.in: Don't try to generate a core dump, we
3617 might testing a cross development system.
3621 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
3622 runtest script is relative to ${srcdir}, not ${rootdir}.
3626 * gdb.base/signals.exp: Allow for optionality of breakpoint
3631 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
3635 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
3636 for size_t definition.
3637 * gdb.c++/templates.cc: Likewise
3639 * config/mt-i386-netware: New file.
3641 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
3644 * gdb.base/Makefile.in: Added support for systems that name core
3645 files by appending "core" to the program name.
3646 * gdb.base/a1-selftest.exp: Likewise.
3650 * gdb.base/return.exp: Add comment and message for `return double'
3651 test failure on Sparc Solaris.
3655 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
3659 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
3660 from optimizing them away.
3661 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
3662 patterns to include default constructors and assignment operators,
3663 to match gcc versions beyond 2.5.8. Accept any cplus demangling
3664 character in the output of the virtual base pointer.
3668 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
3669 expression match in print_addr_of to avoid unintented matches.
3670 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
3671 versions up to 2.5.8.
3675 * gdb.base/list.exp: Tweak alternate pattern for listing of an
3676 included file to run under newer versions of expect.
3677 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
3678 consecutive >'s in templates to accomodate recent cplus-dem.c change.
3679 Remove xfail for the virtual table of BDDHookV.
3683 * lib/gdb.exp (string_to_regexp): Set a default result.
3684 (default_gdb_start): Fix misleading message.
3688 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
3689 Remove all CC, etc definitions.
3690 * config/mt-hpux: New file.
3691 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
3692 (CFLAGS, LDFLAGS): Define.
3693 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
3695 * Makefile.in (site.exp): Don't insert host_os, etc.
3696 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
3697 (distclean): Check existence of subdir.
3698 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
3699 * gdb.base/Makefile.in: General cleanup and simplification.
3700 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3701 to build executables. Use default rule to build .o files.
3702 (EXPECT, RUNTEST, CC): Fix relative pathname.
3703 (site.exp): Don't insert host_os, etc.
3704 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
3705 and/or SIGUSR1 defined.
3706 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
3707 * gdb.c++/Makefile.in: General cleanup and simplification.
3708 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3710 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
3714 * gdb.base/recurse.exp: Misc changes to get tests running again
3715 after Kung's changes to the watchpoint code.
3716 * gdb.base/watchpoint.exp: Likewise.
3720 * lib/gdb.exp (string_to_regexp): Convert {\} also.
3724 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
3725 * lib/gdb.exp (default_gdb_start): Define.
3726 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
3727 gdb.base/funcargs.exp, gdb.base/opaque.exp,
3728 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
3729 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
3730 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
3731 Don't call gdb_target_udi in between tests.
3735 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
3736 (which was basically just a local version of the same thing). In
3737 addition to avoiding duplication, gdb_test_exact is faster.
3738 * lib/gdb.exp (gdb_test_exact): Fix typo.
3740 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
3741 don't give an error.
3743 * gdb.base/term.exp: Call delete_breakpoints before starting.
3745 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
3750 Reorganization of the GDB Test Suite.
3752 * gdb.base: New directory, contains all the basic tests.
3753 * gdb.c++: New directory, tests specific to C++.
3754 * gdb.chill: New directory, tests specific to Chill.
3755 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
3756 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
3757 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
3758 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
3759 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
3761 * */gdbme.*: Rename to match appropriate expect scripts.
3762 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
3763 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
3764 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
3765 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
3766 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
3767 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
3768 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
3769 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
3770 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
3771 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
3772 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
3773 gdb.c++/virtfunc.cc: New names of C++ files.
3774 * gdb.chill/chillvars.ch: New name of Chill file.
3775 * gdb.base/configure.in, gdb.c++/configure.in,
3776 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
3777 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3778 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
3779 * configure.in (configdirs): Update to reflect directory changes.
3780 (target_abbrev): No longer define for any configuration.
3781 * Makefile.in: Cosmetic improvements to header comments.
3785 Various changes to gdb.t31:
3787 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
3788 * gdbme.ch: Make all key-words and predefineds be upper-case.
3789 * chillvars.exp: Expect key-words and predefinds in upper-case.
3791 * chillvars.exp: Use gdb_test_exact many places.
3792 Change expected output for arrays (which now includes index labels).
3794 * pr-5020.exp, gdme.ch (module PR_5020):
3795 New test, for PR-5020.
3799 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
3800 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
3804 * Makefile.in: Fix bit-rot in definitions of CHILL,
3805 CHILL_FOR_TARGET and Chill_LIB.
3806 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
3807 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
3808 CHILL, and CHILL_LIB.
3812 * Revert the previous changes. Please see Rob's directory
3813 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
3817 * Makefile.in, configure.in, config/mips-gdb.exp,
3818 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
3819 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
3820 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
3821 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
3822 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
3823 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
3824 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
3825 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
3826 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
3827 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
3828 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
3829 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
3830 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
3831 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
3832 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
3837 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
3838 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
3839 Rob's new testing fragments.
3843 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
3844 lib/gdb.exp: Replace error proc calls with perror.
3848 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
3849 version also, match on casted version strings, and match on
3850 gdb startup case where the line numbers might be messed up.
3854 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
3855 (CFLAGS): Delete it from here.
3859 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
3863 * Makefile.in (RUNTEST): Default to just "runtest".
3867 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
3868 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
3869 the code has been restructured.
3873 * gdb.t00/default.exp (set write): Allow any number of \r and/or
3874 \n, not just one of each.
3876 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
3877 /bin/cc gives a warning if you do.
3881 * gdb.t24/demangle.exp: change expect pattern of
3882 __t10ListS_link1ZUiRCUiPT0
3886 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
3887 on local variables in recursive functions.
3889 * gdb.t07/Makefile.in: Build the new test.
3893 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
3894 directly. Instead compare the return values from actual calls.
3898 * Makefile.in (check): Set TCL_LIBRARY for runtest.
3902 * From Peter Schauer with minor modifications.
3903 * gdb.t15/return.exp (return_tests): Handle targets where "return"
3904 stops in mid-line in the caller. Add xfail for returning a float
3905 value on X86 targets.
3909 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
3910 to avoid expect lossage.
3911 (fmem_LRbug_tests): Likewise.
3912 * gdb.disasm/hppa.s: Corresponding changes.
3914 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
3915 conditions to work with latest dejagnu/expect.
3917 * gdb.t15/funcargs.exp (finish from indirect call): No longer
3918 expected to fail on the PA.
3919 (backtrace in call with trampolines): Explicitly require main
3920 to be frame #1 (no trampolines should show up in backtrace).
3922 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
3924 * gdb.t06/break.exp: Likewise.
3925 * gdb.t07/watchpoint.exp: Likewise.
3926 * gdb.t13/bitfields.exp: Likewise.
3927 * gdb.t15/{funcargs,return}.exp: Likewise.
3928 * gdb.stabs/weird.exp: Likewise.
3929 * config/{mips,udi}-gdb.exp: Likewise.
3931 * hppa.sed: Enclose comments within a sed command to avoid
3932 losing with the old OSF1 sed.
3936 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
3938 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
3939 * gdb.t15/funcargs.exp: Conditionally step again to really
3940 finish from marker_call_with_trampolines. Handle the case where
3941 the first step from within call_with_trampolines already steps
3943 * gdb.t15/gdbme.c: Add comment to closing brace of
3944 call_with_trampolines for funcargs.exp.
3948 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3953 * gdb.t07/gdbme.c: More code for watchpoint testing.
3955 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
3956 "Hardware watchpoint" throughout file.
3957 (test_watchpoint_triggered_in_syscall): New test.
3958 (test_complex_watchpoint): New test.
3962 * gdbme.c (call_with_trampolines): New function to try and step
3963 into. Tests trampoline problems on the PA.
3965 * funcargs.exp (localvars_in_indirect_call): No longer expect
3966 stepping into indirect call to fail on PAs.
3967 (test_stepping_over_trampolines): New test.
3971 * TODO: Add suggestions for static member function tests, and
3976 * TODO: Add suggestions for "p/a" tests.
3978 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
3979 (default_gdb_exit): Replace all the hair with sending "quit" to
3980 the process with a simple close.
3984 * TODO: Add suggestions for shared library tests.
3988 * TODO: Add suggestions for x/s tests.
3992 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
3993 "enable once", and "enable breakpoints once" with ".*".
3997 * TODO: Add suggestions about structure passing tests.
4001 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
4002 the primary1 test, use work around if __GNUC__ < 2.
4003 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
4004 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
4005 Test for bad output rather than waiting for timeout. Issue
4006 second continue only if first continue failed.
4010 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
4011 operator[] test with gdb_test because the old code didn't seem to
4012 be getting the quoting right with the new dejagnu.
4016 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
4018 * Makefile.in: Use a fresh expect if there is one, use runtest
4019 from the src tree if there is one.
4023 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
4024 next over recursive call. Revise the tests from that point on
4025 (which had been skipped) to match GDB's actual (correct) output.
4027 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
4028 with next over a breakpoint whose condition is false.
4030 * gdb.t00/help.exp: Comment out "help set print" tests just like
4031 (and for same reason as) "help set" test.
4035 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
4036 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
4040 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
4041 necessary gdb_target_udi.
4043 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
4045 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
4046 1838 and 2417; they are fixed.
4048 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
4049 gdb.t03/ptype.exp (ptype structure, ptype union):
4050 Remove xfails; the test is looser than when the xfails were added.
4052 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
4053 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
4055 * gdb.t01/run.exp: Only run shell test if isnative.
4057 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
4058 since "run" automatically loads if necessary. Call gdb_target_udi
4059 after the "file" since "file" kills any execution target.
4061 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
4062 GDB. GDB doesn't work that way (not anymore at least) on UDI.
4063 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
4068 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
4070 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
4074 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
4075 properly quoting regexps. This makes the second argument to
4076 demangle a fixed string, which matches the callers, instead of a
4077 shell-style pattern which is what the previous implementation
4078 used. Update some of the callers.
4082 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
4083 (comib_nullified_tests): Fix typo.
4084 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
4085 strings. No longer expected to fail.
4087 * gdb.disasm/hppa.s (addib_tests): Fix typo.
4088 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
4089 strings. No longer expected to fail.
4091 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
4092 string. No longer expected to fail.
4096 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
4097 No longer expected to fail.
4099 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
4100 string. No longer expected to fail.
4104 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
4105 only in the names (I probably got most of them). I was even
4106 generous with some which differed in underscores in names, and
4107 probably missed a few, and I *still* was able to remove almost a
4108 third of the file with almost no impact on testsuite coverage.
4112 * gdb.t00/default.exp: Match udi_attach error message as well as
4113 the one from child_attach.
4115 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
4117 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
4119 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
4120 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
4122 * Move test with enums and partial symbols back to
4123 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
4124 Reverts the change of 26 May 93. Per today's change to
4125 stabs.texinfo, the behavior that weird.exp was expecting was
4126 unreasonable; what is important is that the compiler+gdb get
4127 things right, which happens with a recent gcc. Also fix the test
4128 to deal with native compilers which put out the stab gdb can't
4133 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
4134 in the names. The main thing these accomplish is to slow things down.
4135 Many more such duplicates surely remain.
4137 * gdb.t00/help.exp: Comment out "help support" test just like
4138 (and for same reason as) "help set" test.
4142 * gdb.t06/break.exp: Remove setup_xfails for
4143 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
4144 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
4145 about known bug in gcc to include up through 2.5.8.
4146 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
4148 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
4149 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
4150 with latest gcc and gdb.
4151 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
4156 * configure.in (hppa*-*-*): Also configure and build stabs-only
4161 * gdb.t10/hppa.mt: A makefile fragment for the PA.
4162 * gdb.t10/configure.in (hppa*-*-*): Use it.
4166 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
4170 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
4171 versions prior to 1.13.5.
4175 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
4176 the prompt is at the start of a line.
4180 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
4181 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
4182 in the copr tests now.
4183 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
4184 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
4189 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
4190 gdb.t31/chillvars.exp, lib/gdb.exp:
4191 Tweak to run under either version of expect.
4192 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
4193 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
4194 * gdb.t11/list.exp: Remove extraneous whitespace.
4198 * gdb.t16/printcmds.exp (test_print_strings): Accept
4199 "(unsigned char *) " before the string.
4201 * TODO: Add notes about printing of fancy types and GDB expressions.
4205 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
4206 * gdb.t06/configure.in: Don't try to compile signals test program
4207 if doing mips-idt-ecoff.
4211 * Most .exp files: Tweak to run under either version of expect.
4215 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
4216 xfails; I'm not sure why they are failing, but not because of PR 1806.
4220 * config/unix-gdb.exp: Remove gdb_unload cause it's already
4221 defined in lib/gdb.exp.
4225 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
4226 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
4227 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
4228 have to be typeless.
4232 * TODO: Add suggestion for copyright year test.
4236 * configure.in (*-*-lynxos*): Add stabs tests.
4240 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
4241 so insert a tab before any assembler directive in column zero.
4243 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
4245 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
4247 (fpu_short_memory_tests): Likewise.
4251 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
4252 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
4253 .stabs directives in comments.
4257 * TODO: New file, describing tests we could write.
4258 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
4262 * gdb.t06/signals.exp: Add kludge to force re-sync.
4264 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
4265 to xgdb instead of gdb, get out of gdb.
4269 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
4274 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
4275 * gdb.stabs/configure.in (hppa*-*-*): Use it.
4276 * gdb.stabs/hppa.sed: New sed script for the PA.
4280 * gdb.stabs: Re-write weird.def and configuration to use sed
4281 instead of cpp. sed is portable and POSIX; cpp is neither.
4285 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
4289 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
4293 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
4295 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
4296 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
4300 * lib/gdb.exp: Comment out code which depends on non-existent
4301 `transform' procedure.
4305 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
4306 * lib/gdb.exp: Transform tool name.
4307 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
4308 1.1's new error handling system.
4312 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
4316 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
4317 They made pattern matching so slow that timeouts happened on
4318 heavily loaded systems. Now any output from "show print" which
4319 gets us back to the GDB prompt is a PASS.
4321 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
4323 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
4327 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
4329 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
4330 It is not from PR 3220.
4334 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
4335 just started failing because they depended on the order the
4336 subcommands are presented, or exact docstring text. This kind of
4337 test is a pain and has minimal benefit.
4341 * gdb.t09/corefile.exp: At end of test, use "core" command with
4344 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
4346 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
4347 17}/Makefile.in: Make it possible to run the testsuite with Sun
4348 make and CC = cross gcc by adding explicit build rules for .o
4353 * gdb.t15/funcargs.exp: Don't put comments on same line as
4354 setup_xfail (@#$*%& tcl braindamage!).
4358 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
4362 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
4363 * gdb.t20/inherit.exp: remove three dumplicate entries.
4367 * gdb.t06/break.exp: For "next over recursive call", fail on any
4368 incorrect output, not just on "factorial (value=2)".
4372 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
4373 working now. Add an xfail if accesing a bss variable causes
4374 a memory error if the target is not yet run.
4378 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
4379 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
4380 name of __st* demangling (2 strings). Did Kung really get the
4381 more than 95 others right without testing them?
4385 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
4389 * configure.in (configdirs): Add gdb.disasm
4390 * gdb.disasm: New directory for GDB disassembler tests.
4391 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
4395 * gdb.t00/help.exp: Don't test "help set".
4397 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
4398 from within expect statements. None of these happen anymore and
4399 they cause regressions to be silently unnoticed.
4401 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
4402 messages) about known failures with gcc cygnus-2.4.5-930417.
4404 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
4405 comp-info.exp so it gets built if it doesn't exist.
4407 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
4408 it is no longer used.
4409 * gdb.t13/comp-info.c: Removed.
4413 * gdb.t06/signals.exp: Add xfail for sun3.
4417 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
4418 relevant because ^C doesn't get sent but failure can be reproduced
4423 * gdb.stabs/alpha.mt: New configuration file for alpha.
4424 * gdb.stabs/configure.in: Use it.
4425 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
4426 sharing with alpha.mt, redefine long to word via preprocessor.
4427 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
4429 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
4431 * gdb.t00/teststrategy.exp: Change expect string so that we
4432 consume the `(xgdb)' from the command echo and from the gdb prompt.
4433 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
4434 gdb currently compares all values as long, so this failure probably
4435 applies to any configuration where LONGEST is bigger than a target int.
4436 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
4438 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
4439 to handle opaque pointers, gcc is.
4440 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
4441 as first argument. Include <sys/types.h> and change all operator
4442 new definitions to use size_t.
4443 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
4444 now that we use size_t.
4448 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
4449 a long or float array cast all array members to the same type.
4450 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
4452 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
4454 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
4458 * gdb.t24 (demangle.exp): Constructors of templates have names like
4459 vector<int>::vector(int) not vector<int>::vector<int>(int). See
4460 section 14.6 of the ARM.
4462 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
4463 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
4464 accomplish little and slow down the testsuite.
4466 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
4467 Accept spaces various places.
4471 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
4472 with watchpoint enabled.
4474 * Makefile.in: Remove definition of CC and remove the second
4475 definition of CXX (the "CXX = gcc" one remains). These definitions
4476 were causing backquotes to be expanded within backquotes, which
4481 * gdb.t17/callfuncs.exp: Add "return 0" to end.
4485 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
4486 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
4487 by mips cc and contains no stabs entries.
4491 * config/vx-gdb.exp: Use fake device to load files rather than
4493 * lib/gdb.exp: New proc to do "file" command.
4494 * config/unix-gdb.exp: Use new "file" proc.
4498 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
4499 Rework board rebooting slightly.
4500 (gdb_exit): Don't exit from the remote shell; there isn't one.
4501 * gdb.stabs/weird.exp: If a program is being debugged already,
4503 * gdb.t04/setvar.exp: Stop and restart gdb.
4504 * gdb.t05/expr.exp: Likewise.
4505 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
4506 restart gdb and reload the program.
4507 * gdb.t08/opaque.exp: Likewise.
4508 * gdb.t12/scope.exp: Likewise.
4509 * gdb.t13/bitfields.exp: Likewise.
4510 * gdb.t15/funcargs.exp: Likewise.
4511 * gdb.t20/classes.exp: Likewise.
4512 * gdb.t03/ptype.exp: Increase timeout.
4513 * gdb.t16/printcmds.exp (test_print_string_constants,
4514 test_print_array_constants): Likewise.
4515 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
4516 * gdb.t20/classes.exp (do_tests): Likewise.
4517 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
4521 * gdb.stabs: Renamed *wierd* to *weird*.
4525 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
4526 for timeout. Add "known gcc 2.4.5 bug" to failure message.
4530 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
4531 (do_tests): Remove xfail for whatis on one_var and two_var.
4535 * Makefile.in: Made cross building work better by adding
4536 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
4540 * gdb.t15/{return.c,return.exp,Makefile.in}:
4541 New test, currently commented out.
4545 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
4546 still running and removes the leftover named socket so GDb can do
4551 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
4553 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
4554 cross testing works better with "make check"
4555 * config/unix-gdb: Use default procedures for exit and version.
4556 * config/vx-gdb.exp: Cleaned up and massaged back to working order
4557 with the newest VxWorks.
4561 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
4564 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
4565 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
4567 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
4569 * config/unix-gdb.exp: Remove this version of gdb_exit
4570 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
4571 Rob says he'll look at it when he gets back to testing boards.
4575 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
4576 an expected fail for certain ptype commands.
4578 * gdb.t20/classes.exp: Update expected results of "ptype class
4579 Base1" to account for the constructor that now appears in the type.
4583 * configure.in (configdirs): Restore gdb.t04, which mysteriously
4584 disappeared from list.
4585 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
4586 "alldone" proc with call to cleanup and exit.
4587 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
4588 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
4589 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
4590 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
4591 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
4592 "alldone" proc with simple returns that suppress remaining
4593 tests. The alldone proc went away many months ago.
4597 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
4599 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
4603 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
4604 as vax gdb will display them.
4608 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
4611 * scope.exp: Change "bad value for localval" messages so each one
4614 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
4615 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
4617 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
4621 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
4622 doesn't exist (due to optimization).
4626 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
4627 contains \r because the filename is long.
4629 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
4630 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
4634 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
4635 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
4637 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
4639 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
4643 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
4645 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
4646 to match does not match the passing case but still matches the
4651 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
4655 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
4656 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
4657 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
4658 Remove various versions of gdb_exit.
4659 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
4661 * config/unix-gdb.exp: gdb_exit remains here, and should override
4662 the generic version, since it's doing a lot of wierd stuff that
4663 the other versions aren't. FIXME, fold it in, or abandon this
4668 * gdb.t24/demangle.exp: Add tests for PR 3220.
4672 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
4676 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
4677 "i386-*-*". Works for i486 as well.
4679 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
4680 bug, and expand domain of xfail to all SVR4 systems, since the
4681 actual problem is likely to be in generic SVR4 /proc support.
4685 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
4689 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
4690 xfails for other systems. Match a missing 'Continuing.' as an
4691 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
4693 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
4694 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
4695 Only issue warning for missing executables if -all option is used.
4697 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
4698 file if -all option is used. It's like an unpredictable XFAIL.
4702 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
4703 for dynamically linked binaries.
4705 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
4709 * gdb.t20/inherit.exp: Change message for "print tagless struct"
4710 to state that this is a known bug in old versions of g++.
4714 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
4715 while waiting for `Continuing'.
4719 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
4720 in text, data, and bss.
4721 * gdb.t10/nodebug.c: Add local and global test variables for
4722 initialized and uninitialized data.
4726 * config/unix-gdb.exp (gdb_exit): Add "wait".
4730 * gdb.t06/signals.exp: xfail the continue from the handler for all
4733 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
4734 function with watchpoints enabled, the i386 call dummy starts with
4737 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
4738 386 bsd names its corefiles.
4742 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
4743 compilers don't grok it.
4744 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
4745 with small octal ints rather than character constants, which
4746 are signed and might not fit if first promoted to int.
4750 * gdb.t09/Makefile.in (clean): Remove corefile.
4754 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
4759 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
4760 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
4761 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
4765 * gdb.t17/interrupt.exp: Add xfail for hppa.
4769 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
4770 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
4771 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
4772 to determine signed-ness of bitfields and use the result to setup
4774 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
4775 * gdb.t15/funcargs.exp: Use them to step until the second indirect
4776 call line is reached if necessary.
4780 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
4784 * gdb.t06/break.exp: Also test `clear' command.
4788 * gdb.t00/teststrategy.exp: Remove extra quote.
4790 * gdb.t07/watchpoint.exp: Change xfail for calling function with
4791 watchpoint enabled to be for all non-68k machines.
4793 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
4797 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
4798 targets use aout.mt instead of ecoff.mt as gas understands
4799 standard aout format.
4803 * lib/gdb.exp (runto): Don't insist that function we are running to
4804 was compiled with -g.
4806 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
4808 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
4809 to get back into the read system call.
4810 Accept leading newline in case where we woke it up.
4814 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
4815 to make the stabs test work on ecoff systems using gcc and -with-stabs.
4816 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
4817 enable ecoff configuration.
4821 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
4825 * gdb.t16/printcmds.exp: Add another printf test.
4829 * configure.in: If configured -with-stabs on any target, add
4830 stabsdirs to configdirs.
4834 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
4835 fun" so pattern does not match the command itself.
4839 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
4843 * gdb.t17/interrupt.exp: Test for more things.
4847 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
4848 compiler arranges the code and line numbers.
4850 * gdb.t17/interrupt.exp: Don't send \n after ^C.
4854 * gdb.t00/help.exp: Increase expect input buffer size.
4858 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
4860 * gdb.t07/watchpoint.exp: Add xfail for hppa.
4862 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
4864 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
4865 [0-9]*, not just [0-9].
4869 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
4871 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
4875 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
4879 * gdb.t06/signals.c: Add xfails for sun3.
4881 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
4883 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
4884 test_stepping tests.
4888 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
4890 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
4892 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
4893 rather than actually putting it through cpp twice.
4895 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
4899 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
4904 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
4906 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
4907 C++ features prints as "struct", make it a pass, not an xfail.
4911 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
4912 Don't require VA to print as "class" rather than "struct".
4916 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
4920 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
4924 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
4929 * gdb.t16/printcmds.exp: Add printf tests.
4931 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
4933 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
4937 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
4938 pass counts, to counteract any existing or future setup_xfails.
4942 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
4943 {BEGIN,END}_COMMON for common block instead of STAB.
4944 * gdb.stabs/wierd.exp: Add xfail for rs6000.
4946 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
4947 intp_var should be N_GSYM not N_LSYM.
4948 wierd-aout.S: Use a label for the value of the N_SO.
4949 wierd.def: Remove all backslashes.
4950 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
4954 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
4955 get the expected next to inheritance3.
4959 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
4960 now that gcc-2.4 gets it right.
4964 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
4966 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
4967 generating comp-info.exp which works for cross-compilation.
4971 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
4976 * gdb.t01/run.exp: Start with a fresh gdb.
4977 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
4982 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
4983 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
4984 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
4985 Makefile.in (distclean, realclean): Remove gdbme.c from list of
4990 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
4991 test cases from bug reports.
4995 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
4996 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
4997 avoid spurious xfails.
4998 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
4999 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
5000 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
5004 * gdb.t00/teststrategy.exp: Rework to provide more useful
5005 description of each test, fix problem with systems that define
5006 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
5007 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
5008 results for "next over recursive call" so timeouts aren't taken
5013 * gdb.t12/scope.exp: Test printing of variables before run.
5015 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
5016 printed in wrong order due to sorting.
5020 * gdb.t00/teststrategy.exp: Fix expected results for printing
5021 user entered string constant. Is array of char, prints with no
5024 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
5026 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
5027 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
5028 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
5029 of struct of char arrays.
5030 * gdb.t00/radix.exp: New tests for radix commands.
5034 * gdb.t16/printcmd.exp: Print a variable before running program
5035 (with xfail for AIX).
5039 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
5041 * gdb.t16/printcmd.exp: Don't print variables before running program.
5043 * gdb.t06/break.exp: Don't require envp argument to main.
5045 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
5047 * gdb.t02/whatis.exp, gdb.t11/list.exp:
5048 Add xfails for rs6000.
5050 * gdb.t02/whatis.exp: Change other tests not to re-test something
5053 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
5054 each type used has a variable of that type.
5058 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
5060 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
5062 * configure.in: change srctrigger to be a file, not a directory
5066 * configure.in (mips-idt-ecoff*): Added trailing '*'.
5068 * gdb.t11/list.exp: Fixed a couple of typos.
5072 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
5073 is fixed and PR is closed.
5074 * gdb.t16 (gdbme.c): Add simple test string variable.
5075 * gdb.t16 (printcmds.exp): Add tests with simple test string
5076 variable, primarily for boundaries on "set print elements".
5080 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
5081 Make leading 0's optional and don't expect a tab in the middle
5084 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
5086 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
5087 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
5088 don't end command passed to gdb_test with newline.
5090 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
5091 signed keyword away, don't expect signed bitfields to be signed.
5093 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
5094 printing with only as many 1's as are in the field as well as printing
5095 with 32 1's (see comment).
5099 * gdb.t00/default.exp: Start with a fresh gdb.
5100 * configure.in (configdirs): Remove gdb.t31 until the chill
5101 compiler works again. It no longer is able to find chillrt0
5102 since it isn't in libchill.a anymore.
5103 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
5104 wierd.o, make more modular.
5105 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
5106 spurious newlines that caused problems.
5110 * Move test with enums and partial symbols from gdb.t03/ptype.exp
5111 to gdb.stabs/wierd.exp since GCC has worked around the bug.
5112 gdb.stabs/wierd.{exp,def}: Many new tests.
5114 * gdb.t00/default.exp: update info line for new message.
5116 * gdb.t02/{whatis.exp,gdbme.c}:
5117 Test that "char *" doesn't print as "caddr_t".
5121 * gdb.t00/help.exp: Use .* in place of some help messages which
5123 gdb.t00/default.exp: Update "info frame" test for new message.
5124 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
5129 * gdb.t03/{gdbme.c,ptype.exp}:
5130 Add tests for typedef'd struct and union without tags.
5131 Also check "whatis" on a variable of a typedef'd enum without a tag.
5133 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
5134 PRMS 1823; the bug still exists but isn't reproduced by this test
5135 anymore), and remove rs6000 XFAIL (the bug is fixed).
5137 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
5138 duplicated from whatis.exp. For those that are left, accept
5139 "long", "long int", or "int" for long variables (whatis.exp already
5140 has an XFAIL for "int", so no need to fail it here).
5142 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
5143 Deal with GCC's names for types now that GDB uses the compiler's names.
5145 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
5146 setup_xfail's for sunos4. If we #defined the signed keyword away,
5147 don't expect GDB to know that char it is signed.
5149 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
5153 * configure.in (configdirs): Add gdb.t24 for C++ tests that
5154 should work on any system, regardless of debugging format.
5155 * gdb.t21/demangle.exp: Move to gdb.t24.
5156 * gdb.t24/demangle.exp: Move from gdb.t21.
5157 * gdb.t24/{Makefile.in, configure.in}: New files.
5161 * configure.in: Do gdb.stabs and C++ tests only for stabs.
5162 * gdb.stabs: New directory.
5166 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
5167 not just "Quit anyway?".
5171 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
5172 that all setup_xfails are immediately followed by clear_xfails.
5176 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
5177 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
5178 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
5179 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
5180 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
5181 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
5182 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
5183 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
5184 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
5185 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
5186 gdb.t31/chillvars.exp, lib/gdb.exp:
5192 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
5193 with 0.0, not integer 0.
5197 * gdb.t06/break.exp: Update for "Kill the program" message change.
5201 * Makefile.in (GDBFLAGS): Set to -nx.
5202 * Makefile.in (site.exp): Use GDBFLAGS.
5206 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
5208 (check): depend on just-check.
5209 (just-check): added so that tests can be run without a noop
5214 Switch to using configure's configdirs.
5215 * Makefile.in (Makefile): add configure.in dependency.
5216 (SUBDIRS): removed redundant assignment.
5217 * configure.in: switch subdirs assignment to configdirs.
5218 * gdb.t*/configure.in: new files.
5222 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
5227 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
5228 in explicit rules. Apparently this is not supported by some makes.
5232 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
5236 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
5241 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
5245 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
5246 watchpoint problem that is now fixed.
5247 * gdb.t30/chexp.exp: Remove setup_xfail for printing
5248 uninitialized convenience variables.
5249 * gdb.t31/chillvars.exp: Fix expected patterns for printing
5254 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
5255 which causes expect to get out of sync with gdb on long output
5257 * gdb.t09/corefile.exp: Make expected pattern for core file
5258 failing signal and frame output format less sun specific.
5262 * gdb.t31/chillvars.exp: Add and remove initial dummy
5263 breakpoint, so that symbol table is forced in.
5264 (Needed at least on Sunos4, though it seems not SVR4.)
5265 * gdb.t31/chillvars.exp: Update for changed output format.
5267 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
5269 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
5273 * Makefile.in: Added --srcdir when invoking runtest, removed the
5274 need for a local config file. (optional now)
5278 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
5279 failure count used to force early termination. Add some more
5280 expected failures for gnu style demangling.
5284 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
5285 pmi variable from gdb.t20/gdbme to get optimized away.
5286 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
5287 Check for written corefile upon timeout _and_ eof.
5291 * config/unix-gdb.exp: Add missing return 0.
5295 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
5300 * configure.in (subdirs): Put back gdb.t17 which mysteriously
5305 * gdb.t10/crossload.exp: Disable the i860-elf test until such
5306 time as i860 support works.
5308 * gdb.t15/funcargs.exp: Fix expected outputs to include
5309 "backtrace 100\r" rather than just "backtrace\r", to match last
5314 * config/udi-gdb.exp (gdb_exit): Remove close command.
5315 (gdb_target_udi): New procedure to set the UDI target.
5316 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
5317 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
5318 Added waits for prompts after several question responses. Added
5319 some more responses used by a29k-amd-udi-gdb.
5320 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
5321 pass different arguments, restart UDI connection after program
5323 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
5324 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
5325 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
5326 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
5327 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
5328 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
5329 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
5330 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
5331 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
5332 after program completion.
5333 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
5334 compiled with a SELECT_VECS setting.
5335 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
5338 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
5339 Added checks for COFF results, and made them expected failures for
5340 all targets. It would be better to make them expected failures
5341 for COFF targets only.
5343 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
5345 * Makefile.in: add null dvi target, don't bother to recurse
5346 through test directories for info and install-info; rename
5347 $(datadir) to be dejagnu instead of deja-gnu
5351 * gdb.t31/gdbme.ch: Re-enable code that previously caused
5352 compiler to coredump.
5353 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
5358 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
5360 * gdb.t31/chillvars.exp: Comment out tests that depend on that
5363 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
5365 * gdb.t03/ptype.exp: tests for return code from gdb_test.
5366 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
5367 which in a shell. Deletes xgdb when done.
5368 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
5369 Tests the return from the "set height" or "set width" commands.
5370 Added a few return codes where needed.
5374 * Makefile.in (SUBDIRS): Add gdb.t17.
5375 * configure.in (subdirs): Add gdb.t17.
5376 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
5377 files to test gdb's calling of functions in the inferior with
5378 the correct arguments and gdb's ability to retrieve any
5383 * config/unix-gdb.exp (gdb_exit): Remove close commands that
5384 may be called after gdb goes away. Previous versions of expect
5385 needed these to avoid file descriptor leaks, but they cause
5386 errors with the current revision of expect.
5387 * gdb.t00/gdbvars.exp: Use -re on expected output after
5388 setting sevenbit-strings.
5389 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
5390 to set sevenbit-strings consistent across tests.
5391 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
5392 set sevenbit-strings consistent across tests.
5396 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
5397 expected output to match current "expect" expectations.
5401 * gdb.t00/default.exp: Change expected output for default "source"
5402 command, to match new gdb behavior which requires a filename to
5407 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
5408 expected fail for i486-*-* that misses the marker2 function.
5409 * gdb.t10/crossload.exp (bfddefault): Allow successful
5410 recognition of a format to pass even if no symbols are found.
5411 Explicitly catch failures where the format is not recognized
5412 or is ambiguous, and add the reason to the fail message.
5413 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
5414 the cause is and invalid target and add reason to failure message.
5415 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
5416 elf32-i386, elf32-sparc, and elf32-i860.
5417 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
5418 Set up expected failure for 'filename'::variable scope resolution,
5419 which is now apparently broken on all targets.
5420 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
5421 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
5422 gdb.t23/templates.exp: Change failure for missing binfile into
5424 gdb.t21/demangle.exp: Change all cfront references to 'arm'
5429 * gdb.t00/default.exp: Add expected output for default "source"
5430 command, to match new gdb behavior.
5431 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
5435 * config/*-gdb.exp: returns an error, rather than exiting on
5440 * gdb.t03/gdbme.c: Add pointer to struct variable.
5441 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
5442 referencing struct members.
5446 * configure.in (mips-idt-ecoff): New target.
5447 * config/mips-gdb.exp: New file for remote board using MIPS remote
5450 * Redid configuration scheme. Removed gdb.t*/configure.in.
5451 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
5452 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
5453 distclean targets. Built executables via .o files. Adjusted
5454 tests to account for source files in $(srcdir) rather than
5456 * lib/gdb.exp (runto): Don't expect () after the function name,
5457 because it may have arguments.
5461 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
5462 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
5463 expected failures for mips-idt-* and mips-sgi-*.
5464 * gdb.t00/default.exp (attach): Kill process if requested.
5465 * gdb.t00/help.exp (help target core, help target): Accept a gdb
5466 that does not read core files.
5467 * gdb.t01/run.exp: Removed checks for exit status code.
5468 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
5470 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
5471 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
5472 appropriate, rather than doing it by hand.
5473 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
5475 * gdb.t10/crossload.exp: Kill existing program if needed.
5476 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
5477 appropriate, rather than doing it by hand. Always increase
5478 timeout for this test, not just for VxWorks.
5482 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
5483 of Chill STRUCT types and STRUCT values.
5484 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
5486 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
5487 struct2): New struct definitions and initializations to test
5488 simple Chill STRUCT types.
5492 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
5493 the null byte at the end of strings.
5494 * gdb.t00/default.exp: Make show version insensitive to copyright
5496 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
5497 to avoid dependencies on target char signedness.
5498 * gdb.t16/printcmds.exp: Update expected results for explicitly
5500 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
5502 * gdb.t21/demangle.exp: Add many more patterns for template
5503 demangling, most of them being expected failures.
5504 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
5505 string we are matching for, to match on the whole string.
5506 * gdb.t21/demangle.exp: Add many new test strings to demangle,
5507 and fix a whole bunch that had incorrect expected output but were
5508 passing anyway because of the bug in "proc demangle".
5509 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
5511 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
5515 * gdb/testsuite: made modifications to testcases, etc., to allow
5516 them to work properly given the reorganization of deja-gnu and the
5517 relocation of the testcases from deja-gnu to a "tool" subdirectory.
5521 * gdb/testsuite: Initial creation of gdb/testsuite.
5522 Migrated dejagnu testcases and support files for testing nm to
5523 gdb/testsuite from deja-gnu. These files were moved "as is"
5524 with no modifications. This migration is part of a major overhaul
5525 of dejagnu. The modifications to these testcases, etc., which
5526 will allow them to work with the new version of dejagnu will be
5527 made in a future update.
5533 version-control: never