* RFC: New failure in asm-source.exp
@ 2003-05-09 18:47 Daniel Jacobowitz
2003-05-09 20:40 ` Andrew Cagney
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Jacobowitz @ 2003-05-09 18:47 UTC (permalink / raw)
To: gdb-patches; +Cc: cagney
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: RFC: New failure in asm-source.exp
2003-05-09 18:47 RFC: New failure in asm-source.exp Daniel Jacobowitz
@ 2003-05-09 20:40 ` Andrew Cagney
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2003-05-09 20:40 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb-patches, cagney
> 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.
``It worked for me'', but yes it should have the ``&'', weird.
Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-09 20:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-09 18:47 RFC: New failure in asm-source.exp Daniel Jacobowitz
2003-05-09 20:40 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox