IA32: printing FP register variables

Jeffrey A Law law@cygnus.com
Sat Jul 10 20:08:00 GMT 1999


  In message < np908psfqu.fsf@zwingli.cygnus.com >you write:
  > Okay, but do you really want to emit up to eight stabs at every FP
  > instruction that changes the stack?
If that's what it takes to get access to FP variables, yes.

Another option would be to set up a stack in the debug symbols and
push/pop the debug symbol stack in a manner similar to what we do with
the actual FP regstack.  There's some serious issues with how we do this
portably, but it's worth thinking about.

  > I dunno --- maybe it's not a big deal.  It may not be worth creating a
  > whole new form of debugging info to save that space.  It is certainly
  > a problem the various LRS representations handle.  I'd certainly agree
  > we should try it first.
Compactness of debug symbols hasn't ever been a serious concern.  At some
point it will need to be addressed though.

However, we need to keep in mind this is only an issue for the x86.  No other
port has this kind of braindamage.

jeff


More information about the Gdb mailing list