From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22915 invoked by alias); 4 Apr 2006 23:11:05 -0000 Received: (qmail 22904 invoked by uid 22791); 4 Apr 2006 23:11:05 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 04 Apr 2006 23:11:04 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FQufu-0003gG-D7; Tue, 04 Apr 2006 19:11:02 -0400 Date: Tue, 04 Apr 2006 23:11:00 -0000 From: Daniel Jacobowitz To: "David S. Miller" Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH]: Fix thread debugging on Sparc/Linux Message-ID: <20060404231102.GA14012@nevyn.them.org> Mail-Followup-To: "David S. Miller" , gdb-patches@sources.redhat.com References: <20060404221448.GA12279@nevyn.them.org> <20060404.152304.38399258.davem@davemloft.net> <20060404224341.GA13358@nevyn.them.org> <20060404.155456.38752686.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060404.155456.38752686.davem@davemloft.net> User-Agent: Mutt/1.5.8i 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/msg00043.txt.bz2 On Tue, Apr 04, 2006 at 03:54:56PM -0700, David S. Miller wrote: > I'm adding support for PTRACE_PEEKUSER with offset 0 in the kernel in > order to cure this. Linux/Sparc is the only platform that doesn't > support this and just returning a dummy zero value for this special > case is fine with me. OK, that works too :-) > The checkpoint/restart stuff is also non-functional on Linux/Sparc, > but I think that could be due to some bug in event message handling on > that platform. Is gdb a 32-bit or 64-bit binary? I bet there's problems with a 32-bit binary. At least one is that the event message is stored as a long. Hmm, might want a compat_ptrace_request. -- Daniel Jacobowitz CodeSourcery