From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-patches@sources.redhat.com
Cc: cagney@redhat.com
Subject: RFC: New failure in asm-source.exp
Date: Fri, 09 May 2003 18:47:00 -0000 [thread overview]
Message-ID: <20030509184501.GA6415@nevyn.them.org> (raw)
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
next reply other threads:[~2003-05-09 18:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-09 18:47 Daniel Jacobowitz [this message]
2003-05-09 20:40 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030509184501.GA6415@nevyn.them.org \
--to=drow@mvista.com \
--cc=cagney@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox