Commit graph

1271 commits

Author SHA1 Message Date
Jeff Law
374bc5d7de * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
Fix typo(s).
1994-03-30 07:56:14 +00:00
Jeff Law
28a2181201 * gdb.t07/gdbme.c: More code for watchpoint testing.
* gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
        "Hardware watchpoint" throughout file.
        (test_watchpoint_triggered_in_syscall): New test.
        (test_complex_watchpoint): New test.
1994-03-28 00:53:55 +00:00
Jeff Law
277c24a1f0 * gdbme.c (call_with_trampolines): New function to try and step
into.  Tests trampoline problems on the PA.

        * funcargs.exp (localvars_in_indirect_call): No longer expect
        stepping into indirect call to fail on PAs.
        (test_stepping_over_trampolines): New test.
1994-03-26 01:06:12 +00:00
Jim Kingdon
b93e563cb7 * TODO: Add suggestions for static member function tests, and
completion tests.
1994-03-24 16:26:57 +00:00
Jim Kingdon
3006c5ac36 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
(default_gdb_exit): Replace all the hair with sending "quit" to
	the process with a simple close.
1994-03-16 16:57:39 +00:00
Jim Kingdon
7e1f34050d * TODO: Add suggestions for shared library tests. 1994-03-15 16:46:13 +00:00
Jim Kingdon
d19fc8790a * TODO: Add suggestions for x/s tests. 1994-03-13 18:46:42 +00:00
Jim Kingdon
45f43ce2c0 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
"enable once", and "enable breakpoints once" with ".*".
1994-03-11 16:36:22 +00:00
Jim Kingdon
27677e75f4 * TODO: Add suggestions about structure passing tests. 1994-03-10 16:42:54 +00:00
Jim Kingdon
24f815579e * TODO: Add suggestion about passing a structure as the 7th argument. 1994-03-10 16:35:54 +00:00
Peter Schauer
cbb99ebbd1 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
the primary1 test, use work around if __GNUC__ < 2.
	* gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
	* gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
	Test for bad output rather than waiting for timeout.  Issue
	second continue only if first continue failed.
1994-03-07 21:51:38 +00:00
Jim Kingdon
31b03fe43c * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
operator[] test with gdb_test because the old code didn't seem to
	be getting the quoting right with the new dejagnu.
1994-03-02 18:11:44 +00:00
Jim Kingdon
90e58b6c52 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
next over recursive call.  Revise the tests from that point on
	(which had been skipped) to match GDB's actual (correct) output.

	* gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
	with next over a breakpoint whose condition is false.
1994-02-25 09:13:10 +00:00
Jim Kingdon
b4f6f3c114 * gdb.t00/help.exp: Comment out "help set print" tests just like
(and for same reason as) "help set" test.
1994-02-25 03:03:29 +00:00
Jim Kingdon
83eab3d68d Add unknown.exp 1994-02-19 00:37:57 +00:00
Jeff Law
34535b4433 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
* gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
1994-02-14 17:59:19 +00:00
Jim Kingdon
fd70af24a3 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
gdb.t03/ptype.exp (ptype structure, ptype union):
	Remove xfails; the test is looser than when the xfails were added.
1994-02-07 02:06:27 +00:00
Jim Kingdon
2558ba5dd6 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
since "run" automatically loads if necessary.  Call gdb_target_udi
	after the "file" since "file" kills any execution target.
1994-02-07 01:50:51 +00:00
Jim Kingdon
5bf581053c * gdb.t02/whatis.exp: Remove xfails for PRs 1838 and 2417; they
are fixed.

	* gdb.t02/whatis.exp: Remove xfails for v_char_array and
	v_signed_char_array; the test is looser than when the xfails were
	added.

	* gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
	* gdb.t00/help.exp: Don't expect remote to be in "help target" output.
1994-02-07 00:59:37 +00:00
Jim Kingdon
b6999724da * gdb.t01/run.exp: Only run shell test if isnative. 1994-02-07 00:18:08 +00:00
Jim Kingdon
ebbed4c4c3 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
since "run" automatically loads if necessary.
1994-02-07 00:06:45 +00:00
Jim Kingdon
d3b06c5fcf * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
GDB.  GDB doesn't work that way (not anymore at least) on UDI.
	* gdb.t01/run.exp: Don't pass extra first argument for UDI.
1994-02-06 23:45:18 +00:00
Jim Kingdon
60f1cc9858 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
* gdb.t17/callfuncs.exp: Add xfails for rs6000.
1994-02-05 21:29:45 +00:00
Jeff Law
90e77b4aec * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
(comib_nullified_tests): Fix typo.
        * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
        strings.  No longer expected to fail.
1994-02-05 19:16:49 +00:00
Jeff Law
8a1f1fbab0 * gdb.disasm/hppa.s (addib_tests): Fix typo.
* gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
        strings.  No longer expected to fail.
1994-02-05 18:40:20 +00:00
Jim Kingdon
3c409d2045 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
properly quoting regexps.  This makes the second argument to
	demangle a fixed string, which matches the callers, instead of a
	shell-style pattern which is what the previous implementation
	used.  Update some of the callers.
1994-02-05 18:34:33 +00:00
Jeff Law
ddb01977fb * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect string.
No longer expected to fail.
1994-02-05 18:20:02 +00:00
Jeff Law
647d688bcc * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
No longer expected to fail.
1994-02-05 08:03:34 +00:00
Jeff Law
6b4eae930c * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
string.  No longer expected to fail.
1994-02-05 07:46:20 +00:00
Jim Kingdon
81268ac80e * gdb.t24/demangle.exp: Remove a bunch more tests which differ
only in the names (I probably got most of them).  I was even
	generous with some which differed in underscores in names, and
	probably missed a few, and I *still* was able to remove almost a
	third of the file with almost no impact on testsuite coverage.
1994-02-04 18:45:39 +00:00
Jim Kingdon
b2c416781d * gdb.t00/default.exp: Match udi_attach error message as well as
the one from child_attach.

	* gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
1994-02-04 02:25:33 +00:00
Jim Kingdon
a8493f59b7 * Move test with enums and partial symbols back to
gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
	Reverts the change of 26 May 93.  Per today's change to
	stabs.texinfo, the behavior that weird.exp was expecting was
	unreasonable; what is important is that the compiler+gdb get
	things right, which happens with a recent gcc.  Also fix the test
	to deal with native compilers which put out the stab gdb can't
	deal with.
