From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11369 invoked by alias); 23 Feb 2009 00:51:45 -0000 Received: (qmail 11361 invoked by uid 22791); 23 Feb 2009 00:51:45 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Feb 2009 00:51:40 +0000 Received: (qmail 4406 invoked from network); 23 Feb 2009 00:51:39 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 23 Feb 2009 00:51:39 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: Modernize solaris threads support. Date: Mon, 23 Feb 2009 01:22:00 -0000 User-Agent: KMail/1.9.10 References: <200902160549.49108.pedro@codesourcery.com> <200902230005.24063.pedro@codesourcery.com> In-Reply-To: <200902230005.24063.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902230051.44044.pedro@codesourcery.com> X-IsSubscribed: yes 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/msg00424.txt.bz2 Forgot that i386-linux-nat.c isn't built when building an x86_64-linux GDB... Just found there was a recursive call in there that I missed updating. Fixed thusly. -- Pedro Alves 2009-02-23 Pedro Alves * i386-linux-nat.c (i386_linux_fetch_inferior_registers): Pass `ops' to recursive call. --- gdb/i386-linux-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: src/gdb/i386-linux-nat.c =================================================================== --- src.orig/gdb/i386-linux-nat.c 2009-02-23 00:39:45.000000000 +0000 +++ src/gdb/i386-linux-nat.c 2009-02-23 00:40:10.000000000 +0000 @@ -484,7 +484,7 @@ i386_linux_fetch_inferior_registers (str /* The call above might reset `have_ptrace_getregs'. */ if (!have_ptrace_getregs) { - i386_linux_fetch_inferior_registers (regcache, regno); + i386_linux_fetch_inferior_registers (ops, regcache, regno); return; }