Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
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 04:25:00 -0000	[thread overview]
Message-ID: <18509.60583.390202.377448@kahikatea.snap.net.nz> (raw)
In-Reply-To: <20080610022945.GA27459@caradoc.them.org>

 > > 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?
 > 
 > It's not about when the target is running.  Consider updating varobjs;
 > for every varobj with an associated frame, we will select the frame
 > and it will pass through select_frame.

Perhaps the answer then is to put notification explicitly in each CLI and MI
command (as I've proposed for thread_command and mi_cmd_thread_select).
However, it's always possible to just issue -stack-info-frame after execution
has stopped and maybe that's never expensive enough to justify such a brute
force approach.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


  reply	other threads:[~2008-06-10  2:54 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
2008-06-10  2:54     ` Daniel Jacobowitz
2008-06-10  4:25       ` Nick Roberts [this message]
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.60583.390202.377448@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