1994-02-03 17:25:43 +00:00
Jim Kingdon
a7409c5498 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
in the names.  The main thing these accomplish is to slow things down.
	Many more such duplicates surely remain.
1994-01-31 21:15:53 +00:00
Jim Kingdon
48c667b407 * gdb.t00/help.exp: Comment out "help support" test just like
(and for same reason as) "help set" test.
1994-01-31 20:43:53 +00:00
Fred Fish
83fe861ee0 Fix typo in ChangeLog entry. 1994-01-31 15:25:07 +00:00
Fred Fish
9f388ef8db * gdb.t06/break.exp: Remove setup_xfails for
sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
        * gdb.t20/inherit.exp (test_ptype_si):  Update warning message
        about known bug in gcc to include up through 2.5.8.
        * gdb.t20/inherit.exp (test_ptype_vi):  Accept "_vb." as well as
        well as "_vb$".
        * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
        Remove setup_xfails for sparc-sun-solaris2.*, these tests no pass
        with latest gcc and gdb.
        * gdb.t22/virtfunc.exp (test_ptype_of_classes):  Accept "_vb." as
        well as "_vb$".
1994-01-31 15:22:47 +00:00
Jeff Law
7d25181670 * configure.in (hppa*-*-*): Also configure and build stabs-only
tests.
1994-01-30 07:32:26 +00:00
Jeff Law
4a5242e884 * gdb.t10/hppa.mt: A makefile fragment for the PA.
* gdb.t10/configure.in (hppa*-*-*): Use it.
1994-01-27 16:22:10 +00:00
Peter Schauer
4b471f9391 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly. 1994-01-25 21:04:57 +00:00
Peter Schauer
a3435c0e23 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
versions prior to 1.13.5.
1994-01-19 20:46:28 +00:00
Jim Kingdon
77918505b5 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
the prompt is at the start of a line.
1994-01-19 01:14:11 +00:00
Jeff Law
46ee83a0b8 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
Enable "diag" instruction.  Delete copr from fpu_misc_tests, it's
        in the copr tests now.
        * gdb.disasm/hppa.exp: Run new sfu and copr tests.  Do not expect
        copr in the fpu_misc tests anymore.  fpu_misc tests are no longer
        expected to fail.
1994-01-18 04:08:30 +00:00
Jim Kingdon
80edc7cb3c Write ChangeLog entries for Rob changes.
Revert Rob changes which consisted of un-doing (accidentally,
presumably) the changes which have happened since 4.12 branched off.

In lib/gdb.exp remove the comment which went with the "catch" which
Rob removed.
1994-01-18 03:29:53 +00:00
Rob Savoye
002cc99ff6 Apply patches from gdb 4.12 testing. 1994-01-17 23:28:29 +00:00
Rob Savoye
0ab6de2336 Add patches from gdb 4.12 testing. 1994-01-17 23:27:07 +00:00
Jim Kingdon
bff37c5945 * gdb.t16/printcmds.exp (test_print_strings): Accept
"(unsigned char *) " before the string.
1994-01-15 23:00:27 +00:00
Jim Kingdon
2069bd10d5 * TODO: Add notes about printing of fancy types and GDB expressions. 1994-01-15 17:03:41 +00:00
Jim Kingdon
96f1fa1542 * TODO: Add notes about printing of fancy types and GDB expressions. 1994-01-15 16:30:04 +00:00
Jim Kingdon
3dcb86173f * TODO: Add note about printing of fancy types. 1994-01-15 14:58:41 +00:00
Jim Kingdon
44d2505679 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
xfails; I'm not sure why they are failing, but not because of PR 1806.
1994-01-11 20:24:02 +00:00
Rob Savoye
c36a1486c6 * config/unix-gdb.exp: Remove gdb_unload cause it's already
defined in lib/gdb.exp
1994-01-11 05:16:50 +00:00
Rob Savoye
7ae5557239 Tweaked to work with either version of expect. removed gdb_unload proc
cause it's already in lib/gdb.exp.
1994-01-11 05:14:08 +00:00
Rob Savoye
9bcc6c3f67 Tweaked to work with either version of expect. 1994-01-11 05:09:44 +00:00
Jim Kingdon
67d99cad3a Add TODO to things to keep 1994-01-11 04:13:54 +00:00
Peter Schauer
2db87e2212 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
	* gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
	have to be typeless.
1994-01-07 20:47:45 +00:00
Rob Savoye
70dbc7514f Tweaked to work with either version of expect. 1994-01-06 05:43:20 +00:00
Stan Shebs
e1beb23045 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
* configure.in (*-*-lynxos*): Add stabs tests.
1994-01-03 19:39:01 +00:00
Jeff Law
af5ede6e65 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
stores.
        * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
        stores.
        (fpu_short_memory_tests): Likewise.
1993-12-02 05:55:34 +00:00
Peter Schauer
09305cbdfc * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
* gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
	.stabs directives in comments.
1993-11-22 21:26:36 +00:00
Jim Kingdon
d910c7e938 * TODO: New file, describing tests we could write.
* gdb.t09/corefile.exp: Move description of tests to write to TODO.
1993-11-19 20:24:02 +00:00
Jim Kingdon
b0f4ec40fc * TODO: New file, describing tests we could write.
* gdb.t06/corefile.exp: Move description of tests to write to TODO.
1993-11-19 20:22:34 +00:00
Jim Kingdon
1562fc8325 New file, for known lacks in testsuite 1993-11-19 17:20:18 +00:00
Jim Kingdon
dfbaacfa1f * gdb.t06/signals.exp: Add kludge to force re-sync. 1993-11-17 03:59:25 +00:00
Jim Kingdon
641436212f * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
to xgdb instead of gdb, get out of gdb.
1993-11-17 03:11:30 +00:00
Jim Kingdon
92a6c3cc31 Add ChangeLog entry for change by Rob 1993-11-16 16:27:54 +00:00
Jeff Law
20fde16acc * gdb.stabs/hppa.mt: A makefile fragment for the PA.
* gdb.stabs/configure.in (hppa*-*-*): Use it.
	* gdb.stabs/hppa.sed: New sed script for the PA.
