This is the mail archive of the
mailing list for the GDB project.
Re: -var-update and address changes
On Fri, Apr 14, 2006 at 01:04:22PM -0700, Jim Ingham wrote:
> If you have a disassembly view showing, and you are clicking around
> on the stack, Xcode fetches enough code to fill the disassembly
> window around the pc of the frame you've selected on the stack.
> Having the pc returned with the stack frame eliminates one round
> trip. People tend to nervously click around on the stack for no
> apparent reason while they are thinking about the problem they are
> working on. So this needs to be somewhat quick, though this one
> round trip is probably negligible. OTOH the fewer things you have to
> do by "send a request, wait for the reply, do the next request" the
> easier it is to program on the client side. I wouldn't lean too hard
> on this one way or another.
Let me rephrase.
This is the PC associated with the frame, right now. It's not the PC
in the frame ID at all. That PC is the start of the function
containing the frame.