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
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
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
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
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
b6f32a5bb9
* config/sh.exp: New file.
...
* config/slite.exp: Try to connect multiple times to the board
before rebooting. Only send a "monitor run" if need_monitor_run
is set.
* gdb.base/break.exp: Don't do the "stub continue" test if
the target has gdb_stub set.
* gdb.base/callfuncs.exp: Increase the timeout.
* gdb.base/interrupt.exp: Don't even try to compile the testcase
if the target has gdb,noinferiorio set.
* gdb.base/list.exp: Increase match_max to 10000 characters.
* gdb.base/sigall.exp: Check for gdb,nosignals on the target.
* gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
target.
* lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
Misc fixes for sparclite and SH.
1997-02-05 06:25:42 +00:00
Bob Manson
85fbaa747f
* gdb.*/*.exp: Replace $prompt with $gdb_prompt.
...
* gdb.base/scope.exp: Use gdb_test.
* gdb.c++/classes.exp: Ditto.
* gdb.c++/inherit.exp: Ditto.
More random cleanups. Still lots to go, however.
1997-02-02 07:59:25 +00:00
Bob Manson
05a2139023
* gdb.base/crossload.exp: Don't use execute_anywhere, use
...
remote_exec instead.
* gdb.base/corefile.exp: Don't be ridiculous.
* gdb.base/*.c: Add missing stub invocations.
Fixes failures on HP-UX.
1997-01-31 21:21:31 +00:00
Bob Manson
0e865b3950
Miscellaneous fixes for config/slite.exp.
1997-01-31 04:38:01 +00:00
Bob Manson
787f622077
Major revision to testsuites for cross-testing and DOS testing support.
1997-01-29 09:40:31 +00:00
Jeff Law
83d6b9df83
Fix problems introduced in last change (two "Do-first" lines).
1996-11-04 20:49:59 +00:00
Michael Snyder
7e69daa771
Filter changes for m32r target.
1996-10-31 02:31:56 +00:00
Michael Snyder
f8931413c9
Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* config/m32r.exp: New file.
1996-10-31 02:30:32 +00:00
Stu Grossman
4ed1437f34
* config/sim-gdb.exp (gdb_target_sim): Remove setting of height
...
and width commands. This is done elsewhere.
* (gdb_start): Don't call gdb_start_sim here. That's already
done in gdb_load. This fixes lots of failures in default.exp.
1996-10-15 23:50:54 +00:00
Tom Tromey
7b2e7e8962
* config/slite-gdb.exp (gdb_start): Use "full_buffer", not
...
"buffer_full".
* config/nind-gdb.exp (gdb_start): Use "full_buffer", not
"buffer_full".
* config/mips-gdb.exp (gdb_start): Use "full_buffer", not
"buffer_full".
* lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
"buffer_full".
1996-08-07 19:17:09 +00:00
Brendan Kehoe
e95a45af92
* config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
1996-08-03 00:38:50 +00:00
Fred Fish
c137ee9799
* config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
...
* config/netware.exp (gdb_run_cmd): Restore old timeout before doing
error return.
1996-06-28 03:35:05 +00:00
Fred Fish
a26fa899a0
* lib/gdb.exp: Report timeout value for verbosity level 2.
...
* config/gdbserver.exp: Ditto.
* config/hppro.exp: Ditto.
* config/mips-gdb.exp: Ditto.
* config/monitor.exp: Ditto.
* config/netware.exp: Ditto.
* config/sim-gdb.exp: Ditto.
* config/slite-gdb.exp: Ditto.
* config/udi-gdb.exp: Ditto.
* config/unix-gdb.exp: Ditto.
* config/vx-gdb.exp: Ditto.
* gdb.base/a1-selftest.exp: Ditto.
* gdb.base/a2-run.exp: Ditto.
* gdb.base/break.exp: Ditto.
* gdb.base/corefile.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/recurse.exp: Ditto.
* gdb.base/scope.exp: Ditto.
* gdb.base/signals.exp: Ditto.
1996-06-26 04:38:38 +00:00
Jeff Law
2a24f7ff01
Keep abug.exp
1996-05-31 17:11:51 +00:00
Rob Savoye
4db6401f27
* config/abug.exp: New file for the older Motorola Bug monitor
...
that runs on the mvme13x series VME boards.
* config/monitor.exp: Use the new config array for target settings
if they exist.
1996-05-08 04:04:25 +00:00
Stan Shebs
ec6239dcc2
* sim-gdb.exp: Make the SH simulator allocate less space when
...
it is targeted.
1996-05-03 23:05:32 +00:00
Fred Fish
a7e254eca3
* config/unix-gdb.exp: Remove extraneous newlines from end of file.
1996-02-16 22:55:42 +00:00
Fred Fish
5c7516eee0
* config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
...
from dejagnu's apparent default of 10 seconds, which gives random results
when running the tests over NFS on moderately loaded systems.
* lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
1996-02-15 19:00:34 +00:00
Fred Fish
782445c7aa
From Rob Savoye (rob@poseidon.cygnus.com)
...
* Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in, configure.in},
gdb.disasm/{Makefile.in, configure.in}, gdb.stabs/{Makefile.in, configure.in},
gdb.threads/{Makefile.in, configure.in}: Major reworking for autoconfig.
* aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt : New files.
* config/unix-gdb.exp: Make GDB global.
* gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp, callfuncs.exp,
commands.exp, corefile.exp, crossload.exp, exprs.exp, funcargs.exp, interrupt.exp,
langs.exp, list.exp, mips_pro.exp, nodebug.exp, opaque.exp, printcmds.exp,
ptype.exp, recurse.exp, regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp,
signals.exp, term.exp, twice.exp, watchpoint.exp, whatis.exp},
gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp, templates.exp,
virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp, misc.exp, pr-4975.exp,
pr-5016.exp, pr-5020.exp, pr-5022.exp, pr-5646.exp, pr-5984.exp, pr-6292.exp,
pr-6632.exp, pr-8134.exp, pr-8136.exp, result.exp, string.exp, tuples.exp},
gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
to returns as necessary, arrange for test to compile own testcase executable.
* lib/gdb.exp: Changes for testsuite to compile own test cases.
From Fred Fish (fnf@cygnus.com )
* gdb.c++/classes.exp (test_pointers_to_class_members): Add
clear_xfail at end of test which might not call either pass or fail.
* gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
"backtrace through signal handler".
1995-11-25 19:55:29 +00:00
Stu Grossman
7c0fe2ebbd
* config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
...
* config/monitor.exp: Add support for setting baud rate.
1995-11-14 23:41:36 +00:00
Jeff Law
c4ef6e7609
* gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
...
makefile fragment.
* config/mt-hpux: Deleted.
Because we longer need to statically link nodebug for hpux.
1995-10-18 17:31:26 +00:00
Fred Fish
7abd80b9d3
Add hppro.exp, monitor.exp.
1995-08-03 17:06:45 +00:00
Fred Fish
6c9638b444
Update FSF address.
1995-08-02 03:41:12 +00:00
Brendan Kehoe
ac72325fa8
* config/vxworks29k.exp: New file, sources vxworks.exp.
1995-07-28 20:36:50 +00:00
Jeff Law
e72d862288
* config/gdbremote.exp: New file. Testing framework using
...
gdbserver.
Doesn't work with lynx yet, and you need to set a handful of variables
in your site.exp, but it's worth checking in now.
1995-07-28 07:31:40 +00:00
Jeff Law
f27ffb51f5
* gdb.threads: New directory with some crude multi-threaded
...
gdb tests (step.exp and step2.exp).
* config/mt-lynx (STEP_EXECUTABLE): Define.
(THREADFLAGS): Define.
Hiro's test for 6100 and a crude test of my own. They both need some
major cleanup for non-lynx hosts; both are also a little too loose in
their checks. But I'm too burnt out on lynx to address either concern.
1995-07-26 00:35:07 +00:00
Jim Kingdon
eea578da54
* lib/gdb.exp: Fix comment which erroneously identified
...
gdb_file_cmd as gdb_load (the 19 May change was in fact to
gdb_file_cmd not gdb_load).
* config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1995-05-24 15:12:13 +00:00
Stu Grossman
f031fc2c4b
* config/monitor.exp (gdb_target_monitor): Fix loop interator so
...
that loop eventually terminates.
1995-05-11 22:04:20 +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
Stu Grossman
1e2bb16402
* cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
1995-04-21 22:45:59 +00:00
Stu Grossman
43967a761c
* config/est.exp: Fix copyright and comments. Remove dead code.
...
Use targetname, serialport and baud variables instead of fixed
constants.
* config/rom68k.exp: Fix copyright and comments. Remove dead code.
* config/cpu32bug.exp: New file to support cpu32bug monitors.
1995-04-20 00:46:15 +00:00
David H. Webster
1b186bc331
Added the following files to "Things to Keep":
...
est.exp
rom68k.exp
slite-gdb.exp
1995-04-10 21:16:26 +00:00
Kung Hsu
4729c3e2ca
* config/slite-gdb.exp: Responds to load symbol table prompt.
1995-04-01 00:16:39 +00:00
Stu Grossman
8acb0655a0
New file for controlling the EST.
1995-03-25 00:37:09 +00:00
Jim Kingdon
8c7ab5da73
* config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
1995-03-24 20:05:28 +00:00
Kung Hsu
40ee1402e0
* config/mt-slite: add LIBS and -nostdlib.
...
* config/slite-gdb.exp: add this new file to support sparclite target.
1995-03-23 02:38:39 +00:00
David Edelsohn
11c54b4f40
* config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
1995-03-22 05:42:22 +00:00
Kung Hsu
0c4517b5f1
* config/mt-slite: add -Dusestubs.
1995-03-22 01:12:04 +00:00
Jim Kingdon
cc5be3662c
* config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
...
support the latter anymore.
1995-03-02 15:45:02 +00:00
Kung Hsu
cb58e516f9
* config/mips-gdb.exp (gdb_load): In every test case, we need to do
...
'file' command firts, then 'target', then 'load', this is due to gdb
target set up.
* config/mips-gdb.exp: Fix a couple regular exp bugs.
1995-03-01 00:35:09 +00:00
J.T. Conklin
2b53190db8
* config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
...
(LDFLAGS): Set to -Xlinker -Ur.
1995-02-17 00:54:00 +00:00
J.T. Conklin
3aa3c59383
add 1995 to copyright
1995-02-16 18:42:42 +00:00
J.T. Conklin
983bfa6327
* config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
...
of replicating gdb startup code.
1995-02-16 01:10:04 +00:00
J.T. Conklin
bdbe77580e
* config/mt-vxworks (LDFLAGS): Set to -r.
...
(CFLAGS_FOR_TARGET): Removed.
* config/vx-gdb.exp: always set prompt; gdb.exp sets it to
(gdb) and gdb for vxworks uses (vxgdb).
1995-02-16 00:44:43 +00:00
Stan Shebs
c5b92a77f6
keep sim-gdb.exp
1995-01-03 01:45:57 +00:00
Stan Shebs
8ef36cf363
* config/sim-gdb: New file, simulator testing support.
1995-01-03 01:44:08 +00:00
J.T. Conklin
6b55e5e3b9
* configure.in (*-*-netware): Use config/mt-netware.
...
* config/mt-netware: New file.
* config/mt-i386-netware: Removed, separate configs for different
netware architectures are no longer needed now that we have
--with-headers.
1994-10-21 18:34:40 +00:00
J.T. Conklin
662bd26379
* config/netware.exp: New file.
1994-08-02 17:27:18 +00:00
J.T. Conklin
af1fa5e7ca
* config/mt-slite (LDFLAGS): If using the newlib in the tree, set
...
the -B and -L prefixes so we can find the debugging stub.
1994-07-28 23:00:42 +00:00
J.T. Conklin
6380e4d28e
Minor tweaks
1994-07-12 22:23:25 +00:00
J.T. Conklin
c14cb8ce80
* config/mt-i386-netware: New file.
1994-07-12 20:12:01 +00:00
Stan Shebs
08df328495
Various updates
1994-07-12 01:43:09 +00:00
Stan Shebs
9da7b23745
Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
...
* config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
Remove all CC, etc definitions.
* config/mt-hpux: New file.
* config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
(CFLAGS, LDFLAGS): Define.
* config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
1994-06-15 19:49:41 +00:00
Stan Shebs
0fba9aa255
Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
...
* config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
* lib/gdb.exp (default_gdb_start): Define.
1994-06-08 19:25:43 +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
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
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
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
Jim Kingdon
83eab3d68d
Add unknown.exp
1994-02-19 00:37:57 +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
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
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
70dbc7514f
Tweaked to work with either version of expect.
1994-01-06 05:43:20 +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
Rob Savoye
2a1bb52757
Use ftp device rather than "load" command.
1993-09-20 23:01:45 +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
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
Rob Savoye
e4d30c7e6a
Load the udi library procedures.
1993-09-02 01:12:20 +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
1c65406fef
Use default version procedure.
1993-08-30 23:28:57 +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
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
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
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
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
283bd6dbf2
* config/unix-gdb.exp (gdb_load): Add eof to expect statement.
1993-08-10 21:09:41 +00:00