]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
* config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
authorDaniel Jacobowitz <drow@false.org>
Sun, 18 Jan 2004 15:23:30 +0000 (15:23 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 18 Jan 2004 15:23:30 +0000 (15:23 +0000)
commitda6012e52d0682c9f884d769fca82b89b3408798
treee6b63a917aa0d609e77e44097b2d249cb3c98487
parent4389ce38f0d2e743b101f6cdf8e508c6cfa8150b
* config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
Remove downloading, guessing the host executable, the calls to
gdb_file_cmd and gdb_target_cmd, and "load" support.
(infer_host_exec): New function broken out from gdb_load.
(gdb_load): New wrapper for gdbserver_gdb_load.
* lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
gdb_target_cmd.  Use -target-select.
(mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
Download binaries to the host.  Clear last_mi_remote_file when
we load a new binary.
(mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
call gdbserver_gdb_load and mi_gdb_target_cmd.
gdb/testsuite/ChangeLog
gdb/testsuite/config/gdbserver.exp
gdb/testsuite/lib/mi-support.exp