From: Nick Roberts <nickrob@snap.net.nz>
To: Eli Zaretskii <eliz@gnu.org>
Cc: jingham@apple.com, dewar@adacore.com, ghost@cs.msu.su,
gdb@sources.redhat.com
Subject: Re: MI: performance of getting stack arguments
Date: Wed, 19 Apr 2006 09:02:00 -0000 [thread overview]
Message-ID: <17477.62642.286957.5130@farnswood.snap.net.nz> (raw)
In-Reply-To: <uacaixamj.fsf@gnu.org>
> > 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.
Whatever you want to call them I think, in practice, such commands will
generally be issued more frequently with a UI than from the command line.
Improving the response time can be tackled at two ends of course: not only
making the command run more quickly but also running it less frequently. For
example, using event notification to tell the UI when the current frame has
changed. Currently for Emacs I request a new stack after each user command,
which is clearly inefficient.
--
Nick http://www.inet.net.nz/~nickrob
next prev parent reply other threads:[~2006-04-19 8:28 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-18 16:40 Vladimir Prus
2006-04-18 16:45 ` Daniel Jacobowitz
2006-04-18 21:15 ` Jim Ingham
2006-04-19 7:55 ` Vladimir Prus
2006-04-19 16:13 ` Eli Zaretskii
2006-04-20 8:50 ` Daniel Jacobowitz
2006-04-26 14:10 ` Vladimir Prus
2006-04-26 14:59 ` Daniel Jacobowitz
2006-04-26 18:02 ` Vladimir Prus
2006-04-26 18:17 ` Daniel Jacobowitz
2006-04-18 19:11 ` Jim Ingham
2006-04-18 21:35 ` Robert Dewar
2006-04-18 21:37 ` Jim Ingham
2006-04-19 6:08 ` Robert Dewar
2006-04-19 7:30 ` Vladimir Prus
2006-04-19 6:11 ` Nick Roberts
2006-04-19 8:45 ` Eli Zaretskii
2006-04-19 9:02 ` Nick Roberts [this message]
2006-04-19 12:40 ` Eli Zaretskii
2006-04-20 10:22 ` Jim Ingham
2006-04-19 6:20 ` Vladimir Prus
2006-04-19 8:28 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17477.62642.286957.5130@farnswood.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=dewar@adacore.com \
--cc=eliz@gnu.org \
--cc=gdb@sources.redhat.com \
--cc=ghost@cs.msu.su \
--cc=jingham@apple.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox