public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@cygnus.com>
To: Insight List <insight@sourceware.cygnus.com>
Subject: assembly display -vs- popups
Date: Mon, 17 Apr 2000 12:46:00 -0000	[thread overview]
Message-ID: <87bt38h5kp.fsf@cygnus.com> (raw)

While debugging my gcj-generated stubs I always use the assembly view,
because there isn't any source corresponding to the code I'm
debugging.

In assembly mode I see code like this (on my x86 box):

-	0x403077ca	<simple_int.nat(int)+42>:		mov    %eax,0xfffffff8(%ebp)

If I highlight "%ebp", I'd like it to display the value of the
register in the balloon.  Unfortunately, it does not, because "%ebp"
is not valid gdb syntax for getting the register value.

A hack would be to do `s/%/$/' to the expression in assembly mode.

This is bad because ideally I'd like to be able to highlight
0xfffffff8(%ebp) and have it do the right thing.  Maybe assembly needs
a different expression evaluator, making this a more general gdb
problem?

Tom

             reply	other threads:[~2000-04-17 12:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-17 12:46 Tom Tromey [this message]
2000-04-17 12:58 ` James Ingham

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=87bt38h5kp.fsf@cygnus.com \
    --to=tromey@cygnus.com \
    --cc=insight@sourceware.cygnus.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).