This is the mail archive of the gdb@sourceware.org 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]
Other format: [Raw text]

Re: -var-update and address changes


 > > Can somebody suggest the right fix? So far, I think that the simplest
 > > approach is to make gdb print stack address of current frame, like is done
 > > on the Apple branch:
 > > 
 > >      553^done,stack=[frame= 
 > >      {level="0",addr="0x00003db0",fp="0xbffff2c0",......
 > > 
 > > That way, frontend can deal with the issue of frame stacks themself, and
 > > -var-update will be only used when single-stepping inside a given frame.
 > > Will patches to implement this be welcome?
 > 
 > I guess.  It seems reasonable.

ISTR that Totalview displays the fp address of each frame in the call stack.
This seems natural and I wonder why "info stack" chooses to display the pc
addresses.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


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