From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14189 invoked by alias); 9 Feb 2006 14:19:49 -0000 Received: (qmail 14180 invoked by uid 22791); 9 Feb 2006 14:19:49 -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; Thu, 09 Feb 2006 14:19:48 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1F7Ce5-0006LS-Rq; Thu, 09 Feb 2006 09:19:41 -0500 Date: Thu, 09 Feb 2006 14:19:00 -0000 From: Daniel Jacobowitz To: "M.M. Kettenis" Cc: David Lecomber , gdb@sources.redhat.com Subject: Re: ia64 register cache (not!) Message-ID: <20060209141941.GA24301@nevyn.them.org> Mail-Followup-To: "M.M. Kettenis" , David Lecomber , gdb@sources.redhat.com References: <20060209123032.GA10585@streamline-computing.com> <7323515135308169@webhare> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7323515135308169@webhare> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00065.txt.bz2 On Thu, Feb 09, 2006 at 02:15:53PM +0000, M.M. Kettenis wrote: > Are you sure the ia64 kernel supports the PTRACE_GETREGS/PTRACE_SETREGS > requests? If those are implemented someone really should add support > for them. Note that even if the current kernels do, there may be > older kernels that don't have these. A possible solution would be to > use PTRACE_GETREGS if available and fall back on PTRACE_PEEK_USER if it > isn't (that's what we do on Linux/i386). But if kernels without > PTRACE_GETREGS are no longer in widespread use, it's probably not > worth bothering. FYI, it wasn't in the very original ia64 port, but was added about four years ago. -- Daniel Jacobowitz CodeSourcery