Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com) * config/unix-gdb.exp (gdb_exit): Remove close commands that may be called after gdb goes away. Previous versions of expect needed these to avoid file descriptor leaks, but they cause errors with the current revision of expect. * gdb.t00/gdbvars.exp: Use -re on expected output after setting sevenbit-strings. * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands to set sevenbit-strings consistent across tests. **** start-sanitize-chill **** gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to set sevenbit-strings consistent across tests. **** end-sanitize-chill **** Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com) * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an expected output to match current "expect" expectations. Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com) * gdb.t00/default.exp: Change expected output for default "source" command, to match new gdb behavior which requires a filename to source. Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com) * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up expected fail for i486-*-* that misses the marker2 function. * gdb.t10/crossload.exp (bfddefault): Allow successful recognition of a format to pass even if no symbols are found. Explicitly catch failures where the format is not recognized or is ambiguous, and add the reason to the fail message. * gdb.t10/crossload.exp (bfdexplicit): Catch failure where the cause is and invalid target and add reason to failure message. * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k, elf32-i386, elf32-sparc, and elf32-i860. * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar): Set up expected failure for 'filename'::variable scope resolution, which is now apparently broken on all targets. * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp, gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp, gdb.t23/templates.exp: Change failure for missing binfile into just a warning. gdb.t21/demangle.exp: Change all cfront references to 'arm' references. Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com) * gdb.t00/default.exp: Add expected output for default "source" command, to match new gdb behavior. * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB. Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com) * config/*-gdb.exp: returns an error, rather than exiting on internal errors. Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com) * gdb.t03/gdbme.c: Add pointer to struct variable. * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for referencing struct members. Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com) * configure.in (mips-idt-ecoff): New target. * config/mips-gdb.exp: New file for remote board using MIPS remote debugging protocol. * Redid configuration scheme. Removed gdb.t*/configure.in. Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and distclean targets. Built executables via .o files. Adjusted tests to account for source files in $(srcdir) rather than $(objdir). * lib/gdb.exp (runto): Don't expect () after the function name, because it may have arguments. Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com) * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added expected failures for mips-idt-* and mips-sgi-*. * gdb.t00/default.exp (attach): Kill process if requested. * gdb.t00/help.exp (help target core, help target): Accept a gdb that does not read core files. * gdb.t01/run.exp: Removed checks for exit status code. * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that it is linked in. * gdb.t03/ptype.exp: Increase timeout when calling malloc. * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where appropriate, rather than doing it by hand. * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first execution. * gdb.t10/crossload.exp: Kill existing program if needed. * gdb.t15/funcargs.exp: Use delete_breakpoints function where appropriate, rather than doing it by hand. Always increase timeout for this test, not just for VxWorks. Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com) **** start-sanitize-chill **** * gdb.t31/chillvars.exp (test_structs): New proc to test printing of Chill STRUCT types and STRUCT values. * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather than "char". * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1, struct2): New struct definitions and initializations to test simple Chill STRUCT types. **** end-sanitize-chill **** Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com) * gdb.t00/teststrategy.exp: Track reversion in gdb to not print the null byte at the end of strings. * gdb.t00/default.exp: Make show version insensitive to copyright date. * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned to avoid dependencies on target char signedness. * gdb.t16/printcmds.exp: Update expected results for explicitly unsigned char. * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should now work. * gdb.t21/demangle.exp: Add many more patterns for template demangling, most of them being expected failures. * gdb.t21/demangle.exp (proc demangle): Quote the demangled string we are matching for, to match on the whole string. * gdb.t21/demangle.exp: Add many new test strings to demangle, and fix a whole bunch that had incorrect expected output but were passing anyway because of the bug in "proc demangle". **** start-sanitize-chill **** * gdb.t31/chillvars.exp: Remove setup_xfail for printing string type. * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles. **** end-sanitize-chill **** Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com) * gdb/testsuite: made modifications to testcases, etc., to allow them to work properly given the reorganization of deja-gnu and the relocation of the testcases from deja-gnu to a "tool" subdirectory. Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com) * gdb/testsuite: Initial creation of gdb/testsuite. Migrated dejagnu testcases and support files for testing nm to gdb/testsuite from deja-gnu. These files were moved "as is" with no modifications. This migration is part of a major overhaul of dejagnu. The modifications to these testcases, etc., which will allow them to work with the new version of dejagnu will be made in a future update.