Commit Graph

1163 Commits

Author SHA1 Message Date
David Taylor db8276bb10 modifications as part of HP merge; new tests; support for HP's compilers. 1999-01-11 15:20:52 +00:00
David Taylor 07dbe97683 new files; renamed files -- from HP merge effort. 1999-01-11 05:44:24 +00:00
David Taylor 2b63a85324 new files -- HP merge 1999-01-11 05:41:54 +00:00
David Taylor 46ad9c6596 new files and renamed files -- hp merge 1999-01-11 05:40:47 +00:00
David Taylor 162f1a6f66 renamed files -- HP merge. 1999-01-11 05:38:09 +00:00
David Taylor d55ea55c19 new files -- part of HP merge. 1999-01-11 05:36:48 +00:00
David Taylor f5f100fecb new files -- part of the HP merge. 1999-01-09 00:10:18 +00:00
David Taylor e1260544e1 new files -- from HP merge. 1999-01-09 00:00:54 +00:00
David Taylor e8ce2368b3 new file -- part of HP merge. 1999-01-08 23:42:20 +00:00
David Taylor 7e745333bb new files -- part of HP merge. 1999-01-08 23:40:55 +00:00
David Taylor e2fb40b3b6 renamed to have names 14 characters long or shorter. 1999-01-08 23:38:29 +00:00
David Taylor ba49f20406 new files; part of HP merge. 1999-01-08 23:28:15 +00:00
Stan Shebs 5ee261db88 * gdb.base/default.exp: Reflect wording change in remote.c. 1999-01-06 21:52:14 +00:00
Michael Snyder 732063ebf3 Update to reflect current help text. 1999-01-06 03:16:31 +00:00
David Taylor d9455383f9 updates to reflect recent HP additions. 1999-01-06 00:52:29 +00:00
David Taylor 80909c45f8 fix anon-union tests from HP. 1999-01-06 00:11:17 +00:00
David Taylor 17f18ac4e5 new files -- part of HP merge. 1999-01-05 23:31:03 +00:00
David Taylor 2d46b1af8d *** empty log message *** 1999-01-05 21:59:02 +00:00
David Taylor 61e635a444 hp merge changes; mostly new files.
scope.exp, langs.exp, list.exp -- compile one file at a time, then link.
default.exp -- change expected messages for catch and info catch tests to
reflect hp merge changes.
1999-01-05 21:58:18 +00:00
Jason Molenda f240337a6f 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Require autoconf 2.12.1 or higher.
        * doc/configure.in: Ditto.
        * nlm/configure.in: Ditto.
        * rdi-share/configure.in: Ditto.
        * testsuite/configure.in: Ditto.
        * doc/Makefile.in: Don't hardcode $(SHELL).
        * nlm/Makefile.in: Ditto.
        * rdi-share/Makefile.in: Ditto.
        * testsuite/Makefile.in: Ditto.
1999-01-05 00:17:07 +00:00
David Taylor c87f565f5a new functions -- skip_hp_tests, gdb_preprocess; gdb_compile takes new
optional argument specifying c++.
1999-01-04 22:40:38 +00:00
David Taylor 2e11d9ccf2 add gdb.hp to list of subdirectories. 1999-01-04 22:22:56 +00:00
David Taylor f5f706d8d1 change log entries for changes just committed. 1999-01-04 22:15:25 +00:00
David Taylor 709c6ee051 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
to delete on clean.
	(EXECUTABLES): update to reflect new additions.
	* gdb.base/commands.exp: update message expected.
	* gdb.base/default.exp: add copyright notice.
	* gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
	* gdb.base/help.exp: update messages to reflect current text.
	* gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
	targets for recurse tests.
	* gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
	skip this file.
1999-01-04 22:12:40 +00:00
David Taylor b3d32d4f8f configure.in -- decide whether to configure gdb.hp; configure -- regenerated. 1999-01-04 22:11:08 +00:00
David Taylor 298e0bc56e doc new files. 1999-01-04 21:40:46 +00:00
David Taylor 53c8a4de28 new files -- part of HP merge. 1999-01-04 21:35:27 +00:00
David Taylor e8ff198e34 update to reflect new hp merge files. 1999-01-04 16:04:45 +00:00
David Taylor 8e260d5270 new files -- part of HP merge. 1999-01-04 15:37:21 +00:00
Keith Seitz 32ac892aab * gdb.gdbtk/{console.exp, browser.exp}: If no DISPLAY is set,
skip the tests.
1998-12-30 17:57:16 +00:00
Felix Lee 3cc72fbe54 oops. fix linesplit caused by bad paste 1998-12-18 16:50:41 +00:00
Felix Lee 1e012f703e sanitization fix. 1998-12-18 16:43:49 +00:00
Jeff Law e97b0413dd Keep restore.c and restore.exp 1998-12-08 22:01:16 +00:00
Jim Blandy 701ab5bf5b *** empty log message *** 1998-12-07 23:15:12 +00:00
Stan Shebs 321d48c5b8 From Brendan Kehoe:
* gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
	int return types.
