From 2c16140788f0d0df61228801ca26ad552150693d Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 2 Jun 2003 03:09:32 +0000 Subject: [PATCH] * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead of globalvar. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.asm/asm-source.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index db56e2191c..e5f278e92d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-06-01 Daniel Jacobowitz + + * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead + of globalvar. + 2003-06-01 Mark Kettenis * gdb.asm/asm-source.exp: Check for memory read errors in diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp index 9fbe0da0f7..8c3f00325a 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