Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Keith Seitz <keiths@redhat.com>
Cc: gdb@sources.redhat.com
Subject: Re: [MI] -break-insert: (a)synchronous?
Date: Thu, 13 Jun 2002 17:30:00 -0000	[thread overview]
Message-ID: <3D09391B.1020700@cygnus.com> (raw)
In-Reply-To: <Pine.GSO.4.33.0206131334310.19373-100000@makita.cygnus.com>

> Hi,
> 
> Ok, I believe that there was some general consensus that we want
> asynchronus event notifications. Do we also want only one channel for the
> notification of these events?
> 
> It seems to me that we've got ways to communicate the breakpoint-create
> event: events and commands. Right now, -break-insert overrides the event
> handlers so that it can grab the data about the breakpoint when it is
> created, but inserting a breakpoint via another interpreter (like the

> (Ok, so we could also just add the "bkpt=..." info that is being used in
> -break-insert onto this command, but in any case, we get no "event" when
> inserting via -break-insert.)
> 
> I would prefer that we use only event notifications, of course.
> 
> That way, the the UI could call -break-info on these events to collect
> the information. This way, I only have to write one parser to deal with this
> event. (Actually, if I had to deal with both, I would just grab the

The command was implemented that way to match its documented spec.  I 
remember wondering about alternate implementations at the time.

Sounds like it is time to either define a new command (not capture the 
events) or change the spec.

Andrew



  reply	other threads:[~2002-06-14  0:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-13 13:55 Keith Seitz
2002-06-13 17:30 ` Andrew Cagney [this message]
2002-06-13 19:27   ` Keith Seitz
2002-06-14  9:33     ` Andrew Cagney
2002-06-14 10:49       ` Keith Seitz
2002-06-14 11:23         ` Daniel Jacobowitz
2002-06-14 11:48           ` Andrew Cagney

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=3D09391B.1020700@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb@sources.redhat.com \
    --cc=keiths@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