How does GDB/MI give the current frame

Nick Roberts nickrob@gnu.org
Sat Jun 26 09:10:00 GMT 2004


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



More information about the Gdb mailing list