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] Update profile of the dummy observer notification functions
Date: Fri, 16 Apr 2004 17:11:00 -0000	[thread overview]
Message-ID: <20040416171137.GD22414@gnat.com> (raw)

[-- 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++;
 }

             reply	other threads:[~2004-04-16 17:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-16 17:11 Joel Brobecker [this message]
2004-04-16 17:20 ` Daniel Jacobowitz
2004-04-16 17:30   ` 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=20040416171137.GD22414@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