From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28555 invoked by alias); 16 Apr 2004 17:11:39 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28535 invoked from network); 16 Apr 2004 17:11:37 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 16 Apr 2004 17:11:37 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 7504147D63; Fri, 16 Apr 2004 10:11:37 -0700 (PDT) Date: Fri, 16 Apr 2004 17:11:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: [RFA] Update profile of the dummy observer notification functions Message-ID: <20040416171137.GD22414@gnat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2004-04/txt/msg00360.txt.bz2 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 536 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 * 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 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="observer.c.diff" Content-length: 858 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++; } --YiEDa0DAkWCtVeE4--