3 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
5 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
6 Remove various versions of gdb_exit.
7 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9 * config/unix-gdb.exp: gdb_exit remains here, and should override
10 the generic version, since it's doing a lot of wierd stuff that
11 the other versions aren't. FIXME, fold it in, or abandon this
16 * gdb.t24/demangle.exp: Add tests for PR 3220.
20 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
24 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
25 "i386-*-*". Works for i486 as well.
27 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
28 bug, and expand domain of xfail to all SVR4 systems, since the
29 actual problem is likely to be in generic SVR4 /proc support.
33 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
37 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
38 xfails for other systems. Match a missing 'Continuing.' as an
39 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
41 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
42 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
43 Only issue warning for missing executables if -all option is used.
45 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
46 file if -all option is used. It's like an unpredictable XFAIL.
50 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
51 for dynamically linked binaries.
53 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
57 * gdb.t20/inherit.exp: Change message for "print tagless struct"
58 to state that this is a known bug in old versions of g++.
62 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
63 while waiting for `Continuing'.
67 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
68 in text, data, and bss.
69 * gdb.t10/nodebug.c: Add local and global test variables for
70 initialized and uninitialized data.
74 * config/unix-gdb.exp (gdb_exit): Add "wait".
78 * gdb.t06/signals.exp: xfail the continue from the handler for all
81 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
82 function with watchpoints enabled, the i386 call dummy starts with
85 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
86 386 bsd names its corefiles.
90 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
91 compilers don't grok it.
92 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
93 with small octal ints rather than character constants, which
94 are signed and might not fit if first promoted to int.
98 * gdb.t09/Makefile.in (clean): Remove corefile.
102 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
107 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
108 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
109 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
113 * gdb.t17/interrupt.exp: Add xfail for hppa.
117 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
118 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
119 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
120 to determine signed-ness of bitfields and use the result to setup
122 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
123 * gdb.t15/funcargs.exp: Use them to step until the second indirect
124 call line is reached if necessary.
128 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
132 * gdb.t06/break.exp: Also test `clear' command.
136 * gdb.t00/teststrategy.exp: Remove extra quote.
138 * gdb.t07/watchpoint.exp: Change xfail for calling function with
139 watchpoint enabled to be for all non-68k machines.
141 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
145 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
146 targets use aout.mt instead of ecoff.mt as gas understands
147 standard aout format.
151 * lib/gdb.exp (runto): Don't insist that function we are running to
152 was compiled with -g.
154 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
156 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
157 to get back into the read system call.
158 Accept leading newline in case where we woke it up.
162 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
163 to make the stabs test work on ecoff systems using gcc and -with-stabs.
164 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
165 enable ecoff configuration.
169 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
173 * gdb.t16/printcmds.exp: Add another printf test.
177 * configure.in: If configured -with-stabs on any target, add
178 stabsdirs to configdirs.
182 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
183 fun" so pattern does not match the command itself.
187 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
191 * gdb.t17/interrupt.exp: Test for more things.
195 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
196 compiler arranges the code and line numbers.
198 * gdb.t17/interrupt.exp: Don't send \n after ^C.
202 * gdb.t00/help.exp: Increase expect input buffer size.
206 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
208 * gdb.t07/watchpoint.exp: Add xfail for hppa.
210 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
212 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
213 [0-9]*, not just [0-9].
217 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
219 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
223 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
227 * gdb.t06/signals.c: Add xfails for sun3.
229 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
231 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
236 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
238 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
240 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
241 rather than actually putting it through cpp twice.
243 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
247 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
252 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
254 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
255 C++ features prints as "struct", make it a pass, not an xfail.
259 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
260 Don't require VA to print as "class" rather than "struct".
264 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
268 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
272 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
277 * gdb.t16/printcmds.exp: Add printf tests.
279 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
281 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
285 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
286 pass counts, to counteract any existing or future setup_xfails.
290 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
291 {BEGIN,END}_COMMON for common block instead of STAB.
292 * gdb.stabs/wierd.exp: Add xfail for rs6000.
294 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
295 intp_var should be N_GSYM not N_LSYM.
296 wierd-aout.S: Use a label for the value of the N_SO.
297 wierd.def: Remove all backslashes.
298 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
302 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
303 get the expected next to inheritance3.
307 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
308 now that gcc-2.4 gets it right.
312 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
314 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
315 generating comp-info.exp which works for cross-compilation.
319 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
324 * gdb.t01/run.exp: Start with a fresh gdb.
325 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
330 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
331 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
332 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
333 Makefile.in (distclean, realclean): Remove gdbme.c from list of
338 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
339 test cases from bug reports.
343 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
344 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
345 avoid spurious xfails.
346 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
347 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
348 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
352 * gdb.t00/teststrategy.exp: Rework to provide more useful
353 description of each test, fix problem with systems that define
354 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
355 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
356 results for "next over recursive call" so timeouts aren't taken
361 * gdb.t12/scope.exp: Test printing of variables before run.
363 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
364 printed in wrong order due to sorting.
368 * gdb.t00/teststrategy.exp: Fix expected results for printing
369 user entered string constant. Is array of char, prints with no
372 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
374 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
375 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
376 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
377 of struct of char arrays.
378 * gdb.t00/radix.exp: New tests for radix commands.
382 * gdb.t16/printcmd.exp: Print a variable before running program
383 (with xfail for AIX).
387 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
389 * gdb.t16/printcmd.exp: Don't print variables before running program.
391 * gdb.t06/break.exp: Don't require envp argument to main.
393 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
395 * gdb.t02/whatis.exp, gdb.t11/list.exp:
396 Add xfails for rs6000.
398 * gdb.t02/whatis.exp: Change other tests not to re-test something
401 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
402 each type used has a variable of that type.
406 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
408 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
410 * configure.in: change srctrigger to be a file, not a directory
414 * configure.in (mips-idt-ecoff*): Added trailing '*'.
416 * gdb.t11/list.exp: Fixed a couple of typos.
420 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
421 is fixed and PR is closed.
422 * gdb.t16 (gdbme.c): Add simple test string variable.
423 * gdb.t16 (printcmds.exp): Add tests with simple test string
424 variable, primarily for boundaries on "set print elements".
428 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
429 Make leading 0's optional and don't expect a tab in the middle
432 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
434 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
435 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
436 don't end command passed to gdb_test with newline.
438 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
439 signed keyword away, don't expect signed bitfields to be signed.
441 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
442 printing with only as many 1's as are in the field as well as printing
443 with 32 1's (see comment).
447 * gdb.t00/default.exp: Start with a fresh gdb.
448 * configure.in (configdirs): Remove gdb.t31 until the chill
449 compiler works again. It no longer is able to find chillrt0
450 since it isn't in libchill.a anymore.
451 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
452 wierd.o, make more modular.
453 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
454 spurious newlines that caused problems.
458 * Move test with enums and partial symbols from gdb.t03/ptype.exp
459 to gdb.stabs/wierd.exp since GCC has worked around the bug.
460 gdb.stabs/wierd.{exp,def}: Many new tests.
462 * gdb.t00/default.exp: update info line for new message.
464 * gdb.t02/{whatis.exp,gdbme.c}:
465 Test that "char *" doesn't print as "caddr_t".
469 * gdb.t00/help.exp: Use .* in place of some help messages which
471 gdb.t00/default.exp: Update "info frame" test for new message.
472 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
477 * gdb.t03/{gdbme.c,ptype.exp}:
478 Add tests for typedef'd struct and union without tags.
479 Also check "whatis" on a variable of a typedef'd enum without a tag.
481 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
482 PRMS 1823; the bug still exists but isn't reproduced by this test
483 anymore), and remove rs6000 XFAIL (the bug is fixed).
485 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
486 duplicated from whatis.exp. For those that are left, accept
487 "long", "long int", or "int" for long variables (whatis.exp already
488 has an XFAIL for "int", so no need to fail it here).
490 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
491 Deal with GCC's names for types now that GDB uses the compiler's names.
493 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
494 setup_xfail's for sunos4. If we #defined the signed keyword away,
495 don't expect GDB to know that char it is signed.
497 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
501 * configure.in (configdirs): Add gdb.t24 for C++ tests that
502 should work on any system, regardless of debugging format.
503 * gdb.t21/demangle.exp: Move to gdb.t24.
504 * gdb.t24/demangle.exp: Move from gdb.t21.
505 * gdb.t24/{Makefile.in, configure.in}: New files.
509 * configure.in: Do gdb.stabs and C++ tests only for stabs.
510 * gdb.stabs: New directory.
514 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
515 not just "Quit anyway?".
519 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
520 that all setup_xfails are immediately followed by clear_xfails.
524 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
525 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
526 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
527 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
528 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
529 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
530 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
531 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
532 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
533 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
534 gdb.t31/chillvars.exp, lib/gdb.exp:
540 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
541 with 0.0, not integer 0.
545 * gdb.t06/break.exp: Update for "Kill the program" message change.
549 * Makefile.in (GDBFLAGS): Set to -nx.
550 * Makefile.in (site.exp): Use GDBFLAGS.
554 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
556 (check): depend on just-check.
557 (just-check): added so that tests can be run without a noop
562 Switch to using configure's configdirs.
563 * Makefile.in (Makefile): add configure.in dependency.
564 (SUBDIRS): removed redundant assignment.
565 * configure.in: switch subdirs assignment to configdirs.
566 * gdb.t*/configure.in: new files.
570 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
575 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
576 in explicit rules. Apparently this is not supported by some makes.
580 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
584 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
589 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
593 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
594 watchpoint problem that is now fixed.
595 * gdb.t30/chexp.exp: Remove setup_xfail for printing
596 uninitialized convenience variables.
597 * gdb.t31/chillvars.exp: Fix expected patterns for printing
602 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
603 which causes expect to get out of sync with gdb on long output
605 * gdb.t09/corefile.exp: Make expected pattern for core file
606 failing signal and frame output format less sun specific.
610 * gdb.t31/chillvars.exp: Add and remove initial dummy
611 breakpoint, so that symbol table is forced in.
612 (Needed at least on Sunos4, though it seems not SVR4.)
613 * gdb.t31/chillvars.exp: Update for changed output format.
615 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
617 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
621 * Makefile.in: Added --srcdir when invoking runtest, removed the
622 need for a local config file. (optional now)
626 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
627 failure count used to force early termination. Add some more
628 expected failures for gnu style demangling.
632 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
633 pmi variable from gdb.t20/gdbme to get optimized away.
634 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
635 Check for written corefile upon timeout _and_ eof.
639 * config/unix-gdb.exp: Add missing return 0.
643 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
648 * configure.in (subdirs): Put back gdb.t17 which mysteriously
653 * gdb.t10/crossload.exp: Disable the i860-elf test until such
654 time as i860 support works.
656 * gdb.t15/funcargs.exp: Fix expected outputs to include
657 "backtrace 100\r" rather than just "backtrace\r", to match last
662 * config/udi-gdb.exp (gdb_exit): Remove close command.
663 (gdb_target_udi): New procedure to set the UDI target.
664 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
665 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
666 Added waits for prompts after several question responses. Added
667 some more responses used by a29k-amd-udi-gdb.
668 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
669 pass different arguments, restart UDI connection after program
671 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
672 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
673 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
674 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
675 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
676 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
677 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
678 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
679 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
680 after program completion.
681 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
682 compiled with a SELECT_VECS setting.
683 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
686 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
687 Added checks for COFF results, and made them expected failures for
688 all targets. It would be better to make them expected failures
689 for COFF targets only.
691 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
693 * Makefile.in: add null dvi target, don't bother to recurse
694 through test directories for info and install-info; rename
695 $(datadir) to be dejagnu instead of deja-gnu
699 * gdb.t31/gdbme.ch: Re-enable code that previously caused
700 compiler to coredump.
701 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
706 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
708 * gdb.t31/chillvars.exp: Comment out tests that depend on that
711 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
713 * gdb.t03/ptype.exp: tests for return code from gdb_test.
714 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
715 which in a shell. Deletes xgdb when done.
716 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
717 Tests the return from the "set height" or "set width" commands.
718 Added a few return codes where needed.
722 * Makefile.in (SUBDIRS): Add gdb.t17.
723 * configure.in (subdirs): Add gdb.t17.
724 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
725 files to test gdb's calling of functions in the inferior with
726 the correct arguments and gdb's ability to retrieve any
731 * config/unix-gdb.exp (gdb_exit): Remove close commands that
732 may be called after gdb goes away. Previous versions of expect
733 needed these to avoid file descriptor leaks, but they cause
734 errors with the current revision of expect.
735 * gdb.t00/gdbvars.exp: Use -re on expected output after
736 setting sevenbit-strings.
737 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
738 to set sevenbit-strings consistent across tests.
739 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
740 set sevenbit-strings consistent across tests.
744 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
745 expected output to match current "expect" expectations.
749 * gdb.t00/default.exp: Change expected output for default "source"
750 command, to match new gdb behavior which requires a filename to
755 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
756 expected fail for i486-*-* that misses the marker2 function.
757 * gdb.t10/crossload.exp (bfddefault): Allow successful
758 recognition of a format to pass even if no symbols are found.
759 Explicitly catch failures where the format is not recognized
760 or is ambiguous, and add the reason to the fail message.
761 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
762 the cause is and invalid target and add reason to failure message.
763 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
764 elf32-i386, elf32-sparc, and elf32-i860.
765 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
766 Set up expected failure for 'filename'::variable scope resolution,
767 which is now apparently broken on all targets.
768 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
769 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
770 gdb.t23/templates.exp: Change failure for missing binfile into
772 gdb.t21/demangle.exp: Change all cfront references to 'arm'
777 * gdb.t00/default.exp: Add expected output for default "source"
778 command, to match new gdb behavior.
779 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
783 * config/*-gdb.exp: returns an error, rather than exiting on
788 * gdb.t03/gdbme.c: Add pointer to struct variable.
789 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
790 referencing struct members.
794 * configure.in (mips-idt-ecoff): New target.
795 * config/mips-gdb.exp: New file for remote board using MIPS remote
798 * Redid configuration scheme. Removed gdb.t*/configure.in.
799 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
800 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
801 distclean targets. Built executables via .o files. Adjusted
802 tests to account for source files in $(srcdir) rather than
804 * lib/gdb.exp (runto): Don't expect () after the function name,
805 because it may have arguments.
809 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
810 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
811 expected failures for mips-idt-* and mips-sgi-*.
812 * gdb.t00/default.exp (attach): Kill process if requested.
813 * gdb.t00/help.exp (help target core, help target): Accept a gdb
814 that does not read core files.
815 * gdb.t01/run.exp: Removed checks for exit status code.
816 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
818 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
819 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
820 appropriate, rather than doing it by hand.
821 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
823 * gdb.t10/crossload.exp: Kill existing program if needed.
824 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
825 appropriate, rather than doing it by hand. Always increase
826 timeout for this test, not just for VxWorks.
830 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
831 of Chill STRUCT types and STRUCT values.
832 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
834 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
835 struct2): New struct definitions and initializations to test
836 simple Chill STRUCT types.
840 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
841 the null byte at the end of strings.
842 * gdb.t00/default.exp: Make show version insensitive to copyright
844 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
845 to avoid dependencies on target char signedness.
846 * gdb.t16/printcmds.exp: Update expected results for explicitly
848 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
850 * gdb.t21/demangle.exp: Add many more patterns for template
851 demangling, most of them being expected failures.
852 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
853 string we are matching for, to match on the whole string.
854 * gdb.t21/demangle.exp: Add many new test strings to demangle,
855 and fix a whole bunch that had incorrect expected output but were
856 passing anyway because of the bug in "proc demangle".
857 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
859 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
863 * gdb/testsuite: made modifications to testcases, etc., to allow
864 them to work properly given the reorganization of deja-gnu and the
865 relocation of the testcases from deja-gnu to a "tool" subdirectory.
869 * gdb/testsuite: Initial creation of gdb/testsuite.
870 Migrated dejagnu testcases and support files for testing nm to
871 gdb/testsuite from deja-gnu. These files were moved "as is"
872 with no modifications. This migration is part of a major overhaul
873 of dejagnu. The modifications to these testcases, etc., which
874 will allow them to work with the new version of dejagnu will be
875 made in a future update.