This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: How does GDB/MI give the current frame
Daniel Jacobowitz writes:
DJ>
DJ> Why not use -stack-info-frame?
Because AFAIK this MI command has not been implemented (yet).
Andrew Cagney writes:
AC> When the user does "up", "down", the debugger should generate a selected
AC> CLI frame changed event (it currently doesn't). If the GUI so chooses,
AC> it can track the users "selected" frame, by responding to these events.
I don't know what a selected CLI frame changed event is but up, down, and
frame generate MI output, so I imagine its just a case of hooking
-stack-info-frame and -stack-select-frame to that output. I will try to do
this if you think it's appropriate.
Nick