aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2006-05-17 23:59:40 +0000
committerFred Fish <fnf@specifix.com>2006-05-17 23:59:40 +0000
commit582e64c29d17e25375cfe833976ef91e948231c3 (patch)
tree8e2ccd4e37e0b724b85fedd58489d79979ed8057 /gdb
parent00988f494c6923121470f20e6c95d1bf4bd02ada (diff)
downloadgdb-582e64c29d17e25375cfe833976ef91e948231c3.zip
gdb-582e64c29d17e25375cfe833976ef91e948231c3.tar.gz
gdb-582e64c29d17e25375cfe833976ef91e948231c3.tar.bz2
Suggested, reviewed, and approved by Daniel Jacobowitz <drow@false.org>
2006-05-17 Fred Fish <fnf@specifix.com> * gdb.base/relocate.exp: Use gdb_file_cmd rather than gdb_load, so it works in the simulator.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/relocate.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 6b74c4d..ff8b5cf 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-17 Fred Fish <fnf@specifix.com>
+
+ * gdb.base/relocate.exp: Use gdb_file_cmd rather than
+ gdb_load, so it works in the simulator.
+
2006-05-11 Fred Fish <fnf@specifix.com>
* gdb.base/bang.exp: Ignore unexpected output between the
diff --git a/gdb/testsuite/gdb.base/relocate.exp b/gdb/testsuite/gdb.base/relocate.exp
index 13ea62a..320a9c1 100644
--- a/gdb/testsuite/gdb.base/relocate.exp
+++ b/gdb/testsuite/gdb.base/relocate.exp
@@ -137,7 +137,7 @@ if { "${function_foo_addr}" == "${new_function_foo_addr}" } {
gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
-gdb_load ${binfile}
+gdb_file_cmd ${binfile}
# Check the values of the variables.
gdb_test "print static_foo" "\\\$$decimal = 1"