This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
bug: assembly syntax
- To: Gdb List <gdb at sourceware dot cygnus dot com>
- Subject: bug: assembly syntax
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 17 Apr 2000 15:56:14 -0600
- Reply-To: tromey at cygnus dot com
I'm using Insight.
It has a nice feature whereby if I highlight some text in the source
window, Insight will run it through the expression evaluator and pop
up the value in a balloon window. This is really cool.
Unfortunately, it doesn't work when I'm using the assembly display
mode. For instance, I'm debugging some x86 code. One line looks like
this:
- 0x403077e7 <simple_int.nat(int)+71>: mov %eax,0xfffffff0(%ebp)
I'd like to put the mouse over (or select) `%ebp' and see the value of
that register. This doesn't work, though, because `%ebp' is not a
valid way to get the register value from gdb.
It might be possible to hack around this in Insight, but the Insight
hackers would rather not, and I don't blame them.
Worse, I'd also like to highlight `0xfffffff0(%ebp)' and get the right
value. To me this says that gdb needs to have some sort of special
assembly language expression evaluator.
Tom