1993-11-14 07:20:53 +00:00
Jim Kingdon
dd06d920c8 * gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.
1993-11-14 06:50:42 +00:00
Jim Kingdon
68702ea3dd * gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.
1993-11-14 05:57:47 +00:00
Jim Kingdon
aad143dc5d * gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.
1993-11-14 05:35:22 +00:00
Jim Kingdon
b219511b11 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed. 1993-11-12 21:32:42 +00:00
Jim Kingdon
3971f61b9c * gdb.t20/gdbme.cc: Add comment about pmi being optimized out. 1993-11-08 22:58:34 +00:00
Jim Kingdon
073cca33d1 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
"_vb$".
1993-11-05 06:12:59 +00:00
Jim Kingdon
4a8f7bf11d * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
* gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
1993-11-05 05:36:03 +00:00
Jim Kingdon
eba272f39e * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'. 1993-11-04 16:59:00 +00:00
Jim Kingdon
51763ee245 * lib/gdb.exp: Comment out code which depends on non-existent
`transform' procedure.
1993-11-03 19:57:50 +00:00
Rob Savoye
85174909de * lib/gdb.exp: Transform tool name.
* gdb.t*/*.exp: Change error to perror so it works with DejaGnu
	1.1's new error handling system.
1993-11-03 18:28:22 +00:00
Jim Kingdon
95bfaf1c01 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS. 1993-11-01 20:49:03 +00:00
Stu Grossman
12f4fe6cd6 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule. 1993-10-25 22:28:46 +00:00
Jim Kingdon
3c1423d645 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA. 1993-10-25 22:08:47 +00:00
Jim Kingdon
bb42d443ad * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
It is not from PR 3220.
1993-10-25 18:44:32 +00:00
Jim Kingdon
3373287100 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
just started failing because they depended on the order the
	subcommands are presented, or exact docstring text.  This kind of
	test is a pain and has minimal benefit.
1993-10-25 00:01:16 +00:00
Jim Kingdon
bf96935bbc * gdb.t09/corefile.exp: At end of test, use "core" command with
no arguments.
1993-10-21 13:32:51 +00:00
Stu Grossman
486b3fe18c * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
17}/Makefile.in:  Make it possible to run the testsuite with Sun
	make and CC = cross gcc by adding explicit build rules for .o
	files.
1993-10-20 16:23:17 +00:00
Jim Kingdon
e00def2dd1 * gdb.t15/funcargs.exp: Don't put comments on same line as
setup_xfail (@#$*%& tcl braindamage!).
1993-10-19 21:40:09 +00:00
Jim Kingdon
f9a96aa314 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile. 1993-10-19 02:56:08 +00:00
Jim Kingdon
2a23937211 * gdb.disasm: New directory for GDB disassembler tests. 1993-10-17 02:09:07 +00:00
Jim Kingdon
15598f4229 * gdb.disasm: New directory for GDB disassembler tests. 1993-10-17 02:09:06 +00:00
Jim Kingdon
d699eb2124 * gdb.t06/break.exp: For "next over recursive call", fail on any
incorrect output, not just on "factorial (value=2)".
1993-10-15 18:50:29 +00:00
Jim Kingdon
cfb56ba23e Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
	working now. Add an xfail if accesing a bss variable causes
	a memory error if the target is not yet run.
1993-10-15 17:13:27 +00:00
Jim Kingdon
81d460c775 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
	name of __st* demangling (2 strings).  Did Kung really get the
	more than 95 others right without testing them?
1993-10-15 00:36:26 +00:00
Kung Hsu
ff24cba9b6 Modified Files:
ChangeLog

	* gdb.t24/demangle.exp: clean up XFAILS, more than 100 of them.
1993-10-14 23:33:33 +00:00
Jim Kingdon
8092225e36 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
* configure.in (configdirs): Add gdb.disasm
	* gdb.disasm: New directory for GDB disassembler tests.
	* gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
1993-10-14 21:58:58 +00:00
Jim Kingdon
478826389e Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
* configure.in (configdirs): Add gdb.disasm
	* gdb.disasm: New directory for GDB disassembler tests.
	* gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
1993-10-14 21:03:36 +00:00
Jim Kingdon
a86bd05a66 * gdb.t00/help.exp: Don't test "help set". 1993-10-14 18:53:31 +00:00
Jim Kingdon
8d22f022d2 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
from within expect statements.  None of these happen anymore and
	they cause regressions to be silently unnoticed.

	* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
	messages) about known failures with gcc cygnus-2.4.5-930417.
1993-10-14 18:40:20 +00:00
Jim Kingdon
74aa67d3d3 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
from within expect statements.  None of these happen anymore and
	they cause regressions to be silently unnoticed.

	* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
	messages) about known failures with gcc cygnus-2.4.5-930417.

	* gdb.t22/virtfunc.exp: Add notes (in comment and failure message)
	about problem with gcc cygnus-2.4.5-930828.
1993-10-14 18:20:52 +00:00
Jim Kingdon
486e58a5d1 * gdb.t20/inherit.exp: Remove all xfails from within expect statements.
None of these happen anymore and they cause regressions to be silently
	unnoticed.

	* gdb.t20/inherit.exp: Add note (in failure message) about known
	failure with gcc cygnus-2.4.5-930417.
1993-10-14 17:50:24 +00:00
Jim Kingdon
f164292134 * gdb.t20/inherit.exp: Add note (in failure message) about known
failure with gcc cygnus-2.4.5-930417.

	* gdb.t22/virtfunc.exp: Add notes (in comments and failure message)
	about problem with gcc cygnus-2.4.5-930828.
1993-10-14 17:29:01 +00:00
Jim Kingdon
89c394ece7 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
comp-info.exp so it gets built if it doesn't exist.

	* gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
	it is no longer used.
	* gdb.t13/comp-info.c: Removed.
1993-10-14 16:47:34 +00:00
Jim Kingdon
9536b32ca2 * gdb.t06/signals.exp: Add xfail for sun3. 1993-10-14 06:03:23 +00:00
Jim Kingdon
ce5d02049b * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
relevant because ^C doesn't get sent but failure can be reproduced
	interactively).
1993-10-07 17:04:40 +00:00
Peter Schauer
a72e983365 * gdb.stabs/alpha.mt: New configuration file for alpha.
* gdb.stabs/configure.in:  Use it.
	* gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
	sharing with alpha.mt, redefine long to word via preprocessor.
	* gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
	for alpha.
	* gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
	native cc.
	* gdb.t00/teststrategy.exp:  Change expect string so that we
	consume the `(xgdb)' from the command echo and from the gdb prompt.
	* gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
	gdb currently compares all values as long, so this failure probably
	applies to any configuration where LONGEST is bigger than a target int.
	* gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
	with gcc.
	* gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
	to handle opaque pointers, gcc is.
	* gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
	as first argument. Include <sys/types.h> and change all operator
	new definitions to use size_t.
	* gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
	now that we use size_t.