1998-12-03 04:08:14 +00:00
Michael Snyder c95b6ba3bd Added missing keeper files. 1998-10-30 17:39:48 +00:00
Michael Snyder 209c77a838 *** empty log message *** 1998-10-08 22:45:53 +00:00
Andrew Cagney b8464c1539 Replace "exec" with "executable" in messages. 1998-10-01 11:19:11 +00:00
Keith Seitz 761e334a18 * gdb.gdbtk/browser.test: Fix tests which incorrectly assume
that gdb knows _exactly_ which files belong to the user
        and which come from libraries.
1998-09-29 21:04:13 +00:00
Nick Clifton 7b60d311ba Add brace missing from previous delta. 1998-09-28 20:22:25 +00:00
Nick Clifton 7f44038a5f Fix info float test for arm-elf toolchains 1998-09-21 21:41:36 +00:00
Michael Snyder d5e3b34ad8 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.trace/*.exp: remove "remote_download" command.
1998-09-18 21:10:23 +00:00
Felix Lee d9720f0dd4 * gdb.trace/configure.in(AC_INIT): typo
* gdb.trace/configure: regenerated
1998-09-16 08:25:59 +00:00
Michael Snyder 27001c664d Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* lib/<emc-support.exp trace-support.exp}: New files.
        * configure.in: add new test directory gdb.trace.
        * gdb.trace/{configure configure.in Makefile.in}: New files.
        * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
        * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
        * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
        * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
        * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
        * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
        * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
1998-09-15 22:25:01 +00:00
Michael Snyder c8ca08efeb Mon Sep 14 20:00:57 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* dejagnu/baseboards/m68k-emc.exp: New file.
	* dejagnu/config/m68k-emc.exp: New file.
	* gdb/testsuite/config/m68k-emc.exp: New file.
1998-09-15 03:06:26 +00:00
Michael Snyder b6e88501aa Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.c++/classes.exp: Change all regular expressions to match
        arbitrary combinations of newline/carriage-return, so that they
        will work equally well on Unix and Windows.
        * gdb.c++/inherit.exp: ditto.
        * gdb.c++/virtfunc.exp: ditto.
1998-09-11 21:00:26 +00:00
Keith Seitz 313f4e31dd * gdb.gdbtk/Makefile.in: Add new example program "stack".
* gdb.gdbtk/browser.test,browser.exp: Add browser window
          tests.
        * gdb.gdbtk/stack1.c,stack2.c: Test case for browser window.
1998-07-24 22:11:22 +00:00
Jeff Law 73fe88bc9f * gdb.disasm/am33.s: Add tests for autoincrement instructions.
* gdb.disasm/am33.exp: Run time.  Update tests which use r8-r15
        to use a0-a3/d0-d3 as needed.
1998-07-24 21:52:43 +00:00
Keith Seitz ead0877781 * configure.in: Fix sanitization start/end error.
* configure: Regenerate.
1998-07-14 23:16:40 +00:00
Felix Lee de5cce9cb4 * gdb.base/callfuncs.exp: add cmp10 test.
* gdb.base/callfuncs.c (cmp10): new function.
1998-07-13 13:42:45 +00:00
Dawn Perchik faf0a71f31 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
into two parts to get around a synchronization problem in expect.
1998-07-10 08:54:17 +00:00
Martin Hunt e16def6302 Sun Jun 28 22:34:34 1998 Martin M. Hunt <hunt@cygnus.com>
* gdb.gdbtk/simple.c (main): Make main return an
	int so compiler will stop complaining.
1998-06-29 05:31:35 +00:00
Keith Seitz f35ea21826 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
* configure.in: Add options for gdbtk testsuite.

        * configure: Regenerate.

        * gdb.gdbtk: New directory to hold gdbtk tests.

        * gdb.gdbtk/console.{exp, test}: New console window tests.
1998-06-27 00:47:35 +00:00
Peter Schauer 3f1739b32a * gdb.fortran/types.exp: Escape brackets in expect patterns
for test_float_literal_types_accepted tests.
	* gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
	before run test.
1998-06-26 21:59:29 +00:00
Jeff Law 85a6fcfd5d * am33.exp: Just compile, do not link the testcase.
* am33.s: Add ".am33" pseudoop to force am33 mode.
1998-06-26 17:17:03 +00:00
Felix Lee be2cb9926c * gdb.base/setshow.exp: make sure $pc is sane.
* gdb.stabs/weird.exp: split expect patterns properly.
1998-06-25 22:39:02 +00:00
Jeff Law 54977a6833 * gdb.disasm/am33.s: New disassembler testfile for the am33.
* gdb.disasm/am33.exp: Run it.
1998-06-24 19:07:51 +00:00
Michael Snyder a59614102b Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/funcargs.exp: simplify expect strings to ease pattern
        match processing (and eliminate spurious timeouts when running).
1998-06-23 18:46:00 +00:00
Michael Snyder c488e9b543 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/overlays.exp: fixup compile line for linker script.
1998-06-10 17:42:36 +00:00
Felix Lee 72d33b581d * gdb.fortran/types.exp: don't guess at float size. 1998-06-05 05:47:31 +00:00
Felix Lee b304ac184b * chexp.exp: fix tests that assume >16-bit ints. 1998-06-05 04:54:03 +00:00
Felix Lee cf4f99867d * gdb.base/exprs.exp: delete test that depends on int size. 1998-06-05 04:53:28 +00:00
Mark Alexander 7ee554b50e * gdb.base/reread.exp: New file.
* gdb.base/reread1.c: New file.
	* gdb.base/reread2.c: New file.
1998-05-17 06:49:55 +00:00
Mark Alexander 7ec482ba5d * config/sim.exp: Use 'target sim -sparclite' when running
SPARClite programs.
1998-05-17 06:25:03 +00:00
Doug Evans fb543fc8ba Keep structs2.{c,exp} for now. 1998-05-17 01:50:07 +00:00
Doug Evans 183f3c8a4e * gdb.base/structs2.exp: New file.
* gdb.base/structs2.c: New file.
1998-05-17 01:50:06 +00:00
Doug Evans aa3b6d276b * gdb.asm/common.inc: New file.
* gdb.asm/d10v.inc: New file.
	* asm-source.exp: Pass -I's to gas to find .inc files.
	Update line numbers in expected output.
	* asmsrc1.s: Rewrite.
	* asmsrc2.s: Rewrite.
	* configure.in: Create arch.inc symlink.
	* configure: Regenerate.
	* Makefile.in (distclean): Delete arch.inc.
1998-05-13 20:38:50 +00:00
Jason Molenda 519aebdcc6 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
* gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
        not void.



fche says he vaguely remembers a problem with returning int instead of
void, but ISO C sez printf returns int, so let's see what happens.
1998-04-23 19:57:29 +00:00
Jason Molenda 92aadf4623 Add branches.c. 1998-04-21 16:52:56 +00:00
Jason Molenda 93d03334ed Keep cygmon.exp. 1998-04-21 16:52:05 +00:00
John Metzler ea8122af14 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
* gdb.base/branches.c: Code with lots of loops and
 	subroutines. Used to test gdbs ability to single step through PC
 	changes, especially to test mips-tdep.c:mips_next_pc
1998-04-16 17:56:11 +00:00
Frank Ch. Eigler 937ac38a3b * Changed one line in one C++ test case to hopefully
zap one group of persistent gdb testomat failures.

Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>

	* gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
	more rigorous EGCS C++ error checking.
1998-04-14 02:39:44 +00:00
Jason Molenda baee3bc6e9 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/help.exp:  Clean up `help set args' and `help show args'
        tests.
        * gdb.base/interrupt.exp:  Add "i*86-*-solaris2*" xfail for calling
        function when asleep.
        * gdb.base/signals.exp:  Add "i*86-*-solaris2*" xfails. Add comment
        for i*86 Linux and SVR4 signal handling problems.
        Remove linux xfail for `next to handler in signals_tests_1', fixed
        by recent infrun.c change.
        Limit backtrace to 10 frames to avoid timeout problems with infinite
        stack backtraces.
        Adjust expect pattern in `handle all print' test to match Apr 28 1997
        target.[ch] change.
1998-04-11 05:42:30 +00:00
Bob Manson eead61208d * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
for a newline from gdb before continuing.
	(default_gdb_exit): Just look for y or n.
1998-03-31 08:42:55 +00:00
Stu Grossman de6fe3db5b * Makefile.in: Derive SHELL from configure.
* config/d10v/d10v.mt config/d30v/d30v.mt config/m32r/m32r.mt
	config/mn10200/mn10200.mt config/mn10300/mn10300.mt :  Remove -lm
	from SIM.  This prevents dependency checking of -lm (under NT
	native builds).  (It is automatically added by configure if it
	exists.)
	* doc/configure mswin/configure nlm/configure
	testsuite/gdb.base/configure testsuite/gdb.c++/configure
	testsuite/gdb.chill/configure testsuite/gdb.disasm/configure
	testsuite/gdb.stabs/configure testsuite/gdb.threads/configure:
	Regenerate with autoconf 2.12.1 to fix shell issues for NT native
	builds.
1998-03-24 16:44:10 +00:00
Doug Evans 4369e92453 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
* gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
1998-03-13 22:43:18 +00:00
Angela Marie Thomas 2b9cac47f5 massive sanitization fixes 1998-03-13 13:09:32 +00:00
Doug Evans 681a9f4adb snapshot 1998-03-13 01:36:59 +00:00
Doug Evans 89d7d8094b regenerate 1998-03-13 00:36:03 +00:00
Doug Evans cd7da41008 configure script for gdb.asm, initial source debugging test. 1998-03-13 00:35:09 +00:00
Doug Evans b6f386f5de Makefile.in for gdb.asm. 1998-03-13 00:28:30 +00:00
Doug Evans b2a7abf2f5 * gdb.asm: New directory.
* configure.in: Configure it.
	* configure: Regenerate.
1998-03-13 00:25:36 +00:00
Doug Evans aeab18c927 keep gdb.asm 1998-03-13 00:22:00 +00:00
Mark Alexander be61d73cf3 * config/mn10300-eval.exp: New file to support MN10300 eval board. 1998-02-23 17:01:02 +00:00
Andrew Cagney b6b48d0313 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
on-chip insn memory and IMAP1 to upper 128k.
        (D10VCopy): Handle memory regions crossing 16k boundaries.
        (D10VCopy): Transfer data in 32 bit chunks.
1998-02-12 05:09:25 +00:00
Andrew Cagney 93854f7c7c Get overlay testsuite to work on m32r when image is being built with a
small data section (.sdata): Force _novrly variable into .data; stop
test variables being put into .sdata.
1998-02-06 03:26:11 +00:00
Fred Fish b7c05d37e2 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
"calling function with watchpoint enabled".
1998-01-23 15:36:12 +00:00
Fred Fish 34fddd75fa * gdb.base/break.exp (test_next_with_recursion): Remove
gdb_suppress_tests for d10v-*-*.
	* lib/gdb.exp (gdb_suppress_tests): Disable this function
	pending review of whether it is useful or not.
1998-01-22 22:13:07 +00:00
Mark Alexander 6720fa27e3 Add dve.exp. 1998-01-22 18:37:04 +00:00
Mark Alexander 4eb808df1e * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards. 1998-01-20 21:12:35 +00:00
Mark Alexander e8f06427fd * config/dve.exp: New file to support Densan boards. 1998-01-19 18:31:47 +00:00
Mark Alexander 78b25a6752 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
* config/dve.exp: New file to support Densan boards.
1998-01-19 16:56:35 +00:00
Jim Blandy 7c45d53214 Revert addition of test suite from Alcatel --- we don't have papers
for these.  Changes bracketed with tags jimb_pre_revert_pr13812,
jimb_post_revert_pr13812, so we can easily re-add them when we receive
papers.
1997-12-15 18:24:59 +00:00
Jim Blandy 7602287484 *** empty log message *** 1997-12-10 22:59:16 +00:00
Jim Blandy b2839a5602 * gch1494.ch, gch1494.exp: New tests, for PR 13812. 1997-12-10 22:58:03 +00:00
Andrew Cagney d440e85e43 Handle case where sizeof long != sizeof int when examining a union. 1997-11-25 02:28:05 +00:00
Bob Manson b82a1bdb8b * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
define vxworks when building the testcase.

	* gdb.base/ptype.exp: Fix testnames to be unique.
	* gdb.base/radix.exp: Ditto.
	* gdb.base/term.exp: Ditto.
	* gdb.base/whatis.exp: Ditto.
	* gdb.c++/classes.exp: Ditto.

More misc fixes.
1997-09-24 20:10:07 +00:00
Bob Manson f33e31a61a * gdb.base/callfuncs.exp: Fix indentation.
* lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
	suppress_flag has been set.
	(gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
	target feature.
1997-09-17 05:24:14 +00:00
Bob Manson 93a8f1e119 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
the testcase.
1997-09-16 00:46:12 +00:00
Bob Manson fc75bd970a * lib/gdb.exp(gdb_step_for_stub): New function.
(gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
	exists, reload the executable and do a "continue" instead of
	doing a jump.
	(runto_main): Use gdb_step_for_stub.

	* gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
 	tests to have unique names.
	* gdb.base/callfuncs.exp: Ditto.
	* gdb.base/commands.exp: Ditto.
	* gdb.base/default.exp: Ditto.
	* gdb.base/help.exp: Ditto.
	* gdb.base/list.exp: Ditto.
	* gdb.base/opaque.exp: Ditto.
	* gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
	similar tests.

	* gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
	* gdb.c++/cplusfuncs.cc: Ditto.
	* gdb.c++/virtfunc.cc: Ditto.

	* config/monitor.exp: Keep track of the last file we saw, rather
	than trying to get the info from gdb.

	* gdb.fortran/types.exp: Move comment to previous line.

Fixes for TCL8 miscellaneous problems, plus other changes.
1997-09-13 00:08:05 +00:00
Bob Manson eb16c04c8c * lib/gdb.exp(gdb_step_for_stub): New function.
(gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
	exists, reload the executable and do a "continue" instead of
	doing a jump.
	(runto_main): Use gdb_step_for_stub.

	* gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
 	tests to have unique names.
	* gdb.base/callfuncs.exp: Ditto.
	* gdb.base/commands.exp: Ditto.
	* gdb.base/default.exp: Ditto.
	* gdb.base/help.exp: Ditto.
	* gdb.base/list.exp: Ditto.
	* gdb.base/opaque.exp: Ditto.
	* gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
	similar tests.

	* gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
	* gdb.c++/cplusfuncs.cc: Ditto.
	* gdb.c++/virtfunc.cc: Ditto.

	* config/monitor.exp: Keep track of the last file we saw, rather
	than trying to get the info from gdb.

	* gdb.fortran/types.exp: Move comment to previous line.

Fixes for TCL8 miscellaneous problems.
1997-09-13 00:07:21 +00:00
Bob Manson 8e88a52215 * *.exp: The end-all be-all of quoting fixes. Ha.
At least I hope so.
1997-09-10 22:02:40 +00:00
Bob Manson eaac098bd3 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
target mode.
1997-09-03 02:56:30 +00:00
Bob Manson dbd850bb60 Fix missing global verbose declaration. grrrr. this is NOT
right.
1997-09-03 00:29:03 +00:00
Bob Manson 0424a0941b * pr-9946.exp: Ditto.
* gch1280.exp: Ditto.
	* gch1272.exp: Ditto.
1997-08-21 17:34:28 +00:00
Bob Manson 7376c77b93 * enum.exp: More quoting fixes.
*sigh*
1997-08-21 17:31:58 +00:00
Bob Manson 398e180ae9 Fix quoting. 1997-08-13 04:53:09 +00:00
Bob Manson 07ce0e49de Fix quoting. 1997-08-13 04:50:07 +00:00
Bob Manson bc1e11e9d5 * tests2.exp: Fix quoting.
* tests1.exp: Ditto.
1997-08-13 04:49:25 +00:00
Bob Manson 9039701bda * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
if we can't get a debug format from GDB (we may be testing an
 	older GDB). Use a 10 second timeout when checking for the format.

	* gdb.stabs/weird.exp: Fix quoting.
1997-07-04 01:04:45 +00:00
Bob Manson 6d2f93f855 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c. 1997-07-03 22:38:51 +00:00
Bob Manson 2255614907 * config/arm-ice.exp: New file. 1997-07-01 01:33:58 +00:00
Bob Manson a6d380b997 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
until it has been modified to work with the new testsuite.

	* gdb.*/*.exp: Instead of causing 1 unresolved test when the
 	testcase won't compile, cause all of the testcases in the file to
 	fail instead.

	* lib/gdb.exp(gdb_suppress_entire_file): New procedure.
	(gdb_clear_suppressed): New procedure.
	(gdb_stop_suppressing_tests): Only clear suppress_flag if
	it contains a positive value.
