This is the mail archive of the
insight@sourceware.cygnus.com
mailing list for the Insight project.
assembly display -vs- popups
- To: Insight List <insight at sourceware dot cygnus dot com>
- Subject: assembly display -vs- popups
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 17 Apr 2000 13:48:22 -0600
- Reply-To: tromey at cygnus dot com
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