* lib/gdb.exp(gdb_step_for_stub): New function.
authorBob Manson <manson@cygnus>
Sat, 13 Sep 1997 00:07:21 +0000 (00:07 +0000)
committerBob Manson <manson@cygnus>
Sat, 13 Sep 1997 00:07:21 +0000 (00:07 +0000)
commiteb16c04c8c232558f68b424bcb62b285fd2d9002
treeb90cdc3bdd882df61307b3e8a44d88571fd3724d
parenta3138f51f6f59f8ce1d801e638bcc6559624f02a
* 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.
gdb/testsuite/ChangeLog