Suggested, reviewed, and approved by Daniel Jacobowitz <drow@false.org>
authorFred Fish <fnf@specifix.com>
Wed, 17 May 2006 23:59:40 +0000 (23:59 +0000)
committerFred Fish <fnf@specifix.com>
Wed, 17 May 2006 23:59:40 +0000 (23:59 +0000)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/relocate.exp

index 6b74c4dce6a35d5e2163fb826ec80592e54b84a0..ff8b5cf684a39be730d31b2355c0c9cd21be1cab 100644 (file)
@@ -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
index 13ea62aa8241e00f00f998c85d3af21242215c78..320a9c15b59ae6704e066aa393a0c03d59bdfcaf 100644 (file)
@@ -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"