1997-06-30 04:24:17 +00:00
Bob Manson 4ea71e9de9 Check in correct file (config/m32r-stub.exp) 1997-06-29 23:26:33 +00:00
Bob Manson b14f3a01ff * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature. 1997-06-29 04:05:41 +00:00
Bob Manson 3128c5978f * gdb.c++/virtfunc.exp: Remove setting of libs variable. 1997-06-28 20:32:31 +00:00
Fred Fish 70742cd831 * lib/gdb.exp (setup_xfail_format): New function.
(get_debug_format): New function to get debug format.
	(debug_format): New global variable to hold last value set
	by get_debug_format.
	* gdb.base/list.exp: Call get_debug_format and expect some
 	tests to fail for DWARF 1 and COFF formats.
	* gdb.c++/ptype.exp: Ditto.
	* gdb.c++/classes.exp: Ditto.
	* gdb.c++/cplusfuncs.exp: Ditto.
	* gdb.c++/inherit.exp: Ditto.
	* gdb.c++/templates.exp: Ditto.
	* gdb.c++/virtfunc.exp: Ditto.
1997-06-28 06:03:43 +00:00
Bob Manson 5e7be5310d * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
host doesn't have a currently-open connection.

	* config/sparclet.exp: Cleanups and fixes to make it generic for
 	any gdb stub target. Handle cases where gdb doesn't respond when
 	interrupted in a sane fashion.

	* config/m32r.exp: Load sparclet.exp instead of trying to do the
 	same thing in a totally different way.

	* config/monitor.exp: Pass in timeouts to gdb_expect instead of
 	setting "timeout".
	(gdb_start): We set the global gdb_prompt variable in
 	default_gdb_init now.