1993-10-05 19:32:46 +00:00
Jim Kingdon
748699873d * gdb.t24 (demangle.exp): Constructors of templates have names like
vector<int>::vector(int) not vector<int>::vector<int>(int).  See
	section 14.6 of the ARM.

	* gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
	"_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
	accomplish little and slow down the testsuite.

	* gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
	Accept spaces various places.
1993-09-29 00:10:26 +00:00
Jim Kingdon
83eba394ec * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
Accept spaces various places.
1993-09-28 22:39:06 +00:00
Jim Kingdon
a0f3541f40 * Makefile.in: Remove definition of CC and remove the second
definition of CXX (the "CXX = gcc" one remains).  These definitions
	were causing backquotes to be expanded within backquotes, which
	doesn't work.
1993-09-21 22:32:04 +00:00
Rob Savoye
2a1bb52757 Use ftp device rather than "load" command. 1993-09-20 23:01:45 +00:00
Jim Kingdon
fa79d853b8 * gdb.t17/callfuncs.exp: Add "return 0" to end. 1993-09-18 18:06:11 +00:00
Peter Schauer
26a08d1529 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
* gdb.stabs/weird.exp:  Handle the case where weird.o is compiled
	by mips cc and contains no stabs entries.
1993-09-17 11:51:28 +00:00
Rob Savoye
de8c35cfdb * config/vx-gdb.exp: Use fake device to load files rather than
NFS.
	* lib/gdb.exp: New proc to do "file" command.
	* config/unix-gdb.exp: Use new "file" proc.
1993-09-16 23:27:10 +00:00
Rob Savoye
954f33cfc0 Use new proc for "file" command to load symbol tables. 1993-09-16 23:21:56 +00:00
Ian Lance Taylor
48d10a2545 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
Rework board rebooting slightly.
	(gdb_exit): Don't exit from the remote shell; there isn't one.
	* gdb.stabs/weird.exp: If a program is being debugged already,
	kill it.
	* gdb.t04/setvar.exp: Stop and restart gdb.
	* gdb.t05/expr.exp: Likewise.
	* gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
	restart gdb and reload the program.
	* gdb.t08/opaque.exp: Likewise.
	* gdb.t12/scope.exp: Likewise.
	* gdb.t13/bitfields.exp: Likewise.
	* gdb.t15/funcargs.exp: Likewise.
	* gdb.t20/classes.exp: Likewise.
	* gdb.t03/ptype.exp: Increase timeout.
	* gdb.t16/printcmds.exp (test_print_string_constants,
	test_print_array_constants): Likewise.
	* gdb.t17/callfuncs.exp (do_function_calls): Likewise.
	* gdb.t20/classes.exp (do_tests): Likewise.
	* gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
1993-09-16 17:57:19 +00:00
Ian Lance Taylor
8cced93dd7 Change wierd to weird 1993-09-15 22:17:29 +00:00
Jim Kingdon
f424845a95 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
for timeout.  Add "known gcc 2.4.5 bug" to failure message.
1993-09-15 17:39:33 +00:00
Jim Kingdon
06f63f95db * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
(do_tests): Remove xfail for whatis on one_var and two_var.
1993-09-15 00:47:45 +00:00
Rob Savoye
3f677d9e6e Added gdb_exit to call default_gdb_exit. 1993-09-10 17:35:11 +00:00
Rob Savoye
4adf693011 Made cross testing work better. 1993-09-09 05:12:46 +00:00
Jim Kingdon
b7da78d561 * gdb.t15/{return.c,return.exp,Makefile.in}:
New test, currently commented out.
1993-09-07 19:21:12 +00:00
Rob Savoye
e4d30c7e6a Load the udi library procedures. 1993-09-02 01:12:20 +00:00
Rob Savoye
2fd77dab11 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
still running and removes the leftover named socket so GDb can do
	clean restarts.
1993-08-31 22:53:40 +00:00
Rob Savoye
41a85720e0 Just a little cleanup. Made gdb_exit "kill" any isstip's still running
and blow away the socket. GDB now restarts beautifully.
1993-08-31 22:50:11 +00:00
Rob Savoye
f6c8cae6b9 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
console, not GDB.
	* config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
	cross testing works better with "make check"
	* config/unix-gdb: Use default procedures for exit and version.
	* config/vx-gdb.exp: Cleaned up and massaged back to working order
	with the newest VxWorks.
1993-08-31 00:01:56 +00:00
Rob Savoye
1c65406fef Use default version procedure. 1993-08-30 23:28:57 +00:00
Rob Savoye
5019a2755a Add default gdb version so it can be shared. 1993-08-30 23:12:28 +00:00
Rob Savoye
c79f61db34 Make gdb_exit into default_gdb_exit so it can be shared. 1993-08-30 23:08:02 +00:00
Rob Savoye
006f1ea2a4 Use default_gdb_exit now. 1993-08-30 23:06:57 +00:00
Rob Savoye
fd69a916ab Works again. 1993-08-30 23:06:03 +00:00
Rob Savoye
7e7cb02f81 Add values for RUNTEST and RUNTESTFLAGS so cross testing works better. 1993-08-30 22:26:03 +00:00
Rob Savoye
d4d56ed1ac Correctly a spelling mistake. 1993-08-30 04:53:24 +00:00
Jim Kingdon
298e922229 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
old form.

	* gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
	name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
1993-08-27 03:03:54 +00:00
Jim Kingdon
08843cd892 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it). 1993-08-27 02:26:25 +00:00
Jim Kingdon
4c206d219c * config/unix-gdb.exp: Remove this version of gdb_exit
* lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
	Rob says he'll look at it when he gets back to testing boards.
