diff options
author | Daniel Jacobowitz <dan@debian.org> | 2003-06-02 03:09:32 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2003-06-02 03:09:32 +0000 |
commit | 1b2dba29133800b770bee46b2cb5782dc85c9a4a (patch) | |
tree | df29cbe1446bcb8c36a7a6c699d45b2f4dcdcd91 /gdb/testsuite/gdb.asm | |
parent | 98cdde3b4a783a09b9be0ab4d54f47303271029e (diff) | |
download | gdb-1b2dba29133800b770bee46b2cb5782dc85c9a4a.tar.gz |
* gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
of globalvar.
Diffstat (limited to 'gdb/testsuite/gdb.asm')
-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 9fbe0da0f7e..8c3f00325ad 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 |