This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
How can GDB/MI give the current frame (was Re: Changing "info frame" output?)
> What exactly does EMACS use? Sigh!
Very little. Just the address, procedure name, filename and line no. (if
available). I used the command "frame" initially, but its output wasn't as
consistent.
> Start a new thread (I don't know why I missed it). My only memory in
> this area is that there needs to be both a light-weight and heavy weight
> frame info call (info frame is heavy weight - it forces a full frame
> unwind).
It sounds like all I would need is the lightweight call via MI. I called `my
command' "-stack-info-frame", after looking at the GDB manual, and out of
ignorance. "-stack-frame" might be more appropriate.
Nick