From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14639 invoked by alias); 4 Apr 2006 21:54:46 -0000 Received: (qmail 14630 invoked by uid 22791); 4 Apr 2006 21:54:46 -0000 X-Spam-Check-By: sourceware.org Received: from dsl027-180-168.sfo1.dsl.speakeasy.net (HELO sunset.davemloft.net) (216.27.180.168) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Apr 2006 21:54:45 +0000 Received: from localhost ([127.0.0.1] ident=davem) by sunset.davemloft.net with esmtp (Exim 4.60) (envelope-from ) id 1FQtUF-00063w-HR for gdb-patches@sources.redhat.com; Tue, 04 Apr 2006 14:54:55 -0700 Date: Tue, 04 Apr 2006 21:54:00 -0000 Message-Id: <20060404.145455.31557955.davem@davemloft.net> To: gdb-patches@sources.redhat.com Subject: Re: [PATCH]: Fix thread debugging on Sparc/Linux From: "David S. Miller" In-Reply-To: <20060401.231203.48434968.davem@davemloft.net> References: <20060401.231203.48434968.davem@davemloft.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00035.txt.bz2 From: "David S. Miller" Date: Sat, 01 Apr 2006 23:12:03 -0800 (PST) > Normally the {supply,fill}_{gregset,fpregset}() functions don't > get used on Sparc/Linux because all of the register stuff does > ptrace() inside of sparc-nat.c > > However, for proc-service.c thread debugging (and I think also > for core files) these routines do get used. > > Currently, we're linking in sparc-sol2-nat.o but that doesn't > work so well because it hardcodes using the sparc_sol2_gregset > which causes no end of troubles if used on another native Sparc > platform. > > Any objections to the following fix? Since there were no objections, I've checked in the fix.