Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@cygnus.com>
To: Elena Zannoni <ezannoni@cygnus.com>
Cc: Andrew Cagney <ac131313@cygnus.com>, <gdb@sources.redhat.com>,
	insight <insight@sources.redhat.com>
Subject: Re: [RFC] Inferior stop events
Date: Fri, 15 Jun 2001 10:58:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.33.0106151048310.29589-100000@makita.cygnus.com> (raw)
In-Reply-To: <15146.18835.106402.751752@kwikemart.cygnus.com>

On Fri, 15 Jun 2001, Elena Zannoni wrote:

>
> Hmmm, memory failing... aging process irreversible....
> I seem to recall we did something for inferior events notification
> Try looking at inferior_event_handler in inf-loop.c.

Ahhh... Two comments:

1) It doen't seem complete.
2) It's not an event source! It posts no events to the event queue...

Even if we could put some sort of event posting into
inferior_event_handler, we're STILL missing reasons for the stop, which
(was) already known by the time this function is called.

> But yes, the reason for stopping is just spit out directly from
> print_stop_reason.  Another thing to keep in mind is that MI was
> designed from the start using an async remote target. That had
> definitely an influence on how we did things. Remember the out-of-band
> output category?

I'm sorry, but I just don't see how this conflicts with what I've done.
IMO, gdb-events.sh and my proposed change is correct (or is at least
closer to being correct). What MI does (print_stop_reason modification) is
wrong. It does not generate an event, which is not hard to believe, given
that MI is really not event driven. It's just another command line with
different input/output syntaxes.

I guess I'm dense -- I do use a GUI for debugging, after all.
Keith


  reply	other threads:[~2001-06-15 10:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-13 13:45 Keith Seitz
2001-06-14  0:59 ` Eli Zaretskii
2001-06-14  8:13   ` Keith Seitz
2001-06-14  9:00     ` Eli Zaretskii
2001-06-15  0:10 ` Andrew Cagney
2001-06-15  7:38   ` Keith Seitz
2001-06-15 10:44     ` Elena Zannoni
2001-06-15 10:58       ` Keith Seitz [this message]
2001-06-15 13:44         ` 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=Pine.GSO.4.33.0106151048310.29589-100000@makita.cygnus.com \
    --to=keiths@cygnus.com \
    --cc=ac131313@cygnus.com \
    --cc=ezannoni@cygnus.com \
    --cc=gdb@sources.redhat.com \
    --cc=insight@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