This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bug: assembly syntax


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]