diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-06-02 03:09:32 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-06-02 03:09:32 +0000 |
commit | 2c16140788f0d0df61228801ca26ad552150693d (patch) | |
tree | 9007c9fb7366426a0afd07c34c8ead6fb086891c /gdb/testsuite/gdb.asm/asm-source.exp | |
parent | 143985b7f3c98d0644b2eef50059f14974fe9d64 (diff) | |
download | gdb-2c16140788f0d0df61228801ca26ad552150693d.zip gdb-2c16140788f0d0df61228801ca26ad552150693d.tar.gz gdb-2c16140788f0d0df61228801ca26ad552150693d.tar.bz2 |
* gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
of globalvar.
Diffstat (limited to 'gdb/testsuite/gdb.asm/asm-source.exp')
-rw-r--r-- | gdb/testsuite/gdb.asm/asm-source.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp index 9fbe0da..8c3f003 100644 --- a/gdb/testsuite/gdb.asm/asm-source.exp +++ b/gdb/testsuite/gdb.asm/asm-source.exp @@ -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 |