[RFA] Update profile of the dummy observer notification functions
Joel Brobecker
brobecker@gnat.com
Fri Apr 16 17:11:00 GMT 2004
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
-------------- next part --------------
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++;
}
More information about the Gdb-patches
mailing list