1997-06-25 16:29:59 +00:00
Fred Fish 677a92a07d Fix a "ninemoons" email address that slipped in. 1997-06-22 16:40:16 +00:00
Fred Fish 41438a392a * gdb.base/printcmds.exp: Fix "check for floating addition"
regexp to accept results within approx +/- .01 of exact value.
	* lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
1997-06-22 16:17:49 +00:00
Bob Manson 283e535d3f (gdb_expect): Add optional timeout parameter, and add timeout
value to various calls.
	(gdb_suppress_tests): Only give one warning message per group.
1997-06-19 04:36:04 +00:00
Bob Manson 585a4b7b35 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
properly.
1997-06-18 18:13:19 +00:00
Bob Manson 66e38fb282 lib/gdb.exp(gdb_expect): Handle getting a value for $timeout
more gracefully.
1997-06-18 05:10:11 +00:00
Bob Manson 17b59a7407 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode
as global variables.
1997-06-17 20:11:04 +00:00
Bob Manson 77f3ac77b5 * lib/gdb.exp: Close connection to remote host if gdb doesn't
initialize.
	(default_gdb_init): New procedure; allow gdb_init to be overridden
 	by a target configuration file.
	(gdb_expect): Pass the timeout to remote_expect.

	* config/dos.exp(dos_wait): Add timeout parameter.

	* lib/remote.exp(remote_expect): Add timeout parameter.
	(remote_wait): Ditto.
	(standard_wait): Ditto. Also give up if the program outputs
	more than 512,000 bytes.

	* config/vxworks.exp: Use timeout parameter instead of setting
	timeout variable.
	* config/dos.exp: Ditto.
	* config/ddb.exp: Ditto.
	* lib/mondfe.exp: Ditto.
	* lib/rlogin.exp: Ditto.
	* lib/telnet.exp: Ditto.
	* config/base68k.exp: Ditto.
	* config/i386-bozo.exp: Ditto.
	* config/gdb-comm.exp: Ditto.
	* config/gdb_stub.exp: Ditto.
	* config/i960.exp: Ditto.
	* config/ddb-ether.exp: Ditto.
	* config/sim.exp: Ditto.

	* lib/g++.exp(g++_init): Use g++_include_flags instead of making
	up the includes ourselves.
