MI: performance of getting stack arguments

Eli Zaretskii eliz@gnu.org
Wed Apr 19 08:45:00 GMT 2006


> From: Nick Roberts <nickrob@snap.net.nz>
> Date: Wed, 19 Apr 2006 09:37:13 +1200
> Cc: Robert Dewar <dewar@adacore.com>, 	Vladimir Prus <ghost@cs.msu.su>, gdb@sources.redhat.com
> 
> I agree.  The requirements are different: with CLI the user will generally type
> bt at a specific point in the session, while with MI the command
> "-stack-list-frames" gets sent every time the UI needs to update.

These are not _requirements_, these are _use_cases_.  The requirements
are the same: to be fast enough for most uses.  E.g., nothing prevents
me from including "bt" in the commands list of a breakpoint, which
would force GDB to produce the backtrace on each stop.



More information about the Gdb mailing list