3 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
10 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
11 it makes the tests harder to understand and confuses test-o-matic.
12 The preferred style is that each test provides a PASS or a FAIL,
13 and has a unique message (e.g. "continue #54" not just "continue")
14 which is the same for the pass and the fail.
15 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
16 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
18 * gdb.base/printcmds.exp: Use test_print_accept. Remove
19 prt_accept which was basically the same thing. Likewise for
20 test_print_reject and prt_reject.
21 * lib/gdb.exp (test_print_reject): Add some more error message
22 patterns to match from the former printcmds.exp (prt_reject).
23 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24 One defect of the passcount stuff is that some of it failed to
25 report XPASS where appropriate.
26 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
27 stuff before and after arg in expected pattern.
28 (test_paddr_operator_functions): Re-do test without print_addr_of;
29 this is the only test which seems to want extra stuff there.
33 * gdb.base/nodebug.exp: Update new tests to reflect improved
34 wording of gdb output.
36 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
37 and "ptype" work on variables in files compiled without -g.
38 Replaces commented out "maint print msymbol" tests.
42 * gdb.base/setvar.c (dummy): Call malloc.
44 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
45 losing with the irix4 sed.
47 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
52 * TODO: Remove items about corefile.exp testing new exec-file and
53 backtrace; both are now done. Add items about printing enums.
57 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
58 "get signal $thissig" test fails.
60 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
64 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
65 compiler warning with dec alpha compiler.
67 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
68 extra \n from gdb_test call (this explains why the prompt test
69 that I removed yesterday was there).
70 (user_defined_command_test): Remove extra \n and prompt test.
72 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
73 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
75 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
76 Also remove alpha workaround, which turns out to be because
79 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
81 * gdb.base/help.exp: Don't test "help show".
85 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
86 "set print address" is on.
87 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
88 pass prompt to gdb_test; gdb_test already looks for the prompt.
90 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
92 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
93 was a vestige of the manual TESTSTRATEGY, and the purpose of it
94 was to make sure that gdb can read a core file. But (a) the "read
95 the corefile" part didn't make it to a1-selftest.exp, we just
96 delete the corefile after creating it, and (b) we test reading
97 corefiles in corefile.exp anyway. Also, this test left around a
98 xgdb process on Solaris.
100 * gdb.base/corefile.exp: Also test backtrace.
104 * gdb.base/commands.exp: Test a simple user defined command with
105 arguments and if/while statements; verify the full user command is
106 printed by "show user".
108 * gdb.base/commands.exp: Test if/while commands as part of a
109 breakpoint command list; verify they appear in breakpoint
114 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
115 than by dividing by zero.
119 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
120 performing an inferior call with watchpoints enabled.
121 * gdb.base/watchpoint.c (main): Delete second unnecessary read
126 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
129 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
130 Add additional pattern for when "int operator int(void);" appears
131 in a different order.
135 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
137 * gdb.base/help.exp: Replace most of docstrings for "info signals"
138 and "signal" with ".*".
142 * TODO: Add note about "handle all nostop".
144 * gdb.base/{sigall.c, sigall.exp}: New test.
145 * gdb.base/Makefile.in: Add it.
149 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
150 when invoking GDB, suppresses any windowing interface.
154 * config/sim-gdb: New file, simulator testing support.
158 * gdb.base/interrupt.exp: Test calling func1 twice.
162 * gdb.base/list.exp (test_forward_search): Set timeout higher
163 when we'll be getting lots of output from gdb.
165 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
166 "init_malloc" to after the expect statement. Run it if that
167 regexp is taken, but also for two others which happen if source
172 * gdb.base/printcmds.exp: New test, for printing register before
177 * gdb.base/list.exp: Correct some alternate expect patterns
178 to reflect changes in list1.c.
182 * TODO: Add item regarding large frames.
184 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
186 * TODO: Remove item about enabling return.exp; it
187 is enabled. Suggest a few more "return" tests.
191 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
196 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
197 and pr-5646.o, so "make" is the same as "make all", not "make
202 * gdb.base/list.exp: Adjust expectations to reflect changes in
204 (test_forward_search): New test proc.
205 * gdb.base/list1.c (long_line): New function, has long source line.
209 * gdb.base/a1-selftest.exp: Change initial stepping to know about
210 additional line of code that was added.
214 * gdb.disasm/hppa.s: Break the large branching tests into smaller
215 tests so as not to overflow expect's input buffers.
216 * gdb.disasm/hppa.exp: Corresponding changes.
220 Beginnings of template debugging tests.
221 * gdb.c++/templ-info.cc: New file to test for template
222 debugging capability of the compiler.
223 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
225 * gdb.c++/templates.cc: Add explicit template instantiations
226 to enable compiling with -fno-implicit-templates. Add destructor
227 and 'value' method to T5 class for template tests.
228 * gdb.c++/templates.exp: Add testcases for printing of template
229 types, setting breakpoints on template methods and calling a
234 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
235 branch target since some assemblers (gas-2.5) may emit a
236 relocation for the branch instead of resolving it in the
241 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
242 through signal handler.
246 * configure.in (*-*-netware): Use config/mt-netware.
248 * config/mt-netware: New file.
249 * config/mt-i386-netware: Removed, separate configs for different
250 netware architectures are no longer needed now that we have
255 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
256 by the recent changes to use ANSI C arithmetic conversions.
260 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
261 bug involving using inferior_pid to figure out whether to select a
266 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
267 match the current disassembler output.
271 * gdb.fortran/exprs.exp: Expect VOID instead of void.
272 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
273 types, expect "int" as type of integer values (for now).
277 * gdb.base/commands.exp: New tests for if/while commands.
281 * lib/gdb.exp (runto): Replace sub-pattern for hex value
282 by .*, since hex values have different syntax in Chill mode.
286 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
287 linefeed from expect pattern for repeated types with indices > 9.
291 First part of Fortran test suite.
292 * gdb.fortran: New directory.
293 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
297 * gdb.base/default.exp: Update expect pattern for load command
302 * configure.in: Change i386 to i[345]86.
303 * gdb.base/configure.in: Likewise.
304 * gdb.c++/configure.in: Likewise.
305 * gdb.chill/configure.in: Likewise.
309 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
310 patterns, since that is not a valid context for comments.
314 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
315 repeated types and repeated types with indices > 9.
319 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
320 2417; old bug has been fixed.
324 * gdb.base/interrupt.exp: When trying to wake up the inferior,
325 send the newline ourselves instead of assuming gdb_test will do
326 so when passed an empty input string.
328 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
333 * lib/gdb.exp (gdb_test): Don't send anything if the first
334 argument is an empty string. This makes cases where we want to
335 match output that is already in expect's buffers (for example,
336 matching a breakpoint after gdb_run_cmd has been called) work
341 * config/netware.exp: New file.
345 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
346 the -B and -L prefixes so we can find the debugging stub.
348 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
349 there and we are using the gcc from the tree.
351 * gdb.base/types.c: Removed.
353 * gdb.base/configure.in: Look for makefile fragments in ../config.
354 Recognize i386-*-netware.
355 * gdb.c++/configure.in: Likewise.
359 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
360 the correct TCL syntax.
364 * gdb.base/opaque.exp: use runto instead of messing around with
365 breakpoints. Simplify by using gdb_test.
367 * gdb.base/bitfields.exp: restart between tests on netware targets
368 because breakpoints aren't relocated after target death. Run
369 processes to completion.
371 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
375 * Makefile.in: Remove extra tabs that confuse some versions
376 of "make". Use the newly built gdb to test with by default,
377 rather than the first one in the tester's search path.
381 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
383 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
388 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
390 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
392 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
393 * gdb.base/funcargs.exp: Likewise.
395 * gdb.base/bitfields.exp: Simplify by using gdb_test.
396 * gdb.base/funcargs.exp: Likewise.
398 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
403 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
404 return,signals,twice}.exp: Handle non-existant binaries
407 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
408 * gdb.base/Makefile.in: Don't try to generate a core dump, we
409 might testing a cross development system.
413 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
414 runtest script is relative to ${srcdir}, not ${rootdir}.
418 * gdb.base/signals.exp: Allow for optionality of breakpoint
423 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
427 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
428 for size_t definition.
429 * gdb.c++/templates.cc: Likewise
431 * config/mt-i386-netware: New file.
433 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
436 * gdb.base/Makefile.in: Added support for systems that name core
437 files by appending "core" to the program name.
438 * gdb.base/a1-selftest.exp: Likewise.
442 * gdb.base/return.exp: Add comment and message for `return double'
443 test failure on Sparc Solaris.
447 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
451 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
452 from optimizing them away.
453 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
454 patterns to include default constructors and assignment operators,
455 to match gcc versions beyond 2.5.8. Accept any cplus demangling
456 character in the output of the virtual base pointer.
460 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
461 expression match in print_addr_of to avoid unintented matches.
462 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
463 versions up to 2.5.8.
467 * gdb.base/list.exp: Tweak alternate pattern for listing of an
468 included file to run under newer versions of expect.
469 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
470 consecutive >'s in templates to accomodate recent cplus-dem.c change.
471 Remove xfail for the virtual table of BDDHookV.
475 * lib/gdb.exp (string_to_regexp): Set a default result.
476 (default_gdb_start): Fix misleading message.
480 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
481 Remove all CC, etc definitions.
482 * config/mt-hpux: New file.
483 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
484 (CFLAGS, LDFLAGS): Define.
485 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
487 * Makefile.in (site.exp): Don't insert host_os, etc.
488 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
489 (distclean): Check existence of subdir.
490 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
491 * gdb.base/Makefile.in: General cleanup and simplification.
492 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
493 to build executables. Use default rule to build .o files.
494 (EXPECT, RUNTEST, CC): Fix relative pathname.
495 (site.exp): Don't insert host_os, etc.
496 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
497 and/or SIGUSR1 defined.
498 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
499 * gdb.c++/Makefile.in: General cleanup and simplification.
500 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
502 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
506 * gdb.base/recurse.exp: Misc changes to get tests running again
507 after Kung's changes to the watchpoint code.
508 * gdb.base/watchpoint.exp: Likewise.
512 * lib/gdb.exp (string_to_regexp): Convert {\} also.
516 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
517 * lib/gdb.exp (default_gdb_start): Define.
518 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
519 gdb.base/funcargs.exp, gdb.base/opaque.exp,
520 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
521 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
522 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
523 Don't call gdb_target_udi in between tests.
527 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
528 (which was basically just a local version of the same thing). In
529 addition to avoiding duplication, gdb_test_exact is faster.
530 * lib/gdb.exp (gdb_test_exact): Fix typo.
532 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
535 * gdb.base/term.exp: Call delete_breakpoints before starting.
537 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
542 Reorganization of the GDB Test Suite.
544 * gdb.base: New directory, contains all the basic tests.
545 * gdb.c++: New directory, tests specific to C++.
546 * gdb.chill: New directory, tests specific to Chill.
547 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
548 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
549 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
550 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
551 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
553 * */gdbme.*: Rename to match appropriate expect scripts.
554 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
555 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
556 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
557 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
558 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
559 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
560 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
561 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
562 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
563 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
564 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
565 gdb.c++/virtfunc.cc: New names of C++ files.
566 * gdb.chill/chillvars.ch: New name of Chill file.
567 * gdb.base/configure.in, gdb.c++/configure.in,
568 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
569 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
570 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
571 * configure.in (configdirs): Update to reflect directory changes.
572 (target_abbrev): No longer define for any configuration.
573 * Makefile.in: Cosmetic improvements to header comments.
577 Various changes to gdb.t31:
579 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
580 * gdbme.ch: Make all key-words and predefineds be upper-case.
581 * chillvars.exp: Expect key-words and predefinds in upper-case.
583 * chillvars.exp: Use gdb_test_exact many places.
584 Change expected output for arrays (which now includes index labels).
586 * pr-5020.exp, gdme.ch (module PR_5020):
587 New test, for PR-5020.
591 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
592 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
596 * Makefile.in: Fix bit-rot in definitions of CHILL,
597 CHILL_FOR_TARGET and Chill_LIB.
598 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
599 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
600 CHILL, and CHILL_LIB.
604 * Makefile.in (TARGET_FLAGS_TO_PASS): Fix syntax of
605 sanitize-chill comments.
609 * Revert the previous changes. Please see Rob's directory
610 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
614 * Makefile.in, configure.in, config/mips-gdb.exp,
615 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
616 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
617 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
618 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
619 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
620 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
621 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
622 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
623 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
624 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
625 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
626 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
627 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
628 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
629 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
634 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
635 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
636 Rob's new testing fragments.
640 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
641 lib/gdb.exp: Replace error proc calls with perror.
645 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
646 version also, match on casted version strings, and match on
647 gdb startup case where the line numbers might be messed up.
651 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
652 (CFLAGS): Delete it from here.
656 * .Sanitize: Drop the gdb.t30 and gdb.t31 directories
657 unless keep-chill was specified on the command line.
658 * Makefile.in, config/makefile.rel.in: : Add comment lines
659 to Sanitize out CHILL references unless keep-chill
664 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
668 * Makefile.in (RUNTEST): Default to just "runtest".
672 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
673 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
674 the code has been restructured.
678 * gdb.t00/default.exp (set write): Allow any number of \r and/or
679 \n, not just one of each.
681 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
682 /bin/cc gives a warning if you do.
686 * gdb.t24/demangle.exp: change expect pattern of
687 __t10ListS_link1ZUiRCUiPT0
691 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
692 on local variables in recursive functions.
694 * gdb.t07/Makefile.in: Build the new test.
698 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
699 directly. Instead compare the return values from actual calls.
703 * Makefile.in (check): Set TCL_LIBRARY for runtest.
707 * From Peter Schauer with minor modifications.
708 * gdb.t15/return.exp (return_tests): Handle targets where "return"
709 stops in mid-line in the caller. Add xfail for returning a float
710 value on X86 targets.
714 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
715 to avoid expect lossage.
716 (fmem_LRbug_tests): Likewise.
717 * gdb.disasm/hppa.s: Corresponding changes.
719 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
720 conditions to work with latest dejagnu/expect.
722 * gdb.t15/funcargs.exp (finish from indirect call): No longer
723 expected to fail on the PA.
724 (backtrace in call with trampolines): Explicitly require main
725 to be frame #1 (no trampolines should show up in backtrace).
727 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
729 * gdb.t06/break.exp: Likewise.
730 * gdb.t07/watchpoint.exp: Likewise.
731 * gdb.t13/bitfields.exp: Likewise.
732 * gdb.t15/{funcargs,return}.exp: Likewise.
733 * gdb.stabs/weird.exp: Likewise.
734 * config/{mips,udi}-gdb.exp: Likewise.
736 * hppa.sed: Enclose comments within a sed command to avoid
737 losing with the old OSF1 sed.
741 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
743 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
744 * gdb.t15/funcargs.exp: Conditionally step again to really
745 finish from marker_call_with_trampolines. Handle the case where
746 the first step from within call_with_trampolines already steps
748 * gdb.t15/gdbme.c: Add comment to closing brace of
749 call_with_trampolines for funcargs.exp.
753 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
758 * gdb.t07/gdbme.c: More code for watchpoint testing.
760 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
761 "Hardware watchpoint" throughout file.
762 (test_watchpoint_triggered_in_syscall): New test.
763 (test_complex_watchpoint): New test.
767 * gdbme.c (call_with_trampolines): New function to try and step
768 into. Tests trampoline problems on the PA.
770 * funcargs.exp (localvars_in_indirect_call): No longer expect
771 stepping into indirect call to fail on PAs.
772 (test_stepping_over_trampolines): New test.
776 * TODO: Add suggestions for static member function tests, and
781 * TODO: Add suggestions for "p/a" tests.
783 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
784 (default_gdb_exit): Replace all the hair with sending "quit" to
785 the process with a simple close.
789 * TODO: Add suggestions for shared library tests.
793 * TODO: Add suggestions for x/s tests.
797 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
798 "enable once", and "enable breakpoints once" with ".*".
802 * TODO: Add suggestions about structure passing tests.
806 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
807 the primary1 test, use work around if __GNUC__ < 2.
808 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
809 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
810 Test for bad output rather than waiting for timeout. Issue
811 second continue only if first continue failed.
815 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
816 operator[] test with gdb_test because the old code didn't seem to
817 be getting the quoting right with the new dejagnu.
821 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
823 * Makefile.in: Use a fresh expect if there is one, use runtest
824 from the src tree if there is one.
828 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
829 next over recursive call. Revise the tests from that point on
830 (which had been skipped) to match GDB's actual (correct) output.
832 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
833 with next over a breakpoint whose condition is false.
835 * gdb.t00/help.exp: Comment out "help set print" tests just like
836 (and for same reason as) "help set" test.
840 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
841 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
845 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
846 necessary gdb_target_udi.
848 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
850 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
851 1838 and 2417; they are fixed.
853 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
854 gdb.t03/ptype.exp (ptype structure, ptype union):
855 Remove xfails; the test is looser than when the xfails were added.
857 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
858 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
860 * gdb.t01/run.exp: Only run shell test if isnative.
862 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
863 since "run" automatically loads if necessary. Call gdb_target_udi
864 after the "file" since "file" kills any execution target.
866 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
867 GDB. GDB doesn't work that way (not anymore at least) on UDI.
868 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
873 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
875 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
879 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
880 properly quoting regexps. This makes the second argument to
881 demangle a fixed string, which matches the callers, instead of a
882 shell-style pattern which is what the previous implementation
883 used. Update some of the callers.
887 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
888 (comib_nullified_tests): Fix typo.
889 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
890 strings. No longer expected to fail.
892 * gdb.disasm/hppa.s (addib_tests): Fix typo.
893 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
894 strings. No longer expected to fail.
896 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
897 string. No longer expected to fail.
901 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
902 No longer expected to fail.
904 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
905 string. No longer expected to fail.
909 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
910 only in the names (I probably got most of them). I was even
911 generous with some which differed in underscores in names, and
912 probably missed a few, and I *still* was able to remove almost a
913 third of the file with almost no impact on testsuite coverage.
917 * gdb.t00/default.exp: Match udi_attach error message as well as
918 the one from child_attach.
920 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
922 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
924 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
925 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
927 * Move test with enums and partial symbols back to
928 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
929 Reverts the change of 26 May 93. Per today's change to
930 stabs.texinfo, the behavior that weird.exp was expecting was
931 unreasonable; what is important is that the compiler+gdb get
932 things right, which happens with a recent gcc. Also fix the test
933 to deal with native compilers which put out the stab gdb can't
938 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
939 in the names. The main thing these accomplish is to slow things down.
940 Many more such duplicates surely remain.
942 * gdb.t00/help.exp: Comment out "help support" test just like
943 (and for same reason as) "help set" test.
947 * gdb.t06/break.exp: Remove setup_xfails for
948 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
949 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
950 about known bug in gcc to include up through 2.5.8.
951 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
953 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
954 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
955 with latest gcc and gdb.
956 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
961 * configure.in (hppa*-*-*): Also configure and build stabs-only
966 * gdb.t10/hppa.mt: A makefile fragment for the PA.
967 * gdb.t10/configure.in (hppa*-*-*): Use it.
971 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
975 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
976 versions prior to 1.13.5.
980 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
981 the prompt is at the start of a line.
985 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
986 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
987 in the copr tests now.
988 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
989 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
994 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
995 gdb.t31/chillvars.exp, lib/gdb.exp:
996 Tweak to run under either version of expect.
997 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
998 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
999 * gdb.t11/list.exp: Remove extraneous whitespace.
1003 * gdb.t16/printcmds.exp (test_print_strings): Accept
1004 "(unsigned char *) " before the string.
1006 * TODO: Add notes about printing of fancy types and GDB expressions.
1010 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
1011 * gdb.t06/configure.in: Don't try to compile signals test program
1012 if doing mips-idt-ecoff.
1016 * Most .exp files: Tweak to run under either version of expect.
1020 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
1021 xfails; I'm not sure why they are failing, but not because of PR 1806.
1025 * config/unix-gdb.exp: Remove gdb_unload cause it's already
1026 defined in lib/gdb.exp.
1030 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
1031 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
1032 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
1033 have to be typeless.
1037 * TODO: Add suggestion for copyright year test.
1041 * configure.in (*-*-lynxos*): Add stabs tests.
1045 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
1046 so insert a tab before any assembler directive in column zero.
1048 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
1050 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
1052 (fpu_short_memory_tests): Likewise.
1056 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
1057 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
1058 .stabs directives in comments.
1062 * TODO: New file, describing tests we could write.
1063 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
1067 * gdb.t06/signals.exp: Add kludge to force re-sync.
1069 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
1070 to xgdb instead of gdb, get out of gdb.
1074 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
1079 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
1080 * gdb.stabs/configure.in (hppa*-*-*): Use it.
1081 * gdb.stabs/hppa.sed: New sed script for the PA.
1085 * gdb.stabs: Re-write weird.def and configuration to use sed
1086 instead of cpp. sed is portable and POSIX; cpp is neither.
1090 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
1094 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
1098 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
1100 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
1101 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
1105 * lib/gdb.exp: Comment out code which depends on non-existent
1106 `transform' procedure.
1110 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
1111 * lib/gdb.exp: Transform tool name.
1112 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
1113 1.1's new error handling system.
1117 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
1121 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
1122 They made pattern matching so slow that timeouts happened on
1123 heavily loaded systems. Now any output from "show print" which
1124 gets us back to the GDB prompt is a PASS.
1126 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
1128 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
1132 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
1134 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
1135 It is not from PR 3220.
1139 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
1140 just started failing because they depended on the order the
1141 subcommands are presented, or exact docstring text. This kind of
1142 test is a pain and has minimal benefit.
1146 * gdb.t09/corefile.exp: At end of test, use "core" command with
1149 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
1151 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
1152 17}/Makefile.in: Make it possible to run the testsuite with Sun
1153 make and CC = cross gcc by adding explicit build rules for .o
1158 * gdb.t15/funcargs.exp: Don't put comments on same line as
1159 setup_xfail (@#$*%& tcl braindamage!).
1163 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
1167 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
1168 * gdb.t20/inherit.exp: remove three dumplicate entries.
1172 * gdb.t06/break.exp: For "next over recursive call", fail on any
1173 incorrect output, not just on "factorial (value=2)".
1177 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
1178 working now. Add an xfail if accesing a bss variable causes
1179 a memory error if the target is not yet run.
1183 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
1184 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
1185 name of __st* demangling (2 strings). Did Kung really get the
1186 more than 95 others right without testing them?
1190 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
1194 * configure.in (configdirs): Add gdb.disasm
1195 * gdb.disasm: New directory for GDB disassembler tests.
1196 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
1200 * gdb.t00/help.exp: Don't test "help set".
1202 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
1203 from within expect statements. None of these happen anymore and
1204 they cause regressions to be silently unnoticed.
1206 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
1207 messages) about known failures with gcc cygnus-2.4.5-930417.
1209 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
1210 comp-info.exp so it gets built if it doesn't exist.
1212 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
1213 it is no longer used.
1214 * gdb.t13/comp-info.c: Removed.
1218 * gdb.t06/signals.exp: Add xfail for sun3.
1222 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
1223 relevant because ^C doesn't get sent but failure can be reproduced
1228 * gdb.stabs/alpha.mt: New configuration file for alpha.
1229 * gdb.stabs/configure.in: Use it.
1230 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
1231 sharing with alpha.mt, redefine long to word via preprocessor.
1232 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
1234 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
1236 * gdb.t00/teststrategy.exp: Change expect string so that we
1237 consume the `(xgdb)' from the command echo and from the gdb prompt.
1238 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
1239 gdb currently compares all values as long, so this failure probably
1240 applies to any configuration where LONGEST is bigger than a target int.
1241 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
1243 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
1244 to handle opaque pointers, gcc is.
1245 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
1246 as first argument. Include <sys/types.h> and change all operator
1247 new definitions to use size_t.
1248 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
1249 now that we use size_t.
1253 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
1254 a long or float array cast all array members to the same type.
1255 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
1257 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
1259 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
1263 * gdb.t24 (demangle.exp): Constructors of templates have names like
1264 vector<int>::vector(int) not vector<int>::vector<int>(int). See
1265 section 14.6 of the ARM.
1267 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
1268 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
1269 accomplish little and slow down the testsuite.
1271 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
1272 Accept spaces various places.
1276 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
1277 with watchpoint enabled.
1279 * Makefile.in: Remove definition of CC and remove the second
1280 definition of CXX (the "CXX = gcc" one remains). These definitions
1281 were causing backquotes to be expanded within backquotes, which
1286 * gdb.t17/callfuncs.exp: Add "return 0" to end.
1290 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
1291 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
1292 by mips cc and contains no stabs entries.
1296 * config/vx-gdb.exp: Use fake device to load files rather than
1298 * lib/gdb.exp: New proc to do "file" command.
1299 * config/unix-gdb.exp: Use new "file" proc.
1303 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
1304 Rework board rebooting slightly.
1305 (gdb_exit): Don't exit from the remote shell; there isn't one.
1306 * gdb.stabs/weird.exp: If a program is being debugged already,
1308 * gdb.t04/setvar.exp: Stop and restart gdb.
1309 * gdb.t05/expr.exp: Likewise.
1310 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
1311 restart gdb and reload the program.
1312 * gdb.t08/opaque.exp: Likewise.
1313 * gdb.t12/scope.exp: Likewise.
1314 * gdb.t13/bitfields.exp: Likewise.
1315 * gdb.t15/funcargs.exp: Likewise.
1316 * gdb.t20/classes.exp: Likewise.
1317 * gdb.t03/ptype.exp: Increase timeout.
1318 * gdb.t16/printcmds.exp (test_print_string_constants,
1319 test_print_array_constants): Likewise.
1320 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
1321 * gdb.t20/classes.exp (do_tests): Likewise.
1322 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
1326 * gdb.stabs: Renamed *wierd* to *weird*.
1330 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
1331 for timeout. Add "known gcc 2.4.5 bug" to failure message.
1335 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
1336 (do_tests): Remove xfail for whatis on one_var and two_var.
1340 * Makefile.in: Made cross building work better by adding
1341 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
1345 * gdb.t15/{return.c,return.exp,Makefile.in}:
1346 New test, currently commented out.
1350 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
1351 still running and removes the leftover named socket so GDb can do
1356 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
1358 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
1359 cross testing works better with "make check"
1360 * config/unix-gdb: Use default procedures for exit and version.
1361 * config/vx-gdb.exp: Cleaned up and massaged back to working order
1362 with the newest VxWorks.
1366 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
1369 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
1370 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
1372 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
1374 * config/unix-gdb.exp: Remove this version of gdb_exit
1375 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
1376 Rob says he'll look at it when he gets back to testing boards.
1380 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
1381 an expected fail for certain ptype commands.
1383 * gdb.t20/classes.exp: Update expected results of "ptype class
1384 Base1" to account for the constructor that now appears in the type.
1388 * configure.in (configdirs): Restore gdb.t04, which mysteriously
1389 disappeared from list.
1390 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
1391 "alldone" proc with call to cleanup and exit.
1392 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
1393 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
1394 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
1395 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
1396 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
1397 "alldone" proc with simple returns that suppress remaining
1398 tests. The alldone proc went away many months ago.
1402 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
1404 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
1408 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
1409 as vax gdb will display them.
1413 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
1416 * scope.exp: Change "bad value for localval" messages so each one
1419 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
1420 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
1422 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
1426 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
1427 doesn't exist (due to optimization).
1431 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
1432 contains \r because the filename is long.
1434 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
1435 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
1439 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
1440 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
1442 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
1444 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
1448 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
1450 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
1451 to match does not match the passing case but still matches the
1456 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
1460 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
1461 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
1462 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
1463 Remove various versions of gdb_exit.
1464 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
1466 * config/unix-gdb.exp: gdb_exit remains here, and should override
1467 the generic version, since it's doing a lot of wierd stuff that
1468 the other versions aren't. FIXME, fold it in, or abandon this
1473 * gdb.t24/demangle.exp: Add tests for PR 3220.
1477 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
1481 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
1482 "i386-*-*". Works for i486 as well.
1484 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
1485 bug, and expand domain of xfail to all SVR4 systems, since the
1486 actual problem is likely to be in generic SVR4 /proc support.
1490 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
1494 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
1495 xfails for other systems. Match a missing 'Continuing.' as an
1496 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
1498 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
1499 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
1500 Only issue warning for missing executables if -all option is used.
1502 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
1503 file if -all option is used. It's like an unpredictable XFAIL.
1507 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
1508 for dynamically linked binaries.
1510 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
1514 * gdb.t20/inherit.exp: Change message for "print tagless struct"
1515 to state that this is a known bug in old versions of g++.
1519 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
1520 while waiting for `Continuing'.
1524 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
1525 in text, data, and bss.
1526 * gdb.t10/nodebug.c: Add local and global test variables for
1527 initialized and uninitialized data.
1531 * config/unix-gdb.exp (gdb_exit): Add "wait".
1535 * gdb.t06/signals.exp: xfail the continue from the handler for all
1538 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
1539 function with watchpoints enabled, the i386 call dummy starts with
1542 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
1543 386 bsd names its corefiles.
1547 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
1548 compilers don't grok it.
1549 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
1550 with small octal ints rather than character constants, which
1551 are signed and might not fit if first promoted to int.
1555 * gdb.t09/Makefile.in (clean): Remove corefile.
1559 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
1564 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
1565 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
1566 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
1570 * gdb.t17/interrupt.exp: Add xfail for hppa.
1574 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
1575 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
1576 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
1577 to determine signed-ness of bitfields and use the result to setup
1579 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
1580 * gdb.t15/funcargs.exp: Use them to step until the second indirect
1581 call line is reached if necessary.
1585 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
1589 * gdb.t06/break.exp: Also test `clear' command.
1593 * gdb.t00/teststrategy.exp: Remove extra quote.
1595 * gdb.t07/watchpoint.exp: Change xfail for calling function with
1596 watchpoint enabled to be for all non-68k machines.
1598 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
1602 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
1603 targets use aout.mt instead of ecoff.mt as gas understands
1604 standard aout format.
1608 * lib/gdb.exp (runto): Don't insist that function we are running to
1609 was compiled with -g.
1611 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
1613 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
1614 to get back into the read system call.
1615 Accept leading newline in case where we woke it up.
1619 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
1620 to make the stabs test work on ecoff systems using gcc and -with-stabs.
1621 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
1622 enable ecoff configuration.
1626 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
1630 * gdb.t16/printcmds.exp: Add another printf test.
1634 * configure.in: If configured -with-stabs on any target, add
1635 stabsdirs to configdirs.
1639 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
1640 fun" so pattern does not match the command itself.
1644 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
1648 * gdb.t17/interrupt.exp: Test for more things.
1652 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
1653 compiler arranges the code and line numbers.
1655 * gdb.t17/interrupt.exp: Don't send \n after ^C.
1659 * gdb.t00/help.exp: Increase expect input buffer size.
1663 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
1665 * gdb.t07/watchpoint.exp: Add xfail for hppa.
1667 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
1669 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
1670 [0-9]*, not just [0-9].
1674 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
1676 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
1680 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
1684 * gdb.t06/signals.c: Add xfails for sun3.
1686 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
1688 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
1689 test_stepping tests.
1693 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
1695 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
1697 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
1698 rather than actually putting it through cpp twice.
1700 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
1704 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
1709 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
1711 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
1712 C++ features prints as "struct", make it a pass, not an xfail.
1716 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
1717 Don't require VA to print as "class" rather than "struct".
1721 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
1725 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
1729 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
1734 * gdb.t16/printcmds.exp: Add printf tests.
1736 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
1738 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
1742 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
1743 pass counts, to counteract any existing or future setup_xfails.
1747 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
1748 {BEGIN,END}_COMMON for common block instead of STAB.
1749 * gdb.stabs/wierd.exp: Add xfail for rs6000.
1751 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
1752 intp_var should be N_GSYM not N_LSYM.
1753 wierd-aout.S: Use a label for the value of the N_SO.
1754 wierd.def: Remove all backslashes.
1755 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
1759 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
1760 get the expected next to inheritance3.
1764 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
1765 now that gcc-2.4 gets it right.
1769 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
1771 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
1772 generating comp-info.exp which works for cross-compilation.
1776 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
1781 * gdb.t01/run.exp: Start with a fresh gdb.
1782 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
1787 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
1788 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
1789 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
1790 Makefile.in (distclean, realclean): Remove gdbme.c from list of
1795 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
1796 test cases from bug reports.
1800 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
1801 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
1802 avoid spurious xfails.
1803 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
1804 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
1805 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
1809 * gdb.t00/teststrategy.exp: Rework to provide more useful
1810 description of each test, fix problem with systems that define
1811 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
1812 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
1813 results for "next over recursive call" so timeouts aren't taken
1818 * gdb.t12/scope.exp: Test printing of variables before run.
1820 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
1821 printed in wrong order due to sorting.
1825 * gdb.t00/teststrategy.exp: Fix expected results for printing
1826 user entered string constant. Is array of char, prints with no
1829 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
1831 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
1832 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
1833 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
1834 of struct of char arrays.
1835 * gdb.t00/radix.exp: New tests for radix commands.
1839 * gdb.t16/printcmd.exp: Print a variable before running program
1840 (with xfail for AIX).
1844 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
1846 * gdb.t16/printcmd.exp: Don't print variables before running program.
1848 * gdb.t06/break.exp: Don't require envp argument to main.
1850 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
1852 * gdb.t02/whatis.exp, gdb.t11/list.exp:
1853 Add xfails for rs6000.
1855 * gdb.t02/whatis.exp: Change other tests not to re-test something
1858 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
1859 each type used has a variable of that type.
1863 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
1865 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1867 * configure.in: change srctrigger to be a file, not a directory
1871 * configure.in (mips-idt-ecoff*): Added trailing '*'.
1873 * gdb.t11/list.exp: Fixed a couple of typos.
1877 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
1878 is fixed and PR is closed.
1879 * gdb.t16 (gdbme.c): Add simple test string variable.
1880 * gdb.t16 (printcmds.exp): Add tests with simple test string
1881 variable, primarily for boundaries on "set print elements".
1885 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
1886 Make leading 0's optional and don't expect a tab in the middle
1889 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
1891 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
1892 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
1893 don't end command passed to gdb_test with newline.
1895 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
1896 signed keyword away, don't expect signed bitfields to be signed.
1898 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
1899 printing with only as many 1's as are in the field as well as printing
1900 with 32 1's (see comment).
1904 * gdb.t00/default.exp: Start with a fresh gdb.
1905 * configure.in (configdirs): Remove gdb.t31 until the chill
1906 compiler works again. It no longer is able to find chillrt0
1907 since it isn't in libchill.a anymore.
1908 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
1909 wierd.o, make more modular.
1910 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
1911 spurious newlines that caused problems.
1915 * Move test with enums and partial symbols from gdb.t03/ptype.exp
1916 to gdb.stabs/wierd.exp since GCC has worked around the bug.
1917 gdb.stabs/wierd.{exp,def}: Many new tests.
1919 * gdb.t00/default.exp: update info line for new message.
1921 * gdb.t02/{whatis.exp,gdbme.c}:
1922 Test that "char *" doesn't print as "caddr_t".
1926 * gdb.t00/help.exp: Use .* in place of some help messages which
1928 gdb.t00/default.exp: Update "info frame" test for new message.
1929 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
1934 * gdb.t03/{gdbme.c,ptype.exp}:
1935 Add tests for typedef'd struct and union without tags.
1936 Also check "whatis" on a variable of a typedef'd enum without a tag.
1938 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
1939 PRMS 1823; the bug still exists but isn't reproduced by this test
1940 anymore), and remove rs6000 XFAIL (the bug is fixed).
1942 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
1943 duplicated from whatis.exp. For those that are left, accept
1944 "long", "long int", or "int" for long variables (whatis.exp already
1945 has an XFAIL for "int", so no need to fail it here).
1947 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
1948 Deal with GCC's names for types now that GDB uses the compiler's names.
1950 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
1951 setup_xfail's for sunos4. If we #defined the signed keyword away,
1952 don't expect GDB to know that char it is signed.
1954 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
1958 * configure.in (configdirs): Add gdb.t24 for C++ tests that
1959 should work on any system, regardless of debugging format.
1960 * gdb.t21/demangle.exp: Move to gdb.t24.
1961 * gdb.t24/demangle.exp: Move from gdb.t21.
1962 * gdb.t24/{Makefile.in, configure.in}: New files.
1966 * configure.in: Do gdb.stabs and C++ tests only for stabs.
1967 * gdb.stabs: New directory.
1971 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
1972 not just "Quit anyway?".
1976 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
1977 that all setup_xfails are immediately followed by clear_xfails.
1981 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
1982 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
1983 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
1984 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
1985 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
1986 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
1987 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
1988 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
1989 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
1990 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
1991 gdb.t31/chillvars.exp, lib/gdb.exp:
1997 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
1998 with 0.0, not integer 0.
2002 * gdb.t06/break.exp: Update for "Kill the program" message change.
2006 * Makefile.in (GDBFLAGS): Set to -nx.
2007 * Makefile.in (site.exp): Use GDBFLAGS.
2011 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
2013 (check): depend on just-check.
2014 (just-check): added so that tests can be run without a noop
2019 Switch to using configure's configdirs.
2020 * Makefile.in (Makefile): add configure.in dependency.
2021 (SUBDIRS): removed redundant assignment.
2022 * configure.in: switch subdirs assignment to configdirs.
2023 * gdb.t*/configure.in: new files.
2027 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
2032 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
2033 in explicit rules. Apparently this is not supported by some makes.
2037 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
2041 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
2046 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
2050 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
2051 watchpoint problem that is now fixed.
2052 * gdb.t30/chexp.exp: Remove setup_xfail for printing
2053 uninitialized convenience variables.
2054 * gdb.t31/chillvars.exp: Fix expected patterns for printing
2059 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
2060 which causes expect to get out of sync with gdb on long output
2062 * gdb.t09/corefile.exp: Make expected pattern for core file
2063 failing signal and frame output format less sun specific.
2067 * gdb.t31/chillvars.exp: Add and remove initial dummy
2068 breakpoint, so that symbol table is forced in.
2069 (Needed at least on Sunos4, though it seems not SVR4.)
2070 * gdb.t31/chillvars.exp: Update for changed output format.
2072 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
2074 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
2078 * Makefile.in: Added --srcdir when invoking runtest, removed the
2079 need for a local config file. (optional now)
2083 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
2084 failure count used to force early termination. Add some more
2085 expected failures for gnu style demangling.
2089 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
2090 pmi variable from gdb.t20/gdbme to get optimized away.
2091 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
2092 Check for written corefile upon timeout _and_ eof.
2096 * config/unix-gdb.exp: Add missing return 0.
2100 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
2105 * configure.in (subdirs): Put back gdb.t17 which mysteriously
2110 * gdb.t10/crossload.exp: Disable the i860-elf test until such
2111 time as i860 support works.
2113 * gdb.t15/funcargs.exp: Fix expected outputs to include
2114 "backtrace 100\r" rather than just "backtrace\r", to match last
2119 * config/udi-gdb.exp (gdb_exit): Remove close command.
2120 (gdb_target_udi): New procedure to set the UDI target.
2121 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
2122 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
2123 Added waits for prompts after several question responses. Added
2124 some more responses used by a29k-amd-udi-gdb.
2125 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
2126 pass different arguments, restart UDI connection after program
2128 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
2129 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
2130 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
2131 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
2132 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
2133 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
2134 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
2135 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
2136 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
2137 after program completion.
2138 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
2139 compiled with a SELECT_VECS setting.
2140 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
2143 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
2144 Added checks for COFF results, and made them expected failures for
2145 all targets. It would be better to make them expected failures
2146 for COFF targets only.
2148 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
2150 * Makefile.in: add null dvi target, don't bother to recurse
2151 through test directories for info and install-info; rename
2152 $(datadir) to be dejagnu instead of deja-gnu
2156 * gdb.t31/gdbme.ch: Re-enable code that previously caused
2157 compiler to coredump.
2158 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
2163 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
2165 * gdb.t31/chillvars.exp: Comment out tests that depend on that
2168 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
2170 * gdb.t03/ptype.exp: tests for return code from gdb_test.
2171 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
2172 which in a shell. Deletes xgdb when done.
2173 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
2174 Tests the return from the "set height" or "set width" commands.
2175 Added a few return codes where needed.
2179 * Makefile.in (SUBDIRS): Add gdb.t17.
2180 * configure.in (subdirs): Add gdb.t17.
2181 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
2182 files to test gdb's calling of functions in the inferior with
2183 the correct arguments and gdb's ability to retrieve any
2188 * config/unix-gdb.exp (gdb_exit): Remove close commands that
2189 may be called after gdb goes away. Previous versions of expect
2190 needed these to avoid file descriptor leaks, but they cause
2191 errors with the current revision of expect.
2192 * gdb.t00/gdbvars.exp: Use -re on expected output after
2193 setting sevenbit-strings.
2194 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
2195 to set sevenbit-strings consistent across tests.
2196 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
2197 set sevenbit-strings consistent across tests.
2201 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
2202 expected output to match current "expect" expectations.
2206 * gdb.t00/default.exp: Change expected output for default "source"
2207 command, to match new gdb behavior which requires a filename to
2212 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
2213 expected fail for i486-*-* that misses the marker2 function.
2214 * gdb.t10/crossload.exp (bfddefault): Allow successful
2215 recognition of a format to pass even if no symbols are found.
2216 Explicitly catch failures where the format is not recognized
2217 or is ambiguous, and add the reason to the fail message.
2218 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
2219 the cause is and invalid target and add reason to failure message.
2220 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
2221 elf32-i386, elf32-sparc, and elf32-i860.
2222 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
2223 Set up expected failure for 'filename'::variable scope resolution,
2224 which is now apparently broken on all targets.
2225 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
2226 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
2227 gdb.t23/templates.exp: Change failure for missing binfile into
2229 gdb.t21/demangle.exp: Change all cfront references to 'arm'
2234 * gdb.t00/default.exp: Add expected output for default "source"
2235 command, to match new gdb behavior.
2236 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
2240 * config/*-gdb.exp: returns an error, rather than exiting on
2245 * gdb.t03/gdbme.c: Add pointer to struct variable.
2246 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
2247 referencing struct members.
2251 * configure.in (mips-idt-ecoff): New target.
2252 * config/mips-gdb.exp: New file for remote board using MIPS remote
2255 * Redid configuration scheme. Removed gdb.t*/configure.in.
2256 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
2257 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
2258 distclean targets. Built executables via .o files. Adjusted
2259 tests to account for source files in $(srcdir) rather than
2261 * lib/gdb.exp (runto): Don't expect () after the function name,
2262 because it may have arguments.
2266 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
2267 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
2268 expected failures for mips-idt-* and mips-sgi-*.
2269 * gdb.t00/default.exp (attach): Kill process if requested.
2270 * gdb.t00/help.exp (help target core, help target): Accept a gdb
2271 that does not read core files.
2272 * gdb.t01/run.exp: Removed checks for exit status code.
2273 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
2275 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
2276 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
2277 appropriate, rather than doing it by hand.
2278 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
2280 * gdb.t10/crossload.exp: Kill existing program if needed.
2281 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
2282 appropriate, rather than doing it by hand. Always increase
2283 timeout for this test, not just for VxWorks.
2287 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
2288 of Chill STRUCT types and STRUCT values.
2289 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
2291 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
2292 struct2): New struct definitions and initializations to test
2293 simple Chill STRUCT types.
2297 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
2298 the null byte at the end of strings.
2299 * gdb.t00/default.exp: Make show version insensitive to copyright
2301 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
2302 to avoid dependencies on target char signedness.
2303 * gdb.t16/printcmds.exp: Update expected results for explicitly
2305 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
2307 * gdb.t21/demangle.exp: Add many more patterns for template
2308 demangling, most of them being expected failures.
2309 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
2310 string we are matching for, to match on the whole string.
2311 * gdb.t21/demangle.exp: Add many new test strings to demangle,
2312 and fix a whole bunch that had incorrect expected output but were
2313 passing anyway because of the bug in "proc demangle".
2314 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
2316 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
2320 * gdb/testsuite: made modifications to testcases, etc., to allow
2321 them to work properly given the reorganization of deja-gnu and the
2322 relocation of the testcases from deja-gnu to a "tool" subdirectory.
2326 * gdb/testsuite: Initial creation of gdb/testsuite.
2327 Migrated dejagnu testcases and support files for testing nm to
2328 gdb/testsuite from deja-gnu. These files were moved "as is"
2329 with no modifications. This migration is part of a major overhaul
2330 of dejagnu. The modifications to these testcases, etc., which
2331 will allow them to work with the new version of dejagnu will be
2332 made in a future update.
2338 version-control: never