1997-06-17 00:08:20 +00:00
Bob Manson 45c795f7c0 * config/monitor.exp(gdb_load): Fix typo in regexp.
Fixes last night's tcl error mesages.
1997-06-14 16:25:14 +00:00
Bob Manson 59df24f7c2 * gdb.base/funcargs.exp: Remove spurious suppress tests call. 1997-06-13 03:59:40 +00:00
Bob Manson 43f396d007 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
here. Call gdb_target_exec before rebooting the target, to make
 	sure the connection to the target is closed.
	(gdb_load): Pass the name of the executable to gdb_target_monitor.
	Don't call gdb_file_cmd here; let gdb_target_monitor do it.

	* config/gdbserver.exp: Pass the executable being loaded to
 	gdb_target_monitor. Don't call gdb_file_cmd here; let
 	gdb_target_monitor do it.

	* gdb.disasm/hppa.exp: Don't use exec_output.
1997-06-04 00:04:43 +00:00
Bob Manson 9ab2431f84 Added proelf. 1997-06-03 22:05:24 +00:00
Bob Manson 29a76b68a6 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
test_calls after restarting.

	* lib/gdb.exp(gdb_run_cmd): Send jump command again after
 	reloading.

	* gdb.base/watchpoint.exp: Fix typo.

	* gdb.base/setshow.exp: Check for use_gdb_stub.

	* gdb.base/break.exp: Fix continue until exit test for the gdb
 	stub case.
	* gdb.base/langs.exp: Ditto.

	* config/monitor.exp(gdb_load): Handle gdb_sect_offset and
 	gdb_load_offset. If we weren't given a file to load, figure out
 	what the current file is and use it.
