Commit Graph

4928 Commits

Author SHA1 Message Date
John Gilmore acb771de03 Avoid $< in explicit rule. 1993-04-15 09:28:58 +00:00
Fred Fish a08317af9f * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
watchpoint problem that is now fixed.
	* gdb.t30/chexp.exp:  Remove setup_xfail for printing
	uninitialized convenience variables.
	* gdb.t31/chillvars.exp:  Fix expected patterns for printing
	structures.
1993-04-14 23:43:51 +00:00
Per Bothner b54a2f2d90 Note changes to gdb.t31/chillvars.exp. 1993-04-14 06:21:34 +00:00
Rob Savoye ce30725700 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path. 1993-04-12 22:27:06 +00:00
Fred Fish bee218aaac * gdb.t21/demangle.exp: Only count real fails (not xfails) for
failure count used to force early termination.  Add some more
	expected failures for gnu style demangling.
1993-04-07 21:14:57 +00:00
Peter Schauer 1096d1de5d * config/unix-gdb.exp: Add missing return 0. 1993-03-30 18:00:50 +00:00
Peter Schauer 72ea43e648 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
test termination.
1993-03-30 16:38:23 +00:00
Fred Fish 7007db9600 * configure.in (subdirs): Put back gdb.t17 which mysteriously
disappeared.
1993-03-30 01:38:19 +00:00
Fred Fish 63305a735b * gdb.t15/funcargs.exp: Fix expected outputs to include
"backtrace 100\r" rather than just "backtrace\r", to match last
	change.
1993-03-26 05:07:08 +00:00
Ian Lance Taylor 5f2912ccce * config/udi-gdb.exp (gdb_exit): Remove close command.
(gdb_target_udi): New procedure to set the UDI target.
	(gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
	* gdb.t00/default.exp: Added expected failures for a29k-*-udi.
	Added waits for prompts after several question responses.  Added
	some more responses used by a29k-amd-udi-gdb.
	* gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
	pass different arguments, restart UDI connection after program
	completion.
	* gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
	gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
	gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
	gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
	* gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
	gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
	gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
	gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
	gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
	after program completion.
	* gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
	compiled with a SELECT_VECS setting.
	* gdb.t15/funcargs.exp: Use argument to backtrace to prevent
	infinite recursion.

	* gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
	Added checks for COFF results, and made them expected failures for
	all targets.  It would be better to make them expected failures
	for COFF targets only.
1993-03-25 20:34:44 +00:00
David D. Zuhn ebc0f5821b rename deja-gnu to dejagnu 1993-03-25 01:25:09 +00:00
David D. Zuhn 21ce979a5a add dvi, fix info & install-info (no recursion) 1993-03-24 22:45:00 +00:00
Fred Fish 214aa2448f * gdb.t31/gdbme.ch: Re-enable code that previously caused
compiler to coredump.
	* gdb.t31/chillvars.exp:  Re-enable tests that depend on that
	code.
1993-03-24 17:50:44 +00:00
Fred Fish bfb33935d4 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
coredump.
	* gdb.t31/chillvars.exp:  Comment out tests that depend on that
	code.
1993-03-23 16:56:52 +00:00
Rob Savoye 3d0bd7d39a * gdb.t03/ptype.exp: tests for return code from gdb_test.
* gdb.t00/teststrategy.exp: Uses which proc rather than spawning
       which in a shell. Deletes xgdb when done.
       * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
       Tests the return from the "set height" or "set width" commands.
       Added a few return codes where needed.
1993-03-22 04:26:28 +00:00
Fred Fish 04fb224c92 Forgot to include changes to Makefile.in and configure.in. 1993-03-17 19:35:18 +00:00
Fred Fish bc80300747 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
files to test gdb's calling of functions in the inferior with
	the correct arguments and gdb's ability to retrieve any
	result returned.
1993-03-17 19:33:19 +00:00
Fred Fish 400b81b5e6 * 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 ****
1993-03-16 23:48:09 +00:00
Fred Fish 96b99583f4 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
expected output to match current "expect" expectations.
1993-03-12 16:50:38 +00:00
Fred Fish d3b43da8a5 Document change to default.exp. 1993-03-11 02:04:16 +00:00
Fred Fish fa5366da8b * 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.
1993-03-09 19:17:48 +00:00
Rob Savoye 1be6caef00 * config/*-gdb.exp: returns an error, rather than exiting on
internal errors.
1993-03-07 23:15:44 +00:00
Ian Lance Taylor 01cec5c8e7 * 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.
1993-02-25 18:50:45 +00:00
Ian Lance Taylor 5b272a2d0b * 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.
1993-02-24 16:29:33 +00:00
Fred Fish 16aa4b532e **** 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 ****
1993-02-24 16:10:41 +00:00
Fred Fish ff7f25de27 * 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 ****
1993-02-23 19:59:25 +00:00
Mike Werner bf3d2b7571 * 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.
1993-02-22 16:20:25 +00:00
Mike Werner 19fa4a0af3 * 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.
1993-02-21 20:03:55 +00:00