3 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
5 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
6 generating comp-info.exp which works for cross-compilation.
10 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
15 * gdb.t01/run.exp: Start with a fresh gdb.
16 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
21 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
22 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
24 Makefile.in (distclean, realclean): Remove gdbme.c from list of
29 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
30 test cases from bug reports.
34 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
35 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
36 avoid spurious xfails.
37 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
38 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
39 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
43 * gdb.t00/teststrategy.exp: Rework to provide more useful
44 description of each test, fix problem with systems that define
45 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
46 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
47 results for "next over recursive call" so timeouts aren't taken
52 * gdb.t12/scope.exp: Test printing of variables before run.
54 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
55 printed in wrong order due to sorting.
59 * gdb.t00/teststrategy.exp: Fix expected results for printing
60 user entered string constant. Is array of char, prints with no
63 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
65 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
66 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
67 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
68 of struct of char arrays.
69 * gdb.t00/radix.exp: New tests for radix commands.
73 * gdb.t16/printcmd.exp: Print a variable before running program
78 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
80 * gdb.t16/printcmd.exp: Don't print variables before running program.
82 * gdb.t06/break.exp: Don't require envp argument to main.
84 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
86 * gdb.t02/whatis.exp, gdb.t11/list.exp:
87 Add xfails for rs6000.
89 * gdb.t02/whatis.exp: Change other tests not to re-test something
92 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
93 each type used has a variable of that type.
97 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
99 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
101 * configure.in: change srctrigger to be a file, not a directory
105 * configure.in (mips-idt-ecoff*): Added trailing '*'.
107 * gdb.t11/list.exp: Fixed a couple of typos.
111 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
112 is fixed and PR is closed.
113 * gdb.t16 (gdbme.c): Add simple test string variable.
114 * gdb.t16 (printcmds.exp): Add tests with simple test string
115 variable, primarily for boundaries on "set print elements".
119 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
120 Make leading 0's optional and don't expect a tab in the middle
123 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
125 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
126 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
127 don't end command passed to gdb_test with newline.
129 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
130 signed keyword away, don't expect signed bitfields to be signed.
132 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
133 printing with only as many 1's as are in the field as well as printing
134 with 32 1's (see comment).
138 * gdb.t00/default.exp: Start with a fresh gdb.
139 * configure.in (configdirs): Remove gdb.t31 until the chill
140 compiler works again. It no longer is able to find chillrt0
141 since it isn't in libchill.a anymore.
142 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
143 wierd.o, make more modular.
144 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
145 spurious newlines that caused problems.
149 * Move test with enums and partial symbols from gdb.t03/ptype.exp
150 to gdb.stabs/wierd.exp since GCC has worked around the bug.
151 gdb.stabs/wierd.{exp,def}: Many new tests.
153 * gdb.t00/default.exp: update info line for new message.
155 * gdb.t02/{whatis.exp,gdbme.c}:
156 Test that "char *" doesn't print as "caddr_t".
160 * gdb.t00/help.exp: Use .* in place of some help messages which
162 gdb.t00/default.exp: Update "info frame" test for new message.
163 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
168 * gdb.t03/{gdbme.c,ptype.exp}:
169 Add tests for typedef'd struct and union without tags.
170 Also check "whatis" on a variable of a typedef'd enum without a tag.
172 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
173 PRMS 1823; the bug still exists but isn't reproduced by this test
174 anymore), and remove rs6000 XFAIL (the bug is fixed).
176 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
177 duplicated from whatis.exp. For those that are left, accept
178 "long", "long int", or "int" for long variables (whatis.exp already
179 has an XFAIL for "int", so no need to fail it here).
181 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
182 Deal with GCC's names for types now that GDB uses the compiler's names.
184 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
185 setup_xfail's for sunos4. If we #defined the signed keyword away,
186 don't expect GDB to know that char it is signed.
188 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
192 * configure.in (configdirs): Add gdb.t24 for C++ tests that
193 should work on any system, regardless of debugging format.
194 * gdb.t21/demangle.exp: Move to gdb.t24.
195 * gdb.t24/demangle.exp: Move from gdb.t21.
196 * gdb.t24/{Makefile.in, configure.in}: New files.
200 * configure.in: Do gdb.stabs and C++ tests only for stabs.
201 * gdb.stabs: New directory.
205 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
206 not just "Quit anyway?".
210 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
211 that all setup_xfails are immediately followed by clear_xfails.
215 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
216 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
217 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
218 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
219 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
220 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
221 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
222 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
223 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
224 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
225 gdb.t31/chillvars.exp, lib/gdb.exp:
231 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
232 with 0.0, not integer 0.
236 * gdb.t06/break.exp: Update for "Kill the program" message change.
240 * Makefile.in (GDBFLAGS): Set to -nx.
241 * Makefile.in (site.exp): Use GDBFLAGS.
245 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
247 (check): depend on just-check.
248 (just-check): added so that tests can be run without a noop
253 Switch to using configure's configdirs.
254 * Makefile.in (Makefile): add configure.in dependency.
255 (SUBDIRS): removed redundant assignment.
256 * configure.in: switch subdirs assignment to configdirs.
257 * gdb.t*/configure.in: new files.
261 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
266 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
267 in explicit rules. Apparently this is not supported by some makes.
271 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
275 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
280 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
284 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
285 watchpoint problem that is now fixed.
286 * gdb.t30/chexp.exp: Remove setup_xfail for printing
287 uninitialized convenience variables.
288 * gdb.t31/chillvars.exp: Fix expected patterns for printing
293 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
294 which causes expect to get out of sync with gdb on long output
296 * gdb.t09/corefile.exp: Make expected pattern for core file
297 failing signal and frame output format less sun specific.
301 * gdb.t31/chillvars.exp: Add and remove initial dummy
302 breakpoint, so that symbol table is forced in.
303 (Needed at least on Sunos4, though it seems not SVR4.)
304 * gdb.t31/chillvars.exp: Update for changed output format.
306 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
308 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
312 * Makefile.in: Added --srcdir when invoking runtest, removed the
313 need for a local config file. (optional now)
317 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
318 failure count used to force early termination. Add some more
319 expected failures for gnu style demangling.
323 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
324 pmi variable from gdb.t20/gdbme to get optimized away.
325 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
326 Check for written corefile upon timeout _and_ eof.
330 * config/unix-gdb.exp: Add missing return 0.
334 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
339 * configure.in (subdirs): Put back gdb.t17 which mysteriously
344 * gdb.t10/crossload.exp: Disable the i860-elf test until such
345 time as i860 support works.
347 * gdb.t15/funcargs.exp: Fix expected outputs to include
348 "backtrace 100\r" rather than just "backtrace\r", to match last
353 * config/udi-gdb.exp (gdb_exit): Remove close command.
354 (gdb_target_udi): New procedure to set the UDI target.
355 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
356 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
357 Added waits for prompts after several question responses. Added
358 some more responses used by a29k-amd-udi-gdb.
359 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
360 pass different arguments, restart UDI connection after program
362 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
363 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
364 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
365 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
366 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
367 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
368 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
369 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
370 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
371 after program completion.
372 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
373 compiled with a SELECT_VECS setting.
374 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
377 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
378 Added checks for COFF results, and made them expected failures for
379 all targets. It would be better to make them expected failures
380 for COFF targets only.
382 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
384 * Makefile.in: add null dvi target, don't bother to recurse
385 through test directories for info and install-info; rename
386 $(datadir) to be dejagnu instead of deja-gnu
390 * gdb.t31/gdbme.ch: Re-enable code that previously caused
391 compiler to coredump.
392 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
397 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
399 * gdb.t31/chillvars.exp: Comment out tests that depend on that
402 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
404 * gdb.t03/ptype.exp: tests for return code from gdb_test.
405 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
406 which in a shell. Deletes xgdb when done.
407 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
408 Tests the return from the "set height" or "set width" commands.
409 Added a few return codes where needed.
413 * Makefile.in (SUBDIRS): Add gdb.t17.
414 * configure.in (subdirs): Add gdb.t17.
415 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
416 files to test gdb's calling of functions in the inferior with
417 the correct arguments and gdb's ability to retrieve any
422 * config/unix-gdb.exp (gdb_exit): Remove close commands that
423 may be called after gdb goes away. Previous versions of expect
424 needed these to avoid file descriptor leaks, but they cause
425 errors with the current revision of expect.
426 * gdb.t00/gdbvars.exp: Use -re on expected output after
427 setting sevenbit-strings.
428 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
429 to set sevenbit-strings consistent across tests.
430 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
431 set sevenbit-strings consistent across tests.
435 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
436 expected output to match current "expect" expectations.
440 * gdb.t00/default.exp: Change expected output for default "source"
441 command, to match new gdb behavior which requires a filename to
446 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
447 expected fail for i486-*-* that misses the marker2 function.
448 * gdb.t10/crossload.exp (bfddefault): Allow successful
449 recognition of a format to pass even if no symbols are found.
450 Explicitly catch failures where the format is not recognized
451 or is ambiguous, and add the reason to the fail message.
452 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
453 the cause is and invalid target and add reason to failure message.
454 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
455 elf32-i386, elf32-sparc, and elf32-i860.
456 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
457 Set up expected failure for 'filename'::variable scope resolution,
458 which is now apparently broken on all targets.
459 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
460 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
461 gdb.t23/templates.exp: Change failure for missing binfile into
463 gdb.t21/demangle.exp: Change all cfront references to 'arm'
468 * gdb.t00/default.exp: Add expected output for default "source"
469 command, to match new gdb behavior.
470 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
474 * config/*-gdb.exp: returns an error, rather than exiting on
479 * gdb.t03/gdbme.c: Add pointer to struct variable.
480 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
481 referencing struct members.
485 * configure.in (mips-idt-ecoff): New target.
486 * config/mips-gdb.exp: New file for remote board using MIPS remote
489 * Redid configuration scheme. Removed gdb.t*/configure.in.
490 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
491 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
492 distclean targets. Built executables via .o files. Adjusted
493 tests to account for source files in $(srcdir) rather than
495 * lib/gdb.exp (runto): Don't expect () after the function name,
496 because it may have arguments.
500 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
501 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
502 expected failures for mips-idt-* and mips-sgi-*.
503 * gdb.t00/default.exp (attach): Kill process if requested.
504 * gdb.t00/help.exp (help target core, help target): Accept a gdb
505 that does not read core files.
506 * gdb.t01/run.exp: Removed checks for exit status code.
507 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
509 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
510 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
511 appropriate, rather than doing it by hand.
512 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
514 * gdb.t10/crossload.exp: Kill existing program if needed.
515 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
516 appropriate, rather than doing it by hand. Always increase
517 timeout for this test, not just for VxWorks.
521 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
522 of Chill STRUCT types and STRUCT values.
523 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
525 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
526 struct2): New struct definitions and initializations to test
527 simple Chill STRUCT types.
531 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
532 the null byte at the end of strings.
533 * gdb.t00/default.exp: Make show version insensitive to copyright
535 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
536 to avoid dependencies on target char signedness.
537 * gdb.t16/printcmds.exp: Update expected results for explicitly
539 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
541 * gdb.t21/demangle.exp: Add many more patterns for template
542 demangling, most of them being expected failures.
543 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
544 string we are matching for, to match on the whole string.
545 * gdb.t21/demangle.exp: Add many new test strings to demangle,
546 and fix a whole bunch that had incorrect expected output but were
547 passing anyway because of the bug in "proc demangle".
548 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
550 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
554 * gdb/testsuite: made modifications to testcases, etc., to allow
555 them to work properly given the reorganization of deja-gnu and the
556 relocation of the testcases from deja-gnu to a "tool" subdirectory.
560 * gdb/testsuite: Initial creation of gdb/testsuite.
561 Migrated dejagnu testcases and support files for testing nm to
562 gdb/testsuite from deja-gnu. These files were moved "as is"
563 with no modifications. This migration is part of a major overhaul
564 of dejagnu. The modifications to these testcases, etc., which
565 will allow them to work with the new version of dejagnu will be
566 made in a future update.