1997-05-23 22:30:29 +00:00
Bob Manson 1e0d962e4f * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
gdb_load_offset.
1997-05-23 21:49:12 +00:00
Bob Manson 81740ee442 * config/i386-bozo.exp: New file. 1997-05-23 20:28:54 +00:00
Bob Manson 19d31cb3e8 Make sure we keep the old value of timeout set properly. 1997-05-23 06:15:46 +00:00
Bob Manson d8b63305a2 Don't look at timeout unless it exists. 1997-05-23 06:10:08 +00:00
Bob Manson c55809ce2d * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
feature.
1997-05-23 06:05:12 +00:00
Bob Manson de8ea54f90 * config/proelf.exp: New entry. 1997-05-23 02:06:18 +00:00
Bob Manson fb07c69693 * lib/gdb.exp: Remove spurious .* patterns at the beginning
of regexps.
1997-05-22 06:00:28 +00:00
Bob Manson ee9a6181ff * gdb.base/watchpoint.exp: Don't run the test_stepping
tests if gdb can't call functions on the target.
1997-05-22 05:56:31 +00:00
Bob Manson 3596a9fcb0 add new file. 1997-05-22 05:55:41 +00:00
Bob Manson 28558bdb36 * gdb.base/setshow.exp: Don't run the set prompt tests if
the board has gdb_prompt set.
1997-05-22 04:24:23 +00:00
Jeff Law c86924cf7e * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
* gdb.base/commands.exp: Likewise.
        * gdb.base/setshow.exp: Likewise.
1997-05-20 15:00:01 +00:00
Bob Manson 2aec653f17 * config/monitor.exp(gdb_start): Look for gdb_prompt target
feature.

	* config/i960.exp: New file.
1997-05-19 22:40:00 +00:00
Mark Alexander 1c877a7aae Add h8300.exp. 1997-05-08 05:25:53 +00:00
Michael Snyder a50c4c7cd7 Tue May 6 13:53:05 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
* Add overlay tests to gdb.base/.Sanitize
1997-05-06 20:53:53 +00:00
Michael Snyder 6a85a617df Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
* top.c: change "to enable to enable" to "to enable" in a couple
        of help strings.
1997-04-29 00:32:03 +00:00
Jeff Law 15ef24c83e * gdb.base/callfuncs.exp: Mark some tests as expected to fail
on the mn10300.
1997-04-24 20:53:11 +00:00
Fred Fish c31ffb3b38 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
where the test executable is run with explicit args.
      * gdb.base/default.exp: Handle arm-*-coff case for "info float".
