Commit graph

551 commits

Author SHA1 Message Date
Per Bothner
faa157708b * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures. 1994-06-02 23:02:00 +00:00
Rob Savoye
16451f9b70 Unneeded. 1994-06-01 20:40:53 +00:00
Rob Savoye
9346963065 Renamed. 1994-06-01 20:30:19 +00:00
Per Bothner
0b9158e6fa * Makefile.in: Fix bit-rot in definitions of CHILL,
CHILL_FOR_TARGET and Chill_LIB.
1994-05-30 05:34:32 +00:00
Per Bothner
06f98d4908 * Makefile.in (TARGET_FLAGS_TO_PASS): Fix syntax of
sanitize-chill comments.
1994-05-26 00:12:21 +00:00
Bill Cox
90fba5fa0f * Revert the previous changes. Please see Rob's directory
/lisa/test/rob/progressive/gdb/testsuite for these fixes.
1994-05-21 17:24:22 +00:00
Bill Cox
2f10998399 * Makefile.in, configure.in, config/mips-gdb.exp,
config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
          config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
          config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
	  gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
	  gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
	  gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
	  gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
	  gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
	  gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
	  gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
	  gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
	  gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
	  gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
	  gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
	  gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
	  changes from 94Q1.
1994-05-19 19:58:04 +00:00
Bill Cox
d7096b9269 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
config/mt-slite, config/mt-unix, config/mt-vxworks: Add
	  Rob's new testing fragments.
1994-05-19 00:06:29 +00:00
Bill Cox
8f07e53768 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
lib/gdb.exp: Replace error proc calls with perror.
1994-05-17 22:06:15 +00:00
Stan Shebs
b17fd29d90 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
* gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
	version also, match on casted version strings, and match on
	gdb startup case where the line numbers might be messed up.
1994-05-17 02:10:17 +00:00
Bill Cox
0c575f2d8b * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
(CFLAGS): Delete it from here.
1994-05-14 01:09:17 +00:00
Bill Cox
edfb9ffd1f * config/makefile.rel.in: : Add comment lines
to Sanitize out CHILL references unless keep-chill
          was specified.
1994-05-12 21:16:41 +00:00
Bill Cox
4d2ad0a87b * .Sanitize: Drop the gdb.t30 and gdb.t31 directories
unless keep-chill was specified on the command line.
	* Makefile.in: Add comment lines to Sanitize out CHILL
	  references unless keep-chill was specified.
1994-05-12 21:08:47 +00:00
Stan Shebs
526637b56c Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
* Makefile.in (RUNTEST): Default to just "runtest".
1994-04-29 21:41:14 +00:00
Bill Cox
ea68d58d4e Back-migrate minor changes in these files from 94Q1 progressive into devo:
dejagnu/ChangeLog, dejagnu/Makefile.in,
	dejagnu/example/calc/Makefile.in, dejagnu/lib/remote.exp,
	dejagnu/testsuite/Makefile.in,
	dejagnu/testsuite/runtest.all/options.exp,
	gcc/testsuite/config/unix.exp, gdb/testsuite/Makefile.in,
	ld/ChangeLog, newlib/testsuite/ChangeLog, texinfo/testsuite/ChangeLog
1994-04-28 21:49:40 +00:00
Jeff Law
9b63f09c7d * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
* gdb.t17/gdbme.c (t_func_values): Add comments about how and why
        the code has been restructured.
1994-04-27 05:24:08 +00:00
Jim Kingdon
739324d734 * gdb.t00/default.exp (set write): Allow any number of \r and/or
\n, not just one of each.

	* gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
	/bin/cc gives a warning if you do.
1994-04-21 20:08:42 +00:00
Kung Hsu
0cb7d54f3c Modified Files:
ChangeLog

        * gdb.t24/demangle.exp: change expect pattern of
        __t10ListS_link1ZUiRCUiPT0
1994-04-21 18:56:39 +00:00
Jeff Law
fa75e476f4 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
on local variables in recursive functions.

	* gdb.t07/Makefile.in: Build the new test.
1994-04-13 22:06:01 +00:00
Jeff Law
194e992858 Fix typo. 1994-04-13 03:47:33 +00:00
Jeff Law
b3e258b480 * gdb.t15/gdbme.c (t_func_values): Do not compare function pointers
directly.  Instead compare the return values from actual calls.
1994-04-13 03:46:42 +00:00
Bill Cox
099c286e74 * Makefile.in (check): Set TCL_LIBRARY for runtest. 1994-04-11 23:17:18 +00:00
Jeff Law
bff0719996 * From Peter Schauer with minor modifications.
* gdb.t15/return.exp (return_tests): Handle targets where "return"
        stops in mid-line in the caller.  Add xfail for returning a float
        value on X86 targets.
1994-04-11 16:16:20 +00:00
Jeff Law
67808d3e6f * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
to avoid expect lossage.
        (fmem_LRbug_tests): Likewise.
        * gdb.disasm/hppa.s: Corresponding changes.
1994-04-06 03:35:23 +00:00
Jeff Law
f911e41716 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
conditions to work with latest dejagnu/expect.
1994-04-06 03:06:25 +00:00
Jeff Law
7e550eb395 * gdb.t15/funcargs.exp (finish from indirect call): No longer
expected to fail on the PA.
        (backtrace in call with trampolines): Explicitly require main
        to be frame #1 (no trampolines should show up in backtrace).
1994-04-06 00:53:00 +00:00
Jeff Law
19155bc265 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
"continue -expect".
        * gdb.t06/break.exp: Likewise.
        * gdb.t07/watchpoint.exp: Likewise.
        * gdb.t13/bitfields.exp: Likewise.
        * gdb.t15/{funcargs,return}.exp: Likewise.
        * gdb.stabs/weird.exp: Likewise.
        * config/{mips,udi}-gdb.exp: Likewise.
1994-04-05 22:28:21 +00:00
Jeff Law
32a1239cc8 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
"continue -expect".
        * gdb.t06/break.exp: Likewise.
        * gdb.t07/watchpoint.exp: Likewise.
        * gdb.t13/bitfields.exp: Likewise.
        * gdb.t15/{funcargs,return}.exp: Likewise.
        * gdb.stabs/weird.exp: Likewise.
        * config/{mips,udi}-gdb.exp: Likewise.
1994-04-05 22:21:55 +00:00
Jeff Law
f0705d1831 * hppa.sed: Enclose comments within a sed command to avoid
losing with the old OSF1 sed.
1994-04-05 22:17:03 +00:00
Peter Schauer
1f655b81a6 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
sequent dynix.
	* gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
	* gdb.t15/funcargs.exp:  Conditionally step again to really
	finish from marker_call_with_trampolines. Handle the case where
	the first step from within call_with_trampolines already steps
	us back to main.
	* gdb.t15/gdbme.c:  Add comment to closing brace of
	call_with_trampolines for funcargs.exp.
1994-03-30 09:21:59 +00:00
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