From: Fred Fish Date: Wed, 17 May 2006 23:59:40 +0000 (+0000) Subject: Suggested, reviewed, and approved by Daniel Jacobowitz X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=582e64c29d17e25375cfe833976ef91e948231c3;p=binutils-gdb.git Suggested, reviewed, and approved by Daniel Jacobowitz 2006-05-17 Fred Fish * gdb.base/relocate.exp: Use gdb_file_cmd rather than gdb_load, so it works in the simulator. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6b74c4dce6a..ff8b5cf684a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-05-17 Fred Fish + + * gdb.base/relocate.exp: Use gdb_file_cmd rather than + gdb_load, so it works in the simulator. + 2006-05-11 Fred Fish * 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 13ea62aa824..320a9c15b59 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"