Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] Add observer notification in normal_stop
@ 2003-03-18  1:49 Joel Brobecker
  2003-03-18  1:51 ` Joel Brobecker
  0 siblings, 1 reply; 7+ messages in thread
From: Joel Brobecker @ 2003-03-18  1:49 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-03-18 19:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-18  1:49 [RFA] Add observer notification in normal_stop Joel Brobecker
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox