From 582e64c29d17e25375cfe833976ef91e948231c3 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Wed, 17 May 2006 23:59:40 +0000 Subject: [PATCH] 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. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/relocate.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6b74c4dce6..ff8b5cf684 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 13ea62aa82..320a9c15b5 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"