Commit Graph

592 Commits

Author SHA1 Message Date
Jeff Law 8b67f01dff * gdb.base/signals.exp: Disable whole file for lynx until
further notice.

Looks like a bug in the lynx2.2.2 kernel scroggs the stack pointer in
these tests leading to massive failures.  I've sent a nice small concise
example to Mark Rome @ lynx.  Severe braindamage.
1995-07-25 08:52:39 +00:00
Jeff Law 2f11e8d4a6 * gdb.base/signals.exp: xfail test where "next" acts like
"continue" for lynx.
1995-07-25 07:05:21 +00:00
Jeff Law f1c9e4462a * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
after the inferior gdb has started.
'cuz lynx may take a couple minutes to start the inferior gdb...

        * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
        after each command.
        * gdb.base/funcargs.exp: Likewise.
        * gdb.base/gdbvars.exp: Likewise.
        * gdb.base/interrupt.exp: Likewise.
        * gdb.base/list.exp: Likewise.
        * gdb.base/watchpoint.exp: Likewise.
        * gdb.c++/demangle.exp: Likewise.
        * gdb.c++/inherit.exp: Likewise.
        * gdb.chill/chexp.exp: Likewise.
        * gdb.fortran/exprs.exp: Likewise.
Just in case we can't get a version of expect that sets the tty modes
right on lynx to avoid this problem.
1995-07-20 20:33:39 +00:00
Jeff Law 9ce4ab8471 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
test if we can't handle IO to/from the inferior.
1995-07-20 19:21:28 +00:00
Jeff Law 46e8d4117a * lib/gdb.exp: Provide default value for noinferiorio.
* gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
	the inferior.
1995-07-20 18:27:55 +00:00
Jeff Law 31ce436075 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
cases.
1995-07-17 16:14:48 +00:00
Fred Fish 3ba76bd840 * configure.in (signaldirs): Define and add to configdirs for all
targets except some specific ones that are known to not support signals.
	Also clean up formatting.
	* gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
	(signals, sigall):  Remove rules to build.
	* gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
	Moved to new gdb.signals directory.
	* gdb.signals: New test directory.
	* gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
	signals.c signals.exp}:  New or moved files.
1995-07-07 04:11:42 +00:00
Stu Grossman 7e7b4a0209 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
config/rom68k.exp:  New tcl glue for the appropriate monitors.
	These all just end up calling monitor.exp.
	* config/monitor.exp (gdb_target_monitor):  Handle `Connection
	refused' by retrying.  Cleanup some timeout issues.
	* (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
	* lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
	callers don't have to set/restore global timeout variable.

	* The following set of changes centralizes management of the global
	timeout	variable.  This way, it can be set in one target dependent
	place instead of dozens of places scattered throughout the test suite.
	If you need to lengthen a timeout, then you should either set timeout
	in one of the config/{target}.exp files, or multiply it by a factor.
	Setting it to an absolute value is always going to lose for some
	targets.
	* gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
	* gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
	* gdb.base/funcargs.exp:  Don't set timeout.
	* gdb.base/list.exp (test_forward_search):  Only use local timeout.
	* gdb.base/printcmds.exp (test_print_string_constants
	test_print_array_constants):  Don't set timeout.
	* gdb.base/ptype.exp:  Don't set timeout.
	* gdb.base/recurse.exp:  Don't set timeout.
	* gdb.base/return.exp:  Don't set timeout.
	* gdb.base/watchpoint.exp:  Don't set timeout.
	* gdb.c++/classes.exp (do_tests):  Don't set timeout.
	* gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
1995-05-11 01:03:50 +00:00
Jim Kingdon 9b86fdcaef * gdb.base/a1-selftest.exp: Add alpha xfail. 1995-04-15 21:29:14 +00:00
Jim Kingdon 4dc75a28f8 * gdb.base/recurse.exp: Fix comment.
* TODO: Remove item about printing variables in nodebug.exp.  Add
	item about enabling tests which are only run on some targets.

	* gdb.base/watchpoint.exp: Various cleanups (make each test pass or
	fail, make test names unique, use new gdb_test convention
	regarding pattern, use gdb_test more, etc.).
1995-04-09 21:05:37 +00:00
Kung Hsu 4d1edc2e85 * gdb.base/break.exp: Adjust line number, fix rerun.
* gdb.base/langs0.c: Add #ifdef usestubs.
1995-04-01 00:17:12 +00:00
Kung Hsu a04abeccfc * gdb.base/list.exp: Adjust line contents after adding new lines in
list0.c. Also fix a syntax error.
1995-03-31 02:09:59 +00:00
Kung Hsu 6413ee42db * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
* gdb.base/break.exp: ditto.
        * gdb.base/list.exp: ditto.
        * gdb.base/bitfields.c: Add #ifdef usestubs in main().
        * gdb.base/run.c: ditto.
        * gdb.base/list0.c: ditto.
        * gdb.base/funcargs.c: ditto.
1995-03-31 00:43:47 +00:00
Peter Schauer 766de354a8 * gdb.base/list.exp: Add expect patterns for output from
SunPRO compiled executables.
	* gdb.base/whatis.exp:  Allow leading `signed' for all v_signed_*
	types.
