IA32: printing FP register variables

Joern Rennecke amylaar@cygnus.co.uk
Fri Jul 9 10:31:00 GMT 1999


> I would suggest that we may use a "negative" ST value.  The debugger can
> always know the depth of the stack from reading the status registers, so
> saying that something was in ST(7) could be interpreted as the top-most
> stack item, ST(6) as one below that, and so on.  As long as the relative
> position of items on the stack didn't change (this var is always 2 from the
> top), this should be OK.

I think you get more stable position designations by considering the
position relative to the bottom of the stack.


More information about the Gdb mailing list