This is the mail archive of the
mailing list for the GDB project.
Re: MI: performance of getting stack arguments
> From: Nick Roberts <firstname.lastname@example.org>
> Date: Wed, 19 Apr 2006 09:37:13 +1200
> Cc: Robert Dewar <email@example.com>, Vladimir Prus <firstname.lastname@example.org>, email@example.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.