diff options
author | Daniel Jacobowitz <drow@false.org> | 2010-03-15 02:57:57 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2010-03-15 02:57:57 +0000 |
commit | f572f0a930291aa39785559992f995b89ae9353c (patch) | |
tree | cb959777aeac8c782ad7fac155f47250a8158b26 | |
parent | 3c13bc11c316f90ec47839c30301115d2cd12eef (diff) | |
download | gdb-f572f0a930291aa39785559992f995b89ae9353c.zip gdb-f572f0a930291aa39785559992f995b89ae9353c.tar.gz gdb-f572f0a930291aa39785559992f995b89ae9353c.tar.bz2 |
* gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
Use gdb_load later.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/printcmds.exp | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5e990ac..9f2122a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-03-14 Daniel Jacobowitz <dan@codesourcery.com> + + * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load. + Use gdb_load later. + 2010-03-14 Pedro Alves <pedro@codesourcery.com> * gdb.base/solib-disc.c (main): Make format of fprintf a string diff --git a/gdb/testsuite/gdb.base/printcmds.exp b/gdb/testsuite/gdb.base/printcmds.exp index 9c2cd6b..ba1c3d7 100644 --- a/gdb/testsuite/gdb.base/printcmds.exp +++ b/gdb/testsuite/gdb.base/printcmds.exp @@ -768,7 +768,7 @@ gdb_test "ptype \"abc\"" " = char \\\[4\\\]" gdb_test "print \$cvar = \"abc\"" " = \"abc\"" gdb_test "print sizeof (\$cvar)" " = 4" -gdb_load ${binfile} +gdb_file_cmd ${binfile} gdb_test "print \$pc" "No registers\\." "print \$pc (with file)" @@ -779,6 +779,7 @@ gdb_test "set width 0" "" if [set_lang_c] then { gdb_test "p ctable1\[120\]" "120 'x'" "p ctable1\[120\] #1" + gdb_load ${binfile} if [runto_main] then { test_integer_literals_accepted test_integer_literals_rejected |