* config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
authorDaniel Jacobowitz <drow@false.org>
Tue, 27 Mar 2007 17:59:38 +0000 (17:59 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 27 Mar 2007 17:59:38 +0000 (17:59 +0000)
commitb741e217929039042129802a61e4510c580ecc79
tree7f95fddc87c00954b65a276ae74af2533d50aa59
parentd2449ee801d18f5af7317bc72c92bc9bbb7b669e
* config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
(gdb_load): Delete, replace with...
(gdb_reload): ...this.
* gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
* gdb.server/server-mon.exp: Likewise.
* lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
(gdb_start_cmd): New.
(gdb_file_cmd): Save the last loaded file.
(gdb_reload): New.
(gdb_gnu_strip_debug): Use transform.
* lib/gdbserver-support.exp (gdbserver_spawn): Move file download
support here.  Use new $last_loaded_file.  Check mtime.
(gdb_target_cmd): Handle ObjC failure case.
(infer_host_exec): Delete.
(gdbserver_load): Rename to...
(gdbserver_run): ...this.  Simplify.
* lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
(mi_gdb_load): Move most contents to a new function...
(mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
(mi_run_cmd): Use mi_gdb_target_load.
* gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
Use gdb_run_cmd.
* gdb.base/charsign.exp: Remove incorrect comment.
* gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
* gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
gdb.base/start.exp: Use gdb_start_cmd.
19 files changed:
gdb/testsuite/ChangeLog
gdb/testsuite/config/gdbserver.exp
gdb/testsuite/gdb.ada/exec_changed.exp
gdb/testsuite/gdb.ada/null_record.exp
gdb/testsuite/gdb.ada/start.exp
gdb/testsuite/gdb.base/break.exp
gdb/testsuite/gdb.base/charsign.exp
gdb/testsuite/gdb.base/dbx.exp
gdb/testsuite/gdb.base/ending-run.exp
gdb/testsuite/gdb.base/pending.exp
gdb/testsuite/gdb.base/sepdebug.exp
gdb/testsuite/gdb.base/start.exp
gdb/testsuite/gdb.base/unload.exp
gdb/testsuite/gdb.objc/objcdecode.exp
gdb/testsuite/gdb.server/server-mon.exp
gdb/testsuite/gdb.server/server-run.exp
gdb/testsuite/lib/gdb.exp
gdb/testsuite/lib/gdbserver-support.exp
gdb/testsuite/lib/mi-support.exp
This page took 0.026874 seconds and 4 git commands to generate.