public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* assembly display -vs- popups
@ 2000-04-17 12:46 Tom Tromey
  2000-04-17 12:58 ` James Ingham
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Tromey @ 2000-04-17 12:46 UTC (permalink / raw)
  To: Insight List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-17 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-17 12:46 assembly display -vs- popups Tom Tromey
2000-04-17 12:58 ` James Ingham

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).