Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@gnat.com>
To: gdb-patches@sources.redhat.com
Subject: [RFA] Add observer notification in normal_stop
Date: Tue, 18 Mar 2003 01:49:00 -0000	[thread overview]
Message-ID: <20030318014944.GJ16507@gnat.com> (raw)

Hello,

I am currently writing a regression test for observer.c, which will live
in testsuite/gdb.gdb. It's using a mechanism similar to xfullpath.exp.
But in order for the test to function, observer.o needs to be linked in.
This wasn't the case up to now, because there is currently no code using
it.

This patch is adding a call to observer_notify_normal_stop() inside
normal_stop. This notification will be useful later, when the latest
version of ada-task.c (from ACT's repository, accessible from
libre.act-europe.fr BTW) is contributed. In the meantime, the overhead
is really minimal and it allows us to test observer.c by debugging gdb.

2003-03-17  J. Brobecker  <brobecker@gnat.com>

        * infrun.c (observer.h): Add #include.
        (normal_stop): Add call to observer_notify_normal_stop.
        * Makefile.in (infrun.o): Add dependency on observer.h.

Ok to apply?
-- 
Joel


             reply	other threads:[~2003-03-18  1:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-18  1:49 Joel Brobecker [this message]
2003-03-18  1:51 ` Joel Brobecker
2003-03-18 15:50   ` Andrew Cagney
2003-03-18 18:22     ` Joel Brobecker
2003-03-18 19:00       ` Andrew Cagney
2003-03-18 19:07         ` Joel Brobecker
2003-03-18 19:12           ` Joel Brobecker

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=20030318014944.GJ16507@gnat.com \
    --to=brobecker@gnat.com \
    --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