1997-04-22 14:46:58 +00:00
Fred Fish b0c4d379ff * gdb.base/run.c: Use FAKEARGV to build test executable that
does not require a command line arg, since most simulators
      don't currently support passing such an arg into the simulated
      program.
      * gdb.base/commands.exp: Change tests to insert the proper
      value as the arg to the first recursive factorial call.  Change
      compilation line to define FAKEARGV at compile time.
1997-04-21 21:56:32 +00:00
Bob Manson 5f4c2f2db9 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
Don't call gdb_test when the command doesn't return to a gdb prompt.

Oops.
1997-04-09 05:54:15 +00:00
Bob Manson 614fb1b421 Fix typo. 1997-04-09 02:35:38 +00:00
Bob Manson 1a84b8b1b4 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratiutious
"Tests restarted" messages.
1997-04-09 02:35:07 +00:00
Michael Snyder df04bd49f6 Remove mention of .Sanitize from ChangeLogs 1997-04-08 23:49:14 +00:00
Jeff Law 69f80b9d40 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests. 1997-04-08 22:50:33 +00:00
Michael Snyder 3ac09675e8 * .Sanitize: remove sanitization for m32r. 1997-04-08 00:55:42 +00:00
Michael Snyder 1397dff873 Mon Apr 7 17:46:23 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
* .Sanitize: remove sanitization for M32R target.
1997-04-08 00:51:12 +00:00
Michael Snyder 320b1d82e4 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/help.exp: update help msg for INFO ADDR; add help test
        for INFO SYMBOL; add help tests for OVERLAY commands.
        * gdb.base/default.exp: add tests for INFO SYMBOL command;
        add tests for OVERLAY commands
        * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
        d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
        * gdb.base/sigall.c: add usestubs code frag
        * gdb.base/watchpoint.c: turn on complex watchpoint test for M32R.
1997-04-03 23:24:30 +00:00
Bob Manson ddb594ac2a * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
failures.
	(gdb_stop_suppressing_tests): Note that tests have restarted.
1997-04-03 17:47:33 +00:00
Bob Manson 96a6f034a6 * config/h8300.exp: New file. 1997-04-03 03:05:12 +00:00
Bob Manson 5cb6d16506 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion. 1997-03-29 22:08:56 +00:00
Bob Manson 81ad11036d * gdb.base/scope.exp: It's now init0(), not init().
* gdb.base/scope0.c: For now, change init() to be init0().
1997-03-29 21:00:14 +00:00
Bob Manson d848223548 * config/monitor.exp: Use gdb_serial in preference to serial
or netport.

	* lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
 	and it's not already set.

	* gdb.base/setshow.exp: Only test the run command if the target
 	isn't using a stub and if it supports argument passing.
1997-03-29 19:24:07 +00:00
Jeff Law 292a8231f4 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
* gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
        * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
disassembler testsuite for the mn10300.
1997-03-24 21:48:36 +00:00
Bob Manson 4d400231d9 Moved change from gdb_target_udi to gdb_start. 1997-03-23 04:41:14 +00:00
Bob Manson fb9eb1371d * config/udi.exp(gdb_target_udi): Make sure UDICONF is set
properly before starting gdb.
1997-03-23 04:01:48 +00:00
Jeff Law 593f97fe13 Fix minor sanitization problems 1997-03-20 20:30:29 +00:00
Bob Manson 5834946d5a Removed, no longer used. 1997-03-11 19:45:29 +00:00
Bob Manson 968cad7633 * config/monitor.exp: Make sure we disconnect from the target.
Also, try a reboot/reload cycle instead of failing if the
	load fails.
1997-03-11 19:45:02 +00:00
Bob Manson 60450e30e9 * gdb.base/default.exp: Don't set match_max.
* gdb.base/help.exp: Ditto.
	* gdb.base/list.exp: Ditto.
	* gdb.base/signals.exp: Ditto.

	* config/monitor.exp(gdb_load): If gdb,use_standard_load is
	set, use remote_ld to download the testcase instead of
	the GDB loader.
1997-03-07 22:00:02 +00:00
Bob Manson fa5864d5f7 Added and updated copyright notices to testsuite expect
scripts.
1997-03-06 22:32:25 +00:00
Bob Manson a9b2f48deb More .Sanitize. 1997-03-06 07:29:40 +00:00
Bob Manson ab670f8e53 * config/vr5000.exp: New file. 1997-03-06 07:12:21 +00:00
Bob Manson 2f693513f5 * config/monitor.exp(gdb_target_monitor): Add pattern for
"Ending remote" to detect errors in connecting.

	* gdb.base/setshow.exp: Add .* within auto language test.