1993-08-26 23:04:07 +00:00
Fred Fish
aed2390065 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
an expected fail for certain ptype commands.
1993-08-26 18:35:26 +00:00
Fred Fish
653ae28f8a * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
"alldone" proc with call to cleanup and exit.
	* {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
	gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
	gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
	gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
	gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
	"alldone" proc with simple returns that suppress remaining
	tests.  The alldone proc went away many months ago.
1993-08-26 00:36:15 +00:00
Jim Kingdon
c69b7db738 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests. 1993-08-24 16:46:53 +00:00
Jim Kingdon
84853a53ac * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O. 1993-08-24 16:26:06 +00:00
Peter Schauer
5e95818815 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
as vax gdb will display them.
1993-08-20 05:13:13 +00:00
Jim Kingdon
6492681377 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
optimizers.
1993-08-20 01:10:51 +00:00
Jim Kingdon
7161494de7 * scope.exp: Change "bad value for localval" messages so each one
is unique.
1993-08-20 00:42:19 +00:00
Jim Kingdon
62db94cb84 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
lib/gdb.exp (gdb_exit) from ChangeLog to comments.
1993-08-19 23:57:21 +00:00
Jim Kingdon
0e8e97217f * gdb.t06/signals.exp: Skip the whole file with xfail for delta68. 1993-08-19 23:22:12 +00:00
Jim Kingdon
b606bd8df4 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
doesn't exist (due to optimization).
1993-08-17 05:07:15 +00:00
Jim Kingdon
c31a3b2a3b * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
contains \r because the filename is long.
1993-08-17 04:21:55 +00:00
Jim Kingdon
0e0b4e647c * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
'continue'" bug, and change xfail back to i*86-univel-sysv4*.
1993-08-17 02:11:23 +00:00
Peter Schauer
adce222501 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
	Ultrix.
	* gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
	int tests.
	* gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
1993-08-16 10:06:20 +00:00
Fred Fish
9e191927ab * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
to match does not match the passing case but still matches the
	failing case.
1993-08-12 22:27:40 +00:00
Jim Kingdon
285ae57afb * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*. 1993-08-12 22:05:06 +00:00
John Gilmore
7a7d682b98 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
to here.
* config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
Remove various versions of gdb_exit.
* config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
gdb_exit.
* config/unix-gdb.exp:  gdb_exit remains here, and should override
the generic version, since it's doing a lot of wierd stuff that
the other versions aren't.  FIXME, fold it in, or abandon this
version.
1993-08-12 02:51:51 +00:00
Jim Kingdon
48c95e5b9f * gdb.t24/demangle.exp: Add tests for PR 3220. 1993-08-11 19:59:27 +00:00
Fred Fish
e024d80c74 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
"i386-*-*".  Works for i486 as well.
1993-08-11 00:48:54 +00:00
Fred Fish
5ad3ae4ad9 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
bug, and expand domain of xfail to all SVR4 systems, since the
	actual problem is likely to be in generic SVR4 /proc support.
1993-08-10 22:49:01 +00:00
Jim Kingdon
283bd6dbf2 * config/unix-gdb.exp (gdb_load): Add eof to expect statement. 1993-08-10 21:09:41 +00:00
Jim Kingdon
ae039ff3ca * config/unix-gdb.exp (gdb_load): Add eof to expect statement. 1993-08-10 20:56:52 +00:00
Fred Fish
869cfa9fd5 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
xfails for other systems.  Match a missing 'Continuing.' as an
	explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
1993-08-10 18:42:20 +00:00
Fred Fish
adf18b2460 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
	Only issue warning for missing executables if -all option is used.
1993-08-10 17:31:45 +00:00
Fred Fish
c0398b8bd4 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
file if -all option is used.  It's like an unpredictable XFAIL.
1993-08-10 16:58:44 +00:00
Jim Kingdon
3241e35dd9 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
for dynamically linked binaries.
1993-08-09 19:52:37 +00:00
Jim Kingdon
0685d95ff4 * gdbcore.h: New variable gnutarget.
* core.c: Add commands to set and show it.
	* Callers to bfd_*open*: Pass gnutarget instead of NULL as target.
	* environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not
	putenv.

	* symtab.c (decode_line_1): Give error on unmatched single quote.
1993-08-09 16:53:32 +00:00
Jim Kingdon
205c1ddc32 * gdb.t20/inherit.exp: Change message for "print tagless struct"
to state that this is a known bug in old versions of g++.
1993-08-08 19:27:10 +00:00
Jim Kingdon
6117e42f9a * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
while waiting for `Continuing'.
1993-08-08 16:16:35 +00:00
Fred Fish
d8ab5dbf82 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
in text, data, and bss.
	* gdb.t10/nodebug.c:  Add local and global test variables for
	initialized and uninitialized data.
1993-08-07 14:47:55 +00:00
Jim Kingdon
f4dfe788b8 * config/unix-gdb.exp (gdb_exit): Add "wait". 1993-08-05 17:21:51 +00:00
Fred Fish
a469d3b63b * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
compilers don't grok it.
	* gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
	with small octal ints rather than character constants, which
	are signed and might not fit if first promoted to int.
1993-08-05 01:36:43 +00:00
Fred Fish
ad6feb0847 * gdb.t09/Makefile.in (clean): Remove corefile. 1993-08-04 01:29:26 +00:00
Fred Fish
b5ed6e32c2 Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
1993-08-02 23:29:32 +00:00
Jim Kingdon
a92499baaf * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
	the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
1993-08-02 17:38:08 +00:00
Jim Kingdon
c4978d689e * gdb.t17/interrupt.exp: Add xfail for hppa. 1993-07-31 00:56:26 +00:00
Peter Schauer
a4fbb03e2d Fix typo in previous ChangeLog entry. 1993-07-30 20:12:28 +00:00
Peter Schauer
69aa789bb2 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
	* gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
	to determine signed-ness of bitfields and use the result to setup
	the xfail.
	* gdb.t13/gdbme.c:  Add comment to the two indirect call0a lines.
	* gdb.t13/funcargs.exp:  Use it to step until the second indirect call
	line is reached if necessary.
1993-07-30 20:04:34 +00:00
Fred Fish
775d4a4096 Add .Sanitize to Things-to-lose list. 1993-07-30 16:46:19 +00:00
Jim Kingdon
84123aa604 * gdb.stabs/wierd.exp: New test, for nameless baseclasses. 1993-07-30 01:37:49 +00:00
Jim Kingdon
002c6d1777 * gdb.t00/teststrategy.exp: Remove extra quote. 1993-07-22 04:24:28 +00:00
Jim Kingdon
6665d54ceb * gdb.t07/watchpoint.exp: Change xfail for calling function with
watchpoint enabled to "*-*-*".
1993-07-22 01:55:26 +00:00
Jim Kingdon
cb6afa30e7 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test. 1993-07-22 01:28:38 +00:00
Peter Schauer
9d77e877fe * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
targets use aout.mt instead of ecoff.mt as gas understands
	standard aout format.
1993-07-20 07:04:26 +00:00
Jim Kingdon
62d4a6865e * lib/gdb.exp (runto): Don't insist that function we are running to
was compiled with -g.

	* gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
1993-07-20 02:57:39 +00:00
Jim Kingdon
675d65db00 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
to get back into the read system call.
	Accept leading newline in case where we woke it up.
1993-07-20 01:15:20 +00:00
Peter Schauer
76b098d175 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
to make the stabs test work on ecoff systems using gcc and -with-stabs.
	* gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}:  Modify to
	enable ecoff configuration.
1993-07-18 15:47:51 +00:00
Jim Kingdon
0568df2acf * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test. 1993-07-15 17:10:43 +00:00
Jim Kingdon
e91ceb3c59 * printcmds.exp: Add another printf test. 1993-07-14 22:54:22 +00:00
Ian Lance Taylor
6dc31f06c3 * configure.in: If configured -with-stabs on any target, add
stabsdirs to configdirs.
1993-07-14 22:38:37 +00:00
Jim Kingdon
5af4f5f6f1 Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* stabsread.c (define_symbol): Make the caddr_t hack apply to `function
	returning foo' as well as `pointer to foo'.

	* remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
	* config/m68k/tm-m68k.h: Define it.
	* mem-break.c, breakpoint.c: Improve comments.

Tue Jul 13 13:35:31 1993  Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)

	* config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
	* config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
