From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4766 invoked by alias); 24 Feb 2009 15:31:10 -0000 Received: (qmail 4756 invoked by uid 22791); 24 Feb 2009 15:31:09 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.155) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 Feb 2009 15:31:04 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id n1OFUwrf024272 ; Tue, 24 Feb 2009 16:30:58 +0100 (CET) Received: from mailserver.u-strasbg.fr (ms3.u-strasbg.fr [IPv6:2001:660:2402:d::12]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id n1OFUwGw088389 ; Tue, 24 Feb 2009 16:30:58 +0100 (CET) (envelope-from muller@ics.u-strasbg.fr) Received: from d620muller (www-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id n1OFUwx0093974 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Tue, 24 Feb 2009 16:30:58 +0100 (CET) (envelope-from muller@ics.u-strasbg.fr) From: "Pierre Muller" To: "'Pedro Alves'" Cc: References: <200902160549.49108.pedro@codesourcery.com> <200902241438.58802.pedro@codesourcery.com> <001301c9968f$75d346c0$6179d440$@u-strasbg.fr> <200902241458.00615.pedro@codesourcery.com> In-Reply-To: <200902241458.00615.pedro@codesourcery.com> Subject: [Commit] obvious: fix compilation failure for windows-nat.c Date: Tue, 24 Feb 2009 15:58:00 -0000 Message-ID: <001501c99694$e5b96af0$b12c40d0$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00466.txt.bz2 As Pedro told me to do so, I checked the following in under obvious rule: 2009-02-24 Pierre Muller Fix windows-nat.c compilation failure. * windows-nat.c (windows_thread_alive): Fix forward declaration. (get_windows_debug_event): Add ops parameter to call to windows_resume. $ cvs diff -up windows-nat.c Index: windows-nat.c =================================================================== RCS file: /cvs/src/src/gdb/windows-nat.c,v retrieving revision 1.181 diff -u -p -r1.181 windows-nat.c --- windows-nat.c 23 Feb 2009 00:03:50 -0000 1.181 +++ windows-nat.c 24 Feb 2009 14:50:30 -0000 @@ -113,7 +113,7 @@ static int debug_registers_used; #define DEBUG_EXCEPT(x) if (debug_exceptions) printf_unfiltered x static void windows_stop (ptid_t); -static int windows_thread_alive (ptid_t); +static int windows_thread_alive (struct target_ops *, ptid_t); static void windows_kill_inferior (void); static enum target_signal last_sig = TARGET_SIGNAL_0; @@ -1432,7 +1432,7 @@ get_windows_debug_event (struct target_o if (!retval || saw_create != 1) { if (continue_status == -1) - windows_resume (minus_one_ptid, 0, 1); + windows_resume (ops, minus_one_ptid, 0, 1); else CHECK (windows_continue (continue_status, -1)); }