From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26585 invoked by alias); 21 May 2009 22:35:43 -0000 Received: (qmail 26574 invoked by uid 22791); 21 May 2009 22:35:42 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 21 May 2009 22:35:37 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 218462BACC1 for ; Thu, 21 May 2009 18:35:36 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7JYhsJJ6HXF4 for ; Thu, 21 May 2009 18:35:36 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id D76D82BACC0 for ; Thu, 21 May 2009 18:35:35 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id C7B4CF5965; Fri, 22 May 2009 00:35:32 +0200 (CEST) Date: Thu, 21 May 2009 22:35:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [commit] fix build failure in aix-thread.c:aix_thread_wait Message-ID: <20090521223532.GK16152@adacore.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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-05/txt/msg00469.txt.bz2 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 329 Just an oversight from a patch that added an extra "options" parameter for the "to_wait" target_ops method. Fixed thusly. 2009-05-21 Joel Brobecker * aix-thread.c (aix_thread_wait): Add options parameter. Use it to call the to_wait method in the target_beneath. Checked in. -- Joel --T4sUOijqQbZv57TR Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="aix-thread.diff" Content-length: 792 diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c index 35103f5..8af0571 100644 --- a/gdb/aix-thread.c +++ b/gdb/aix-thread.c @@ -1012,7 +1012,7 @@ aix_thread_resume (struct target_ops *ops, static ptid_t aix_thread_wait (struct target_ops *ops, - ptid_t ptid, struct target_waitstatus *status) + ptid_t ptid, struct target_waitstatus *status, int options) { struct cleanup *cleanup = save_inferior_ptid (); struct target_ops *beneath = find_target_beneath (ops); @@ -1020,7 +1020,7 @@ aix_thread_wait (struct target_ops *ops, pid_to_prc (&ptid); inferior_ptid = pid_to_ptid (PIDGET (inferior_ptid)); - ptid = beneath->to_wait (beneath, ptid, status); + ptid = beneath->to_wait (beneath, ptid, status, options); do_cleanups (cleanup); if (PIDGET (ptid) == -1) --T4sUOijqQbZv57TR--