1993-07-14 15:12:05 +00:00
Jim Kingdon
4988d8c722 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames. 1993-07-12 16:30:21 +00:00
Jim Kingdon
a688a1866c * gdb.t17/interrupt.exp: Test for more things. 1993-07-11 17:05:33 +00:00
Jim Kingdon
81074ec8d1 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
compiler arranges the code and line numbers.
1993-07-09 19:24:00 +00:00
Jim Kingdon
2a62a4cb1b * gdb.t17/interrupt.exp: Don't send \n after ^C. 1993-07-09 19:14:43 +00:00
Peter Schauer
3ae135ab3b * gdb.t00/help.exp: Increase expect input buffer size. 1993-07-09 16:54:31 +00:00
Jim Kingdon
075aa449df * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
* gdb.t07/watchpoint.exp: Add xfail for hppa.
1993-07-09 03:55:06 +00:00
Jim Kingdon
1af6f16c65 * gdb.t07/watchpoint.exp: Add xfail for hppa. 1993-07-08 23:08:05 +00:00
Jim Kingdon
270532f9a4 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug. 1993-07-08 19:58:22 +00:00
Jim Kingdon
be7f754982 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
[0-9]*, not just [0-9].
1993-07-08 19:29:53 +00:00
Jim Kingdon
9ae07ce5d0 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972. 1993-07-07 23:26:44 +00:00
Jim Kingdon
f2dee08e88 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use. 1993-07-07 22:55:16 +00:00
Jim Kingdon
afde243fa5 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*. 1993-07-06 19:04:59 +00:00
Jim Kingdon
46d284c9fc * gdb.t06/signals.c: Add xfails for sun3. 1993-07-06 05:23:10 +00:00
Jim Kingdon
306ee233ba * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836. 1993-07-06 04:05:49 +00:00
Jim Kingdon
762665e153 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
test_stepping tests.
1993-07-06 03:50:00 +00:00
Jim Kingdon
b2618fd85a * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug. 1993-07-02 21:56:27 +00:00
Jim Kingdon
56f413cd8f * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
rather than actually putting it through cpp twice.
1993-07-02 18:26:55 +00:00
Jim Kingdon
79f3218c2a * gdb.t06/signals.exp: Add xfails unixware and rs6000. 1993-07-02 18:11:23 +00:00
Ian Lance Taylor
eae166985b * config/mips-gdb.exp (gdb_exit): Removed close statement which is
no longer needed.
1993-07-02 17:49:32 +00:00
Jim Kingdon
b4ace9d36f * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn. 1993-07-02 17:00:33 +00:00
Jim Kingdon
38e1dd5415 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
C++ features prints as "struct", make it a pass, not an xfail.
1993-07-02 14:13:09 +00:00
Jim Kingdon
b55cc8a268 * gdb.t06/twice.exp: Don't care about the file name GDB prints. 1993-07-02 01:37:50 +00:00
Jim Kingdon
e02c07a5ef * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end. 1993-06-30 23:05:47 +00:00
Jim Kingdon
366f286982 * gdb.t16/printcmds.exp: Add printf tests. 1993-06-29 17:51:19 +00:00
Jim Kingdon
38c41e9209 * gdb.t06/{twice.{c,exp},Makefile.in}: New test. 1993-06-29 17:13:28 +00:00
Jim Kingdon
b4e899792d * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too. 1993-06-29 14:24:36 +00:00
Jim Kingdon
44443a9b09 * gdb.stabs/wierd.exp: Add xfail for rs6000. 1993-06-28 15:15:23 +00:00
Jim Kingdon
f492b6c11b * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
{BEGIN,END}_COMMON for common block instead of STAB.
1993-06-28 15:03:27 +00:00
Jim Kingdon
884e8cd43e * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
intp_var should be N_GSYM not N_LSYM.
	wierd-aout.S: Use a label for the value of the N_SO.
	wierd.def: Remove all backslashes.
	wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
1993-06-28 14:34:46 +00:00
Peter Schauer
9325d5afa3 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
get the expected next to inheritance3.
1993-06-28 14:23:11 +00:00
Rob Savoye
6214895281 Works again. 1993-06-28 01:43:34 +00:00
Peter Schauer
d2b860e3a7 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
now that gcc-2.4 gets it right.
1993-06-27 19:31:36 +00:00
Jim Kingdon
2de1aa1cc9 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test. 1993-06-26 03:30:24 +00:00
Jim Kingdon
f788cf78fd * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
generating comp-info.exp which works for cross-compilation.
1993-06-25 17:16:44 +00:00
Fred Fish
6ba7b81886 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
"*-*-sysv4.*".
1993-06-24 23:56:35 +00:00
Rob Savoye
453592cae0 Add RUNTEST so make can use the right one. 1993-06-24 23:19:51 +00:00
Fred Fish
cfb702c1e0 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
	gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
	Makefile.in (distclean, realclean):  Remove gdbme.c from list of
	things to remove.
1993-06-21 22:27:19 +00:00
Fred Fish
c1aa3a2fbb Add all the mt-* files as things to keep. 1993-06-21 16:39:46 +00:00
Fred Fish
3d26a081b1 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
test cases from bug reports.
1993-06-19 14:53:17 +00:00
Fred Fish
5c0e7bd6ef * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
* gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
	  avoid spurious xfails.
	* gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
	* gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
	* gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
