[RFC] Prints the frame id when target stops
Denis PILAT
denis.pilat@st.com
Mon Jan 15 16:21:00 GMT 2007
We are optimizing the usage of MI commands into our Eclipse based UI.
In some cases, it could take a while (and sometime more!) to refresh the
thread list and the stack frame, and Eclipse does it very often.
We'd like to avoid refreshing the thread and the frame view when the
user perform a step (or a next) and when the program stops in the same
thread and in the same frame.
In the stop reason we got the current thread id, but we are missing
something to identify the frame.
That patch lets gdb emits on the MI output a string that could be used
to easily identify the current frame.
If you are ok with this approach then I'll update the testsuite.
--
Denis PILAT / STMicroelectronics
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stack.c.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070115/7068bd4b/attachment.ksh>
More information about the Gdb-patches
mailing list