* gdb.asm/asm-source.exp: Dissassemble from &globalvar instead

of globalvar.
This commit is contained in:
Daniel Jacobowitz 2003-06-02 03:09:32 +00:00
parent 143985b7f3
commit 2c16140788
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-06-01 Daniel Jacobowitz <drow@mvista.com>
* gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
of globalvar.
2003-06-01 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp: Check for memory read errors in

View File

@ -336,7 +336,7 @@ proc test_dis { command var } {
# See if we can look at a global variable, three ways
gdb_test "print globalvar" ".* = 11" "look at global variable"
test_dis "x/i globalvar" "globalvar"
test_dis "x/i &globalvar" "globalvar"
test_dis "disassem &globalvar &globalvar+1" "globalvar"
# See if we can look at a static variable, three ways