1997-03-06 05:30:54 +00:00
Bob Manson ae7872effe * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
target feature.
1997-03-06 01:51:44 +00:00
Jim Wilson 86d013f70a Correct sparclet sanitize errors. 1997-03-04 02:28:23 +00:00
Bob Manson d1e47b8e06 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
refer to gdb_spawn_id.

	* config/m32r-stub.exp: Remove references to gdb_spawn_id, no
	longer used.
	* config/sparclet.exp: Ditto.
	* config/sparclet-old.exp: Ditto.
	* config/slite.exp: Ditto.
	* config/sim.exp: Ditto.
	* gdb.base/funcargs.exp: Ditto.

	* lib/gdb.exp:Remove references to gdb_spawn_id.
	(gdb_expect): Move to remote.exp.
1997-03-04 00:49:59 +00:00
Jim Wilson a3c5b9a4a1 Correct d10v sanitization errors. 1997-03-03 00:35:40 +00:00
Bob Manson 847e232af6 * config/monitor.exp: Detect the "Couldn't establish connection"
message from GDB.

one of many, presumably.
1997-03-01 04:50:01 +00:00
Jeff Law 894b9f921d FIxing Sanitize problems found by Marilyn. 1997-02-27 17:05:25 +00:00
Jeff Law e7311f29e5 Fixing Sanitize errors found by Marilyn. 1997-02-27 17:03:43 +00:00
Bob Manson 3c0af8a010 * lib/gdb.exp(gdb_test): Generate a FAIL message when
send_gdb fails.
1997-02-24 21:24:26 +00:00
Bob Manson 40ac16240a * config/vr4300.exp: New file.
* gdb.*/*.exp: Call gdb_expect instead of expect.

	* lib/gdb.exp(gdb_expect): New function.
1997-02-24 05:43:35 +00:00
Bob Manson cea0f6fc02 Added vxworks.exp. 1997-02-22 00:17:12 +00:00
Bob Manson c309781f7e * lib/gdb.exp(gdb_init): New function. 1997-02-21 00:22:50 +00:00
Bob Manson eb659148ad * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
for each individual variable set.
1997-02-21 00:21:34 +00:00
Bob Manson 38ee47dc4a * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
name.
1997-02-20 23:45:23 +00:00
Bob Manson 42c254c939 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
hmmm, automagic conversion left -re things.
1997-02-20 22:52:38 +00:00
Bob Manson dadace266a * gdb.base/scope.exp: Use gdb_test.
* gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
	aborting; the testsuite driver will do that for us (see
	gdb_finish). Also, use gdb_test in a few more places.
1997-02-20 22:13:52 +00:00
Stan Shebs 3fe495606c * gdb.base/help.exp: Fix syntax of "help info all-registers" test. 1997-02-20 21:38:08 +00:00
Jeff Law 66a5e0e94c * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
and "add_tests" are not at the same address.
Fixes gdb disassembler testsuite failure on sunos4 hosted toolchain.
1997-02-20 17:36:12 +00:00
Jeff Law d83c8ac193 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
* gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
        left in.  No longer expect them to fail.
1997-02-13 23:33:33 +00:00
Jeff Law f8cc5c612e * gdb.stabs/*.mt; Deleted, no longer used.
* gdb.stabs/configure.in: Remove references to target makefile
        frags.
        * gdb.stabs/configure: Rebuilt.
Removing more crud.
1997-02-13 23:20:09 +00:00
Jeff Law f43e619c5b * gdb.disasm/*.mt: Deleted, no longer used.
* gdb.disasm/configure.in: Remove references to target makefile
        frags.  Use "sh3.s" as the unique filename for this directory.
        * gdb.disasm/configure: Rebuilt.
Cleaning up unused crud.

        * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
        * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
        * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
mn10200 disassembler testsuite.
1997-02-13 23:16:26 +00:00
Jeff Law 6fb47af036 Revert last structs.exp change -- I found the problem. 1997-02-12 02:06:34 +00:00
Bob Manson 76abb184ef * config/udi.exp: Use mondfe,name instead of remote_host.
remote_host is a bad naming choice.
1997-02-12 01:00:49 +00:00
Jeff Law 380c32d50d * gdb.base/structs.exp: Expect some failures from the mn10200 port.
I don't want to deal with this for the alpha!
1997-02-12 00:45:46 +00:00
Jeff Law 3d6ab69f35 * gdb.base/watchpoint.exp: Don't expect a failure when calling
a function with a watchpoint enabled on the mn10200.
1997-02-11 19:54:45 +00:00
Jeff Law 9e40b4f147 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
before trying to create it!
1997-02-11 18:24:21 +00:00
Bob Manson dba77cd79b * config/vx.exp: Use hostname instead of netport.
* config/vxworks.exp: New file.

	* gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.

	* config/monitor.exp(gdb_target_monitor): Look for a prompt from
 	gdb before assuming everything worked. Send a ^C if a timeout
	occurs.

Random fixes for vxworks and d10v.
1997-02-11 06:38:22 +00:00
Bob Manson 6a590607fc * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
$gdb_spawn_id directly.

Checking for errors actually helps. *sigh*
1997-02-11 00:49:17 +00:00
Jeff Law 66e7ce0add * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
redundant) test.
1997-02-10 22:24:53 +00:00