This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RFC: New failure in asm-source.exp
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc: cagney at redhat dot com
- Date: Fri, 9 May 2003 14:45:02 -0400
- Subject: RFC: New failure in asm-source.exp
Hey Andrew,
I think this is just a typo in your last change, but I'd like you to look at
it in case I'm missing something. You try to inspect globalvar instead of
&globalvar; the case for static variables is right.
OK?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Index: gdb.asm/asm-source.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/asm-source.exp,v
retrieving revision 1.33
diff -u -p -r1.33 asm-source.exp
--- gdb.asm/asm-source.exp 7 May 2003 21:52:53 -0000 1.33
+++ gdb.asm/asm-source.exp 9 May 2003 18:43:31 -0000
@@ -321,7 +321,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