From: Nick Roberts <nickrob@snap.net.nz>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH:MI] Event notification
Date: Tue, 10 Jun 2008 02:20:00 -0000 [thread overview]
Message-ID: <18509.56150.132277.869905@kahikatea.snap.net.nz> (raw)
In-Reply-To: <20080501185728.GE22218@caradoc.them.org>
> ... I
> think that the frame changed observer will fire too often;
> select_frame is often used with cleanups to temporarily select another
> frame.
How about conditioning it so that it only fires when the target isn't running,
e.g., with the up, down, frame, -stack-select-frame etc commands?
Something like:
if (!target_can_async_p () && !target_executing)
observer_notify_frame_changed ();
which I realise isn't right because target_executing is for async mode.
In synchronous mode, is there a way to distinguish between the target
stopping normally and stopping while GDB executes?
--
Nick http://www.inet.net.nz/~nickrob
next prev parent reply other threads:[~2008-06-10 1:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-18 0:42 Nick Roberts
2008-05-01 18:57 ` Daniel Jacobowitz
2008-06-10 2:20 ` Nick Roberts [this message]
2008-06-10 2:54 ` Daniel Jacobowitz
2008-06-10 4:25 ` Nick Roberts
2008-06-10 7:02 ` Pedro Alves
2008-05-04 12:19 ` Vladimir Prus
2008-05-04 21:34 ` Daniel Jacobowitz
2008-05-04 23:19 ` Nick Roberts
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=18509.56150.132277.869905@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=drow@false.org \
--cc=gdb-patches@sources.redhat.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