Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] Update profile of the dummy observer notification functions
@ 2004-04-16 17:11 Joel Brobecker
  2004-04-16 17:20 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Brobecker @ 2004-04-16 17:11 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]

The profile of the normal_stop notification function has been
changed to have a struct bpstats* as its parameter. This patch
updates accordingly the dummy notification functions we have
defined in observer.c for unit-testing purposes.

2004-04-16  Joel Brobecker  <brobecker@gnat.com>

        * observer.c (observer_test_first_notification_function): Update
        function profile.
        (observer_test_second_notification_function): Likewise.
        (observer_test_third_notification_function): Likewise.

OK to apply?

-- 
Joel

[-- Attachment #2: observer.c.diff --]
[-- Type: text/plain, Size: 858 bytes --]

Index: observer.c
===================================================================
RCS file: /cvs/src/src/gdb/observer.c,v
retrieving revision 1.5
diff -u -p -r1.5 observer.c
--- observer.c	15 Apr 2004 14:29:20 -0000	1.5
+++ observer.c	16 Apr 2004 17:05:47 -0000
@@ -172,19 +172,19 @@ int observer_test_second_observer = 0;
 int observer_test_third_observer = 0;
 
 void
-observer_test_first_notification_function (void)
+observer_test_first_notification_function (struct bpstats *bs)
 {
   observer_test_first_observer++;
 }
 
 void
-observer_test_second_notification_function (void)
+observer_test_second_notification_function (struct bpstats *bs)
 {
   observer_test_second_observer++;
 }
 
 void
-observer_test_third_notification_function (void)
+observer_test_third_notification_function (struct bpstats *bs)
 {
   observer_test_third_observer++;
 }

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

end of thread, other threads:[~2004-04-16 17:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-16 17:11 [RFA] Update profile of the dummy observer notification functions Joel Brobecker
2004-04-16 17:20 ` Daniel Jacobowitz
2004-04-16 17:30   ` Joel Brobecker

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