1995-03-25 09:26:16 +00:00
Jim Kingdon 62f2c80802 * gdb.base/break.exp (test_next_with_recursion): Accept any line
number (we are already testing that the correct source line text
	gets printed).

	* gdb.base/break.exp: Make one test if $usestubs.  I'm not sure
	that is what is intended, but something needed to be done to get
	sunos4 native working again.

	* gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
1995-03-25 06:01:20 +00:00
Stu Grossman 1a7f57e783 * configure.in: Move test for m68*-est-* before m68*-*-coff*.
* findvar.c:  Move default def of CANNOT_STORE_REGISTER closer to
	the beginning of the code.
	* (write_register_gen):  New routine.  Analogous to
	read_register_gen.
	* (write_register_bytes):  Another rewrite!  Make it smarter about
	not updating regs with the same value.
	* monitor.c (printf_monitor readchar):  Use stderr instead of
	stdout to output debug info.  Also cleanup readchar a little.
	* (expect):  Make sure that excessive responses are null
	terminated.
	* (monitor_open):  Check for magic number in monitor_ops struct.
	Allow multiple commands as init strings.  Also, clear all
	breakpoints.
	* (monitor_resume monitor_wait):  Send a command to dump all the
	regs for those targets which don't do so when waking up after a
	continue command.
	* (monitor_wait):  Handle excessive response output better.
	* (monitor_write_memory):  Use block fill, word, and long word
	commands (if they exist) to write memory more efficiently.
	* General cleanups to use flag bits instead of individual flag
	words in monitor_ops struct.
	* (monitor_command):  Return output from command.
	* (monitor_load_srec):  Allocate buffer only once.  Use alloca.
	Wait for load response string instead of using a timeout to start
	sending S-records.  Fix bug where value of srec_frame shrinks.  If
	hashmark is set, print `-' for retransmissions.  General cleanups.
	* (monitor_make_srec):  Get rid of S-record default type kludge.
	* monitor.h:  Use seperate struct for memory and register
	read/write commands.  Memory commands can come in byte, word,
	long, and longlong forms.
	* (monitor_ops):  Change lots of fields.  Generalize some stuff.
	Put all flags into flags word.  Allow init to be a list of commands.
	Add command for clearing all breakpoints, block fill, dumping all
	registers.
	* remote-est.c:  Rewrite to use new monitor conventions.
	* config/m68k/est.mt (TDEPFILES):  Add monitor.o.
	* config/m68k/tm-est.h:  Set NUM_REGS to 18.
	* testsuite/gdb.base/break.exp:  Lots of cleanups.  Use gdb_test
	more thoroughly.
1995-03-25 00:41:54 +00:00
Jim Kingdon 1ef0c066d9 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
apparently went with a (very) old xfail.
1995-03-24 23:06:46 +00:00
Kung Hsu c86bd3d41b * gdb.base/callfuncs.exp: call runto_main instead of runto main.
runto_main is a proc in gdb.exp that will do 'step' for target use
        stubs.
        * gdb.base/exprs.exp: ditto.
        * gdb.base/interrupt.exp: ditto.
        * gdb.base/opaque.exp: ditto.
        * gdb.base/printcmds.exp: ditto.
        * gdb.base/ptype.exp: ditto.
        * gdb.base/scope.exp: ditto.
        * gdb.base/setvar.exp: ditto.
        * gdb.base/signals.exp: ditto.
        * gdb.base/twice.exp: ditto.
        * gdb.base/break.exp: no run and hit main for stubs. Change line
        numbers for breakpoints and info breakpoint.
        * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
        breakpoint().
        * gdb.base/callfuncs.c: ditto.
        * gdb.base/exprs: ditto.
        * gdb.base/interrupt.c: ditto.
        * gdb.base/opaque0.c: ditto.
        * gdb.base/printcmds.c: ditto.
        * gdb.base/ptype.c: ditto.
        * gdb.base/scope0.c: ditto.
        * gdb.base/setvar.c: ditto.
        * gdb.base/signals.c: ditto.
        * gdb.base/twice.c: ditto.
1995-03-24 22:06:00 +00:00
Jim Kingdon ac35a0030e * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
somewhere between `read' and `main.c'.  I'm pretty sure the
	pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
	and it isn't particularly useful.
1995-03-24 16:38:06 +00:00
Jim Kingdon 6e131ad8e1 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(. 1995-03-24 14:13:35 +00:00
Jim Kingdon 91e3c24670 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test. 1995-03-23 23:36:33 +00:00
David Edelsohn e965bc396d Change argument to istarget from "*-*-vxworks" to "*-*-vxworks*". 1995-03-22 04:52:25 +00:00
Jim Kingdon 8abe0b3d40 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
instead of just @.
1995-03-21 22:24:00 +00:00
Jim Kingdon 0926990e46 * gdb.base/signals.exp: Add test for "handle all print".
* TODO: Remove "handle all print".  Also remove item about
	checking copyright date (I don't like the idea of a spurious FAIL
	based on when we run the tests).
1995-03-21 22:02:06 +00:00
Jim Kingdon 31a425c34d * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
for SunOS4 (reason for failure not investigated).  Remove
	redundant test for $binfile.
1995-03-21 21:12:24 +00:00
Jim Kingdon 1d30b94822 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique. 1995-03-21 20:17:49 +00:00
Jeff Law eead772be8 * gdb.base/recurse.exp: Update gdb_test invocation to use new
conventions and slightly simplify the matching regexp.
1995-03-20 17:09:25 +00:00
Jim Kingdon c793c27438 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
test unique.
1995-03-17 13:59:56 +00:00
Jim Kingdon 3c727f7293 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
one argument of type "<non-float parameter>".
1995-03-17 00:32:31 +00:00
Stu Grossman e8a256f8a2 * config/rom68k.exp: New file to support Motorola IDP board.
* gdb.base/a2-run.exp:  Skip this file if noargs is set.
	* gdb.base/break.c:  Change things around so that this program
	doesn't depend upon args.  This is necessary to make remote
	targets work (in general, they can't take args).
	* gdb.base/break.exp:  Don't try to send args to program.  Don't
	expect output.  Also, replace lots of code with gdb_test.
1995-03-16 00:06:51 +00:00
Jim Kingdon 6b62554aee * gdb.base/nodebug.exp: Test ability to call a function and pass
it a string (even with no debugging info).
1995-03-15 01:57:01 +00:00
Jim Kingdon 4081daa1ed * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
only \r\n, not .*.  The test can pass .* as the last thing in
	$pattern if that is what it wants.  In addition to providing this
	flexibility, this change should speed up pattern matching in cases
	where the pattern already ended with .* (there were a number of
	them).  This change also helps catch bad patterns--in the old
	scheme the typo "char \*" instead of "char \\*" would pass.  Now
	it is caught.
	* Many .exp files: Update callers.
1995-03-14 21:25:19 +00:00
Jim Kingdon 9be82863cc * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
clearer and does not spuriously match multiple ('s.  Likewise for
	) and *.
1995-03-14 18:40:05 +00:00
Jim Kingdon fcb869f1f2 * gdb.base/nodebug.exp: Test ability to call a function and pass
it a string (even with no debugging info).
1995-03-14 18:06:26 +00:00
Jim Kingdon 05918905ce * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
"p '\'", which is the same as "p ''" once tcl gets done with
	quoting, to "p '\\'", which I suspect is what is intended (one
	backslash gets sent to GDB).

	* gdb.base/printcmds.exp (test_artificial_arrays): New tests.
1995-03-14 16:47:38 +00:00
Jim Kingdon 2f8996dc3c * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
1817) was fixed literally years ago.
1995-03-11 05:34:40 +00:00
Peter Schauer 07b963574f * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
test, it causes stepping out of call_after_alloca_subr with
	optimizing compilers.
	(localvars_in_indirect_call):  Consume GDB prompt if `finish'
	fails.

	* gdb.c++/misc.cc (class Contains_static_instance,
	class Contains_nested_static_instance),
	gdb.c++/classes.exp (test_static_members):  Test printing of
	a class that contains a static instance of the class.
1995-03-10 11:24:30 +00:00
Angela Marie Thomas d439f0eca6 added regs.exp to Things-to-keep 1995-02-22 04:56:32 +00:00
Jim Kingdon 0794ff457b * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
if not native, it is not an abnormal condition.
1995-02-19 21:12:56 +00:00
J.T. Conklin 65424cda04 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
Removed, these values are set by lib/gdb.exp.
* lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
1995-02-16 18:41:54 +00:00
J.T. Conklin be813d0223 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
executable is not in the tree and host != target, use sed and
  program_transform_name to determine the gdb name used by the
  target.
1995-02-16 00:35:53 +00:00
J.T. Conklin 9c79b8b5eb * configure.in, gdb.{base,c++,chill}/configure.in: changed so
*-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
1995-02-15 22:28:51 +00:00
Jim Kingdon c44c67b5ae * gdb.base/langs.exp, gdb.base/langs*: New test.
* gdb.base/Makefile.in: Build it.
	* TODO: Remove item about checking that C names don't get C++
	demangling applied; this test tests it.
1995-02-12 17:55:09 +00:00
Jim Kingdon 1fb1efcd37 * gdb.base/a1-selftest.exp: Don't run on hp300. 1995-02-09 20:46:53 +00:00
Jim Kingdon ff884d6e71 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
places as other ecoff systems).
1995-02-01 18:21:30 +00:00
Jim Kingdon 372bb8b4f0 * gdb.base/nodebug.exp: Add xfails for ultrix (same places as
other ecoff systems).
1995-02-01 17:08:16 +00:00
Jim Kingdon 3c1c71bf59 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
ultrix.
1995-02-01 16:11:07 +00:00
Jim Kingdon 0983715251 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
remove them.
	* gdb.base/nodebug.exp: Accept "function" in addition to "text
	variable and "variable" in addition to "data variable".
	* gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
1995-01-31 21:01:09 +00:00
Jim Kingdon e29b45a853 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
Quote ^C when passing it to stty.  For some shells ^ is a pipe.
1995-01-27 18:22:15 +00:00
Jim Kingdon 66b063c03d * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
Call stty to set interrupt character.
1995-01-27 05:40:50 +00:00
Stan Shebs c429bbab3a * gdb.base/default.exp: xfail no-stack backtraces for h8300,
restart GDB for h8300 after a continue.
	(return): Add pattern to match a29k-udi behavior.
	* gdb.base/nodebug.exp: Remove obsolete comment.
	* gdb.base/regs.exp: New file, testing of register displays.
	* gdb.base/return.exp: Fix typo in reference to $objdir.
	* gdb.base/whatis.exp: Always start with a fresh GDB.
1995-01-26 00:02:46 +00:00
Jim Kingdon 6535b97b3f * lib/gdb.exp (gdb_test): Remove catch from around the send. The
code following the catch silently ignored some errors; without the
	catch they should be thrown like any other tcl error.  Also, the
	catch used "" instead of {} which meant all the callers who wanted
	to include one of the characters "[]$ had to quote it an extra time.
	* gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
	ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
	demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
	Remove extra quoting.
1995-01-25 03:33:25 +00:00
Jeff Law af2e6b157e * gdb.base/commands.exp: Make test names unique; every test either
passes or fails.  Update some comments.
1995-01-24 05:16:25 +00:00
Jim Kingdon e1a6b67ab3 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems. 1995-01-21 23:38:43 +00:00
Jim Kingdon 9f538e3e9d add new tests sigall.c and sigall.exp 1995-01-21 23:30:43 +00:00
Jim Kingdon f34c87666e * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
	gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
	gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
	it makes the tests harder to understand and confuses test-o-matic.
	The preferred style is that each test provides a PASS or a FAIL,
	and has a unique message (e.g. "continue #54" not just "continue")
	which is the same for the pass and the fail.
	* gdb.fortran/exprs.exp, gdb.fortran/types.exp,
	gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
	to lib/gdb.exp.
	* gdb.base/printcmds.exp: Use test_print_accept.  Remove
	prt_accept which was basically the same thing.  Likewise for
	test_print_reject and prt_reject.
	* lib/gdb.exp (test_print_reject): Add some more error message
	patterns to match from the former printcmds.exp (prt_reject).
	* gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
	One defect of the passcount stuff is that some of it failed to
	report XPASS where appropriate.
	* gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
	stuff before and after arg in expected pattern.
	(test_paddr_operator_functions): Re-do test without print_addr_of;
	this is the only test which seems to want extra stuff there.
1995-01-20 22:26:33 +00:00
Jim Kingdon 29f25f6f69 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
and "ptype" work on variables in files compiled without -g.
	Replaces commented out "maint print msymbol" tests.
1995-01-17 16:22:23 +00:00
Jim Kingdon 2d593cdda9 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
"get signal $thissig" test fails.
1995-01-14 18:23:51 +00:00
Jim Kingdon 592355645c * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
compiler warning with dec alpha compiler.

	* gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
	extra \n from gdb_test call (this explains why the prompt test
	that I removed yesterday was there).
	(user_defined_command_test): Remove extra \n and prompt test.

	* gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
	doesn't exist.  Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
	doesn't exist.
	* gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
	Also remove alpha workaround, which turns out to be because
	SIGABRT == SIGLOST.
1995-01-12 20:12:07 +00:00
Jim Kingdon 3074a46dbf * gdb.base/sigall.exp: Add workaround for alpha weirdness. 1995-01-12 16:41:09 +00:00
Jim Kingdon 4a9758edbc * gdb.base/help.exp: Don't test "help show". 1995-01-12 06:17:40 +00:00
Jim Kingdon 8bc8001669 * gdb.base/help.exp: Replace most of docstring for "define" with ".*". 1995-01-11 20:45:59 +00:00
Jim Kingdon 4a2170f0ea * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
was a vestige of the manual TESTSTRATEGY, and the purpose of it
	was to make sure that gdb can read a core file.  But (a) the "read
	the corefile" part didn't make it to a1-selftest.exp, we just
	delete the corefile after creating it, and (b) we test reading
	corefiles in corefile.exp anyway.  Also, this test left around a
	xgdb process on Solaris.

	* gdb.base/corefile.exp: Also test backtrace.
1995-01-11 20:42:33 +00:00
Jeff Law b0c2974980 * gdb.base/commands.exp: Test a simple user defined command with
arguments and if/while statements; verify the full user command is
	printed by "show user".
1995-01-11 07:43:53 +00:00
Jeff Law cba9d85e01 * gdb.base/commands.exp: Test if/while commands as part of a
breakpoint command list; verify they appear in breakpoint
	information.
1995-01-11 07:16:54 +00:00
Jim Kingdon 7454930699 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
than by dividing by zero.
1995-01-11 05:53:49 +00:00
Jim Kingdon 07112465eb * gdb.base/help.exp: Replace most of docstrings for "info signals"
and "signal" with ".*".
1995-01-09 21:32:53 +00:00
Jim Kingdon d71511fbd3 * TODO: Add note about "handle all nostop".
* gdb.base/{sigall.c, sigall.exp}: New test.
	* gdb.base/Makefile.in: Add it.
1995-01-08 23:03:28 +00:00
Stan Shebs 26e4dcae58 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
when invoking GDB, suppresses any windowing interface.
1995-01-06 01:37:18 +00:00
Jim Kingdon 9b826d6df6 * gdb.base/list.exp (test_forward_search): Set timeout higher
when we'll be getting lots of output from gdb.

	* gdb.base/a1-selftest.exp: Move code that was inside expect -re
	"init_malloc" to after the expect statement.  Run it if that
	regexp is taken, but also for two others which happen if source
	cannot be found.
1994-12-22 00:32:15 +00:00
Peter Schauer 633e623803 * gdb.base/list.exp: Correct some alternate expect patterns
to reflect changes in list1.c.
1994-12-19 08:37:53 +00:00
Stan Shebs 3046ecae1f * gdb.base/a1-selftest.exp: Change initial stepping to know about
additional line of code that was added.
1994-12-02 07:17:28 +00:00
Peter Schauer 68906e4c3f * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
through signal handler.
1994-10-29 09:58:01 +00:00
Jim Kingdon 62433a301a * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
bug involving using inferior_pid to figure out whether to select a
	frame.
1994-10-09 14:52:02 +00:00
Jeff Law 9fa1bd1f40 * gdb.base/commands.exp: New tests for if/while commands. 1994-09-08 06:02:58 +00:00
Ian Lance Taylor 2c5d4a3443 * configure.in: Change i386 to i[345]86.
* gdb.base/configure.in: Likewise.
	* gdb.c++/configure.in: Likewise.
	* gdb.chill/configure.in: Likewise.
1994-08-24 17:18:05 +00:00
J.T. Conklin b933a608ed Obsolete file. 1994-07-29 00:41:04 +00:00
J.T. Conklin 9f70e45075 * gdb.base/configure.in: Look for makefile fragments in ../config.
Recognize i386-*-netware.
* gdb.c++/configure.in: Likewise.
1994-07-28 20:38:45 +00:00
J.T. Conklin a488d496ec * gdb.base/opaque.exp: use runto instead of messing around with
breakpoints.
1994-07-25 23:34:23 +00:00
J.T. Conklin 316567f0ff Upgraded to use gdb_test. 1994-07-22 21:14:03 +00:00
J.T. Conklin fafc71bab7 Use gdb_run_cmd 1994-07-20 17:38:05 +00:00
J.T. Conklin 27b4d34f08 * gdb.base/funcargs.exp: Use gdb_run_cmd to start program. 1994-07-19 22:57:29 +00:00
J.T. Conklin c5ea7f99a4 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program. 1994-07-19 22:19:25 +00:00
J.T. Conklin 940423347b Mostly converted to use gdb_test proc. 1994-07-19 21:42:58 +00:00
J.T. Conklin 7e63dc5fb2 This config file didn't belong here 1994-07-19 21:33:15 +00:00
J.T. Conklin 3e304ddfab * gdb.base/bitfields.exp: Simplify by using delete_breakpoints and
gdb_test.
* lib/gdb.exp (gdb_test): if match times out, don't call fail if
  message is "".
1994-07-19 17:33:52 +00:00
J.T. Conklin 98f6da4f02 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
return,signals,twice}.exp: Handle non-existant binaries
  consistantly.
1994-07-18 22:27:07 +00:00
J.T. Conklin 8f2d75fcf4 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
* gdb.base/Makefile.in: Don't try to generate a core dump, we
  might testing a cross development system.
1994-07-18 19:25:50 +00:00
J.T. Conklin 29a3db493f * gdb.base/Makefile.in: Added support for systems that name core
files by appending "core" to the program name.
* gdb.base/a1-selftest.exp: Likewise.
1994-07-12 19:33:37 +00:00
Stan Shebs 08df328495 Various updates 1994-07-12 01:43:09 +00:00
Stan Shebs 48f6098e1d Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
* Makefile.in (site.exp): Don't insert host_os, etc.
	(just-check): Just use RUNTEST with RUNTESTFLAGS only.
	(distclean): Check existence of subdir.
	* gdb.base/configure.in (hppa*-*-hpux*): Recognize.
	* gdb.base/Makefile.in: General cleanup and simplification.
	Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
	to build executables.	Use default rule to build .o files.
	(EXPECT, RUNTEST, CC): Fix relative pathname.
	(site.exp): Don't insert host_os, etc.
	* gdb.base/signals.c (main): Don't call signal unless SIGALRM
	and/or SIGUSR1 defined.
	* gdb.base/watchpoint.c: Don't include stdio.h a second time.
	* gdb.c++/Makefile.in: General cleanup and simplification.
	Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
	(CFLAGS): Remove.
	(EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
1994-06-15 19:31:19 +00:00
Stan Shebs ef44eed173 Reorganized GDB tests - base 1994-06-07 01:57:15 +00:00