3 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
4 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
6 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
8 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
12 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
14 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
15 to match does not match the passing case but still matches the
20 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
24 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
25 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
26 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
27 Remove various versions of gdb_exit.
28 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
30 * config/unix-gdb.exp: gdb_exit remains here, and should override
31 the generic version, since it's doing a lot of wierd stuff that
32 the other versions aren't. FIXME, fold it in, or abandon this
37 * gdb.t24/demangle.exp: Add tests for PR 3220.
41 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
45 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
46 "i386-*-*". Works for i486 as well.
48 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
49 bug, and expand domain of xfail to all SVR4 systems, since the
50 actual problem is likely to be in generic SVR4 /proc support.
54 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
58 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
59 xfails for other systems. Match a missing 'Continuing.' as an
60 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
62 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
63 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
64 Only issue warning for missing executables if -all option is used.
66 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
67 file if -all option is used. It's like an unpredictable XFAIL.
71 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
72 for dynamically linked binaries.
74 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
78 * gdb.t20/inherit.exp: Change message for "print tagless struct"
79 to state that this is a known bug in old versions of g++.
83 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
84 while waiting for `Continuing'.
88 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
89 in text, data, and bss.
90 * gdb.t10/nodebug.c: Add local and global test variables for
91 initialized and uninitialized data.
95 * config/unix-gdb.exp (gdb_exit): Add "wait".
99 * gdb.t06/signals.exp: xfail the continue from the handler for all
102 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
103 function with watchpoints enabled, the i386 call dummy starts with
106 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
107 386 bsd names its corefiles.
111 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
112 compilers don't grok it.
113 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
114 with small octal ints rather than character constants, which
115 are signed and might not fit if first promoted to int.
119 * gdb.t09/Makefile.in (clean): Remove corefile.
123 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
128 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
129 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
130 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
134 * gdb.t17/interrupt.exp: Add xfail for hppa.
138 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
139 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
140 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
141 to determine signed-ness of bitfields and use the result to setup
143 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
144 * gdb.t15/funcargs.exp: Use them to step until the second indirect
145 call line is reached if necessary.
149 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
153 * gdb.t06/break.exp: Also test `clear' command.
157 * gdb.t00/teststrategy.exp: Remove extra quote.
159 * gdb.t07/watchpoint.exp: Change xfail for calling function with
160 watchpoint enabled to be for all non-68k machines.
162 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
166 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
167 targets use aout.mt instead of ecoff.mt as gas understands
168 standard aout format.
172 * lib/gdb.exp (runto): Don't insist that function we are running to
173 was compiled with -g.
175 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
177 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
178 to get back into the read system call.
179 Accept leading newline in case where we woke it up.
183 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
184 to make the stabs test work on ecoff systems using gcc and -with-stabs.
185 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
186 enable ecoff configuration.
190 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
194 * gdb.t16/printcmds.exp: Add another printf test.
198 * configure.in: If configured -with-stabs on any target, add
199 stabsdirs to configdirs.
203 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
204 fun" so pattern does not match the command itself.
208 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
212 * gdb.t17/interrupt.exp: Test for more things.
216 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
217 compiler arranges the code and line numbers.
219 * gdb.t17/interrupt.exp: Don't send \n after ^C.
223 * gdb.t00/help.exp: Increase expect input buffer size.
227 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
229 * gdb.t07/watchpoint.exp: Add xfail for hppa.
231 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
233 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
234 [0-9]*, not just [0-9].
238 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
240 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
244 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
248 * gdb.t06/signals.c: Add xfails for sun3.
250 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
252 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
257 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
259 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
261 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
262 rather than actually putting it through cpp twice.
264 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
268 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
273 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
275 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
276 C++ features prints as "struct", make it a pass, not an xfail.
280 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
281 Don't require VA to print as "class" rather than "struct".
285 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
289 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
293 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
298 * gdb.t16/printcmds.exp: Add printf tests.
300 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
302 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
306 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
307 pass counts, to counteract any existing or future setup_xfails.
311 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
312 {BEGIN,END}_COMMON for common block instead of STAB.
313 * gdb.stabs/wierd.exp: Add xfail for rs6000.
315 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
316 intp_var should be N_GSYM not N_LSYM.
317 wierd-aout.S: Use a label for the value of the N_SO.
318 wierd.def: Remove all backslashes.
319 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
323 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
324 get the expected next to inheritance3.
328 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
329 now that gcc-2.4 gets it right.
333 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
335 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
336 generating comp-info.exp which works for cross-compilation.
340 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
345 * gdb.t01/run.exp: Start with a fresh gdb.
346 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
351 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
352 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
353 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
354 Makefile.in (distclean, realclean): Remove gdbme.c from list of
359 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
360 test cases from bug reports.
364 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
365 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
366 avoid spurious xfails.
367 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
368 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
369 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
373 * gdb.t00/teststrategy.exp: Rework to provide more useful
374 description of each test, fix problem with systems that define
375 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
376 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
377 results for "next over recursive call" so timeouts aren't taken
382 * gdb.t12/scope.exp: Test printing of variables before run.
384 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
385 printed in wrong order due to sorting.
389 * gdb.t00/teststrategy.exp: Fix expected results for printing
390 user entered string constant. Is array of char, prints with no
393 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
395 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
396 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
397 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
398 of struct of char arrays.
399 * gdb.t00/radix.exp: New tests for radix commands.
403 * gdb.t16/printcmd.exp: Print a variable before running program
404 (with xfail for AIX).
408 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
410 * gdb.t16/printcmd.exp: Don't print variables before running program.
412 * gdb.t06/break.exp: Don't require envp argument to main.
414 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
416 * gdb.t02/whatis.exp, gdb.t11/list.exp:
417 Add xfails for rs6000.
419 * gdb.t02/whatis.exp: Change other tests not to re-test something
422 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
423 each type used has a variable of that type.
427 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
429 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
431 * configure.in: change srctrigger to be a file, not a directory
435 * configure.in (mips-idt-ecoff*): Added trailing '*'.
437 * gdb.t11/list.exp: Fixed a couple of typos.
441 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
442 is fixed and PR is closed.
443 * gdb.t16 (gdbme.c): Add simple test string variable.
444 * gdb.t16 (printcmds.exp): Add tests with simple test string
445 variable, primarily for boundaries on "set print elements".
449 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
450 Make leading 0's optional and don't expect a tab in the middle
453 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
455 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
456 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
457 don't end command passed to gdb_test with newline.
459 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
460 signed keyword away, don't expect signed bitfields to be signed.
462 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
463 printing with only as many 1's as are in the field as well as printing
464 with 32 1's (see comment).
468 * gdb.t00/default.exp: Start with a fresh gdb.
469 * configure.in (configdirs): Remove gdb.t31 until the chill
470 compiler works again. It no longer is able to find chillrt0
471 since it isn't in libchill.a anymore.
472 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
473 wierd.o, make more modular.
474 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
475 spurious newlines that caused problems.
479 * Move test with enums and partial symbols from gdb.t03/ptype.exp
480 to gdb.stabs/wierd.exp since GCC has worked around the bug.
481 gdb.stabs/wierd.{exp,def}: Many new tests.
483 * gdb.t00/default.exp: update info line for new message.
485 * gdb.t02/{whatis.exp,gdbme.c}:
486 Test that "char *" doesn't print as "caddr_t".
490 * gdb.t00/help.exp: Use .* in place of some help messages which
492 gdb.t00/default.exp: Update "info frame" test for new message.
493 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
498 * gdb.t03/{gdbme.c,ptype.exp}:
499 Add tests for typedef'd struct and union without tags.
500 Also check "whatis" on a variable of a typedef'd enum without a tag.
502 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
503 PRMS 1823; the bug still exists but isn't reproduced by this test
504 anymore), and remove rs6000 XFAIL (the bug is fixed).
506 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
507 duplicated from whatis.exp. For those that are left, accept
508 "long", "long int", or "int" for long variables (whatis.exp already
509 has an XFAIL for "int", so no need to fail it here).
511 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
512 Deal with GCC's names for types now that GDB uses the compiler's names.
514 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
515 setup_xfail's for sunos4. If we #defined the signed keyword away,
516 don't expect GDB to know that char it is signed.
518 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
522 * configure.in (configdirs): Add gdb.t24 for C++ tests that
523 should work on any system, regardless of debugging format.
524 * gdb.t21/demangle.exp: Move to gdb.t24.
525 * gdb.t24/demangle.exp: Move from gdb.t21.
526 * gdb.t24/{Makefile.in, configure.in}: New files.
530 * configure.in: Do gdb.stabs and C++ tests only for stabs.
531 * gdb.stabs: New directory.
535 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
536 not just "Quit anyway?".
540 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
541 that all setup_xfails are immediately followed by clear_xfails.
545 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
546 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
547 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
548 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
549 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
550 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
551 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
552 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
553 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
554 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
555 gdb.t31/chillvars.exp, lib/gdb.exp:
561 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
562 with 0.0, not integer 0.
566 * gdb.t06/break.exp: Update for "Kill the program" message change.
570 * Makefile.in (GDBFLAGS): Set to -nx.
571 * Makefile.in (site.exp): Use GDBFLAGS.
575 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
577 (check): depend on just-check.
578 (just-check): added so that tests can be run without a noop
583 Switch to using configure's configdirs.
584 * Makefile.in (Makefile): add configure.in dependency.
585 (SUBDIRS): removed redundant assignment.
586 * configure.in: switch subdirs assignment to configdirs.
587 * gdb.t*/configure.in: new files.
591 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
596 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
597 in explicit rules. Apparently this is not supported by some makes.
601 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
605 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
610 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
614 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
615 watchpoint problem that is now fixed.
616 * gdb.t30/chexp.exp: Remove setup_xfail for printing
617 uninitialized convenience variables.
618 * gdb.t31/chillvars.exp: Fix expected patterns for printing
623 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
624 which causes expect to get out of sync with gdb on long output
626 * gdb.t09/corefile.exp: Make expected pattern for core file
627 failing signal and frame output format less sun specific.
631 * gdb.t31/chillvars.exp: Add and remove initial dummy
632 breakpoint, so that symbol table is forced in.
633 (Needed at least on Sunos4, though it seems not SVR4.)
634 * gdb.t31/chillvars.exp: Update for changed output format.
636 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
638 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
642 * Makefile.in: Added --srcdir when invoking runtest, removed the
643 need for a local config file. (optional now)
647 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
648 failure count used to force early termination. Add some more
649 expected failures for gnu style demangling.
653 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
654 pmi variable from gdb.t20/gdbme to get optimized away.
655 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
656 Check for written corefile upon timeout _and_ eof.
660 * config/unix-gdb.exp: Add missing return 0.
664 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
669 * configure.in (subdirs): Put back gdb.t17 which mysteriously
674 * gdb.t10/crossload.exp: Disable the i860-elf test until such
675 time as i860 support works.
677 * gdb.t15/funcargs.exp: Fix expected outputs to include
678 "backtrace 100\r" rather than just "backtrace\r", to match last
683 * config/udi-gdb.exp (gdb_exit): Remove close command.
684 (gdb_target_udi): New procedure to set the UDI target.
685 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
686 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
687 Added waits for prompts after several question responses. Added
688 some more responses used by a29k-amd-udi-gdb.
689 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
690 pass different arguments, restart UDI connection after program
692 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
693 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
694 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
695 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
696 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
697 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
698 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
699 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
700 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
701 after program completion.
702 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
703 compiled with a SELECT_VECS setting.
704 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
707 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
708 Added checks for COFF results, and made them expected failures for
709 all targets. It would be better to make them expected failures
710 for COFF targets only.
712 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
714 * Makefile.in: add null dvi target, don't bother to recurse
715 through test directories for info and install-info; rename
716 $(datadir) to be dejagnu instead of deja-gnu
720 * gdb.t31/gdbme.ch: Re-enable code that previously caused
721 compiler to coredump.
722 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
727 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
729 * gdb.t31/chillvars.exp: Comment out tests that depend on that
732 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
734 * gdb.t03/ptype.exp: tests for return code from gdb_test.
735 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
736 which in a shell. Deletes xgdb when done.
737 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
738 Tests the return from the "set height" or "set width" commands.
739 Added a few return codes where needed.
743 * Makefile.in (SUBDIRS): Add gdb.t17.
744 * configure.in (subdirs): Add gdb.t17.
745 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
746 files to test gdb's calling of functions in the inferior with
747 the correct arguments and gdb's ability to retrieve any
752 * config/unix-gdb.exp (gdb_exit): Remove close commands that
753 may be called after gdb goes away. Previous versions of expect
754 needed these to avoid file descriptor leaks, but they cause
755 errors with the current revision of expect.
756 * gdb.t00/gdbvars.exp: Use -re on expected output after
757 setting sevenbit-strings.
758 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
759 to set sevenbit-strings consistent across tests.
760 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
761 set sevenbit-strings consistent across tests.
765 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
766 expected output to match current "expect" expectations.
770 * gdb.t00/default.exp: Change expected output for default "source"
771 command, to match new gdb behavior which requires a filename to
776 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
777 expected fail for i486-*-* that misses the marker2 function.
778 * gdb.t10/crossload.exp (bfddefault): Allow successful
779 recognition of a format to pass even if no symbols are found.
780 Explicitly catch failures where the format is not recognized
781 or is ambiguous, and add the reason to the fail message.
782 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
783 the cause is and invalid target and add reason to failure message.
784 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
785 elf32-i386, elf32-sparc, and elf32-i860.
786 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
787 Set up expected failure for 'filename'::variable scope resolution,
788 which is now apparently broken on all targets.
789 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
790 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
791 gdb.t23/templates.exp: Change failure for missing binfile into
793 gdb.t21/demangle.exp: Change all cfront references to 'arm'
798 * gdb.t00/default.exp: Add expected output for default "source"
799 command, to match new gdb behavior.
800 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
804 * config/*-gdb.exp: returns an error, rather than exiting on
809 * gdb.t03/gdbme.c: Add pointer to struct variable.
810 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
811 referencing struct members.
815 * configure.in (mips-idt-ecoff): New target.
816 * config/mips-gdb.exp: New file for remote board using MIPS remote
819 * Redid configuration scheme. Removed gdb.t*/configure.in.
820 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
821 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
822 distclean targets. Built executables via .o files. Adjusted
823 tests to account for source files in $(srcdir) rather than
825 * lib/gdb.exp (runto): Don't expect () after the function name,
826 because it may have arguments.
830 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
831 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
832 expected failures for mips-idt-* and mips-sgi-*.
833 * gdb.t00/default.exp (attach): Kill process if requested.
834 * gdb.t00/help.exp (help target core, help target): Accept a gdb
835 that does not read core files.
836 * gdb.t01/run.exp: Removed checks for exit status code.
837 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
839 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
840 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
841 appropriate, rather than doing it by hand.
842 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
844 * gdb.t10/crossload.exp: Kill existing program if needed.
845 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
846 appropriate, rather than doing it by hand. Always increase
847 timeout for this test, not just for VxWorks.
851 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
852 of Chill STRUCT types and STRUCT values.
853 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
855 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
856 struct2): New struct definitions and initializations to test
857 simple Chill STRUCT types.
861 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
862 the null byte at the end of strings.
863 * gdb.t00/default.exp: Make show version insensitive to copyright
865 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
866 to avoid dependencies on target char signedness.
867 * gdb.t16/printcmds.exp: Update expected results for explicitly
869 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
871 * gdb.t21/demangle.exp: Add many more patterns for template
872 demangling, most of them being expected failures.
873 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
874 string we are matching for, to match on the whole string.
875 * gdb.t21/demangle.exp: Add many new test strings to demangle,
876 and fix a whole bunch that had incorrect expected output but were
877 passing anyway because of the bug in "proc demangle".
878 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
880 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
884 * gdb/testsuite: made modifications to testcases, etc., to allow
885 them to work properly given the reorganization of deja-gnu and the
886 relocation of the testcases from deja-gnu to a "tool" subdirectory.
890 * gdb/testsuite: Initial creation of gdb/testsuite.
891 Migrated dejagnu testcases and support files for testing nm to
892 gdb/testsuite from deja-gnu. These files were moved "as is"
893 with no modifications. This migration is part of a major overhaul
894 of dejagnu. The modifications to these testcases, etc., which
895 will allow them to work with the new version of dejagnu will be
896 made in a future update.