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 ****
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.
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.
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.
* 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 ****
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 ****
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.