1993-06-18 17:43:51 +00:00
Fred Fish
212f6219c8 * gdb.t00/teststrategy.exp: Rework to provide more useful
description of each test, fix problem with systems that define
	ALIGN_STACK_ON_STARTUP code, other misc cleanups.
	* gdb.t06/break.exp (test_next_with_recursion):  Fix expected
	results for "next over recursive call" so timeouts aren't taken
	by error.
1993-06-16 17:17:55 +00:00
Jim Kingdon
c76f7bb7c1 * gdb.t12/scope.exp: Test printing of variables before run. 1993-06-14 16:43:24 +00:00
Jim Kingdon
69dbdc0535 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
printed in wrong order due to sorting.
1993-06-14 16:17:30 +00:00
Fred Fish
b025842760 Add .Sanitize file. 1993-06-13 18:08:35 +00:00
Fred Fish
80af2bd319 * gdb.t00/teststrategy.exp: Fix expected results for printing
user entered string constant.  Is array of char, prints with no
	address.
1993-06-12 23:13:48 +00:00
Fred Fish
dd9d4fa31c * gdb.t00/{default.exp, help.exp}: Account for changes to radix
commands.
	* gdb.t16/gdbme.c:  Add and use struct containing arrays of char.
	* gdb.t16/printcmds.exp:  Fix all lines that match "unsigned char *".
	* gdb.t16/printcmds.exp (test_print_char_arrays):  Test printing
	of struct of char arrays.
	* gdb.t00/radix.exp:  New tests for radix commands.
1993-06-12 22:09:59 +00:00
Jim Kingdon
49b12db0ce x 1993-06-11 20:31:37 +00:00
Jim Kingdon
fcb6cf5818 x 1993-06-11 03:11:32 +00:00
Jim Kingdon
729258a3a0 * gdb.t16/printcmd.exp: Don't print variables before running program.
* gdb.t06/break.exp: Don't require envp argument to main.

	* gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.

	* gdb.t02/whatis.exp, gdb.t11/list.exp:
	Add xfails for rs6000.

	* gdb.t02/whatis.exp: Re-write other tests
	not to re-test something we already tested.

	* gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
	each type used has a variable of that type.
1993-06-10 22:43:53 +00:00
Ian Lance Taylor
344ea7e937 * configure.in (mips-idt-ecoff*): Added trailing '*'. 1993-06-04 19:48:13 +00:00
David D. Zuhn
3ffdec446c fix srctrigger to point to a file, not a directory 1993-06-04 18:09:23 +00:00
Ian Lance Taylor
b3523cb3ba * gdb.t11/list.exp: Fixed a couple of typos. 1993-06-04 15:24:33 +00:00
Rob Savoye
7724524325 Add m68k-coff to ld so it'll work right. 1993-06-03 05:06:09 +00:00
Rob Savoye
01c0ed641e Removed board dependant stuff. 1993-06-03 04:53:46 +00:00
Rob Savoye
84aa54e2b4 Add these from DejaGnu so the testsuites compile for targets again. 1993-06-03 00:57:17 +00:00
Fred Fish
46fc723ce3 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
is fixed and PR is closed.
	* gdb.t16 (gdbme.c):  Add simple test string variable.
	* gdb.t16 (printcmds.exp):  Add tests with simple test string
	variable, primarily for boundaries on "set print elements".
1993-06-02 04:35:13 +00:00
Rob Savoye
e535e37532 Add info and install-info targets. 1993-06-01 01:42:24 +00:00
Jim Kingdon
6a51601ee9 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
Make leading 0's optional and don't expect a tab in the middle
	of the number.
1993-05-31 21:08:21 +00:00
Jim Kingdon
05b4279b30 CVS:foo
* gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.

	* gdb.stabs/wierd.def: Type attributes must be preceded by number=.
	* gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
	don't end command passed to gdb_test with newline.
1993-05-31 20:13:49 +00:00
Jim Kingdon
bfcba962cb * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
* gdb.stabs/wierd.def: Type attributes must be preceded by number=.
	* gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
	don't end command passed to gdb_test with newline.
1993-05-31 20:13:31 +00:00
Jim Kingdon
942a6600ea * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
signed keyword away, don't expect signed bitfields to be signed.

	* gdb.t13/bitfields.exp (bitfield containment): Accept the fields
	printing with only as many 1's as are in the field as well as printing
	with 32 1's (see comment).
1993-05-31 19:10:29 +00:00
Fred Fish
5e7861832d Add gdb.stabs to keep and gdb.all to remove. 1993-05-31 06:04:29 +00:00
Fred Fish
d64b05a921 Add config.rel.in and makefile.rel.in 1993-05-31 06:04:00 +00:00
Fred Fish
88db2febc8 * gdb.t00/default.exp: Start with a fresh gdb. 1993-05-30 01:33:31 +00:00
Fred Fish
dd294fc006 * configure.in (configdirs): Remove gdb.t31 until the chill
compiler works again.  It no longer is able to find chillrt0
	since it isn't in libchill.a anymore.
1993-05-30 01:14:47 +00:00
Fred Fish
150ab4401d * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
wierd.o, make more modular.
1993-05-30 01:09:32 +00:00
Fred Fish
35c254be70 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
spurious newlines that caused problems.
1993-05-30 00:58:55 +00:00
Rob Savoye
47a488df26 Add a blank install target so the top level makefile won't die. 1993-05-28 04:31:51 +00:00
K. Richard Pixley
87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
Jim Kingdon
5bd22ca87b * Move test with enums and partial symbols from gdb.t03/ptype.exp
to gdb.stabs/wierd.exp since GCC has worked around the bug.
1993-05-26 20:06:59 +00:00
Jim Kingdon
12a0960387 * Move test with enums and partial symbols from gdb.t02/ptype.exp
to gdb.stabs/wierd.exp since GCC has worked around the bug.
	gdb.stabs/wierd.{exp,def}: Many new tests.
1993-05-26 20:04:50 +00:00
Jim Kingdon
18ef91468f * gdb.t00/default.exp: update info line for new message.
* gdb.t02/{whatis.exp,gdbme.c}:
	Test that "char *" doesn't print as "caddr_t".
1993-05-26 17:06:40 +00:00
Rob Savoye
b64d5e491a configure.in template that supports *only* make check. (for releases) 1993-05-26 01:55:00 +00:00
Rob Savoye
2a775d5158 Makefile fragment that supports *only* make check. (for releases) 1993-05-26 01:44:49 +00:00
Jim Kingdon
29b34f10a9 * gdb.t00/help.exp: Use .* in place of some help messages which
just changed.
	gdb.t00/default.exp: Update "info frame" test for new message.
	* gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
	Remove some xfails
1993-05-25 19:57:38 +00:00
Jim Kingdon
2d10304ee6 x 1993-05-25 19:35:02 +00:00
Jim Kingdon
16b00357e8 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
Remove some xfails
1993-05-25 19:32:19 +00:00
Jim Kingdon
c6d700126c * gdb.t03/{gdbme.c,ptype.exp}:
Add tests for typedef'd struct and union without tags.
1993-05-24 15:34:49 +00:00
Jim Kingdon
f43c2f0581 x 1993-05-24 06:37:08 +00:00
Jim Kingdon
e726f3b519 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
PRMS 1823; the bug still exists but isn't reproduced by this test
	anymore), and remove rs6000 XFAIL (the bug is fixed).

	* gdb.t03/ptype.exp: Comment out a lot of tests which are basically
	duplicated from whatis.exp.  For those that are left, accept
	"long", "long int", or "int" for long variables (whatis.exp already
	has an XFAIL for "int", so no need to fail it here).

	* gdb.t02/whatis.exp, gdb.t10/crossload.exp:
	Deal with GCC's names for types now that GDB uses the compiler's names.

	* gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
	setup_xfail's for sunos4.  If we #defined the signed keyword away,
	don't expect GDB to know that char it is signed.

	* gdb.t00/teststrategy.exp: Update for symbolic signal names.
1993-05-24 06:29:48 +00:00
Rob Savoye
a1092b5df4 Fix bug in how GDB gets set that chokes runtest *only* using /bin/sh. 1993-05-23 22:21:17 +00:00
Fred Fish
0b3c22dfbb * configure.in (configdirs): Add gdb.t24 for C++ tests that
should work on any system, regardless of debugging format.
	* gdb.t21/demangle.exp:  Move to gdb.t24.
	* gdb.t24/demangle.exp:  Move from gdb.t21.
	* gdb.t24/{Makefile.in, configure.in}:  New files.
1993-05-23 15:49:17 +00:00
Jim Kingdon
b1285bd9eb Further revisions (for xcoff mostly) to test case logged in ChangeLog yesterday 1993-05-21 16:40:05 +00:00
Jim Kingdon
e18faa8ab9 * configure.in: Do gdb.stabs and C++ tests only for stabs. 1993-05-21 01:32:23 +00:00
Jim Kingdon
1458f956e9 New directory 1993-05-21 01:31:26 +00:00
Jim Kingdon
8ce07a211b * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
not just "Quit anyway?".
1993-05-19 03:29:10 +00:00
Fred Fish
27daf1a914 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
that all setup_xfails are immediately followed by clear_xfails.
1993-05-19 00:13:56 +00:00
Fred Fish
415e62080d * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
	gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
	gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
	gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
	gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
	gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
	gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
	gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
	gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
	gdb.t31/chillvars.exp, lib/gdb.exp:
	Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
	bug-gdb@prep.ai.mit.edu.
1993-05-11 16:15:41 +00:00
Fred Fish
95addf559c Remove dangling 'fi'. 1993-05-07 18:37:37 +00:00
Fred Fish
fb40210a5f * Makefile.in (GDBFLAGS): Set to -nx.
* Makefile.in (site.exp):  Use GDBFLAGS.
1993-04-30 16:45:40 +00:00
K. Richard Pixley
ab8603eae5 add just-check target so that tests can be run without a noop build
pass.
1993-04-28 23:18:10 +00:00
K. Richard Pixley
c1fb4e4913 Add CFALGS = -g to all subdir Makefile.in's. 1993-04-28 20:32:09 +00:00
K. Richard Pixley
b6423cec40 switch from configuration from subdirs to configdirs 1993-04-24 01:16:18 +00:00
Ian Lance Taylor
5959dcea09 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
works.
1993-04-22 15:33:31 +00:00
Rob Savoye
d27960e794 Fixed typos so paths for executables works again. 1993-04-21 04:18:11 +00:00
Fred Fish
fbc3492c31 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
in explicit rules.  Apparently this is not supported by some makes.
1993-04-20 20:41:42 +00:00
John Gilmore
512e5f9469 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh. 1993-04-19 08:56:05 +00:00
Rob Savoye
cc49ffa06b Back to creating a local config fil to be safe. Pass --target for "make
check"
1993-04-19 05:04:41 +00:00
Rob Savoye
faea916b2f Minor indenting changes. 1993-04-19 05:03:42 +00:00
Fred Fish
5aefc1ca23 Remove chill sanitizations, which are no longer necessary. 1993-04-16 23:22:41 +00:00
Peter Schauer
987b4233ae * config/unix-gdb.exp: Add back missing return 0 which mysteriously
disappeared.
1993-04-16 16:39:49 +00:00
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
Rob Savoye
32a02b2a49 Make sure $GDB contains a real program. 1993-04-12 22:15:10 +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
Rob Savoye
7996cbedc8 Doesn't need links anymore. 1993-03-25 05:07:24 +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
Fred Fish
56ce514e42 Remove mt-unix sanitization, there is no mt-unix here. 1993-03-23 04:34:52 +00:00
Fred Fish
541a052b02 Update for current files. 1993-03-23 04:23:57 +00:00
Rob Savoye
1ee369e85c Solve all config problems, make a local site.exp file. 1993-03-22 05:51:13 +00:00
Rob Savoye
a309ee82f3 Fixed a bunch of missing return codes, misc bugs. 1993-03-22 04:30:50 +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
Rob Savoye
b73dd4a208 Make check target depend on all target. 1993-03-17 09:49:40 +00:00
Rob Savoye
29aa49d4ab Now has :make check" target. 1993-03-17 09:05:58 +00:00
Rob Savoye
521cce5909 Catch error on close so runtest won't bomb. 1993-03-17 02:04:20 +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
Rob Savoye
05a291bb1f Doesn't exit after internal errors. 1993-03-07 23:11:56 +00:00
Ian Lance Taylor
31ca3f4ce5 * configure.in (mips-idt-ecoff): New target.
* config/mips-gdb.exp: New file for remote board using MIPS remote
	debugging protocol.
1993-02-25 19:15:32 +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