From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31575 invoked by alias); 7 Dec 2004 14:56:44 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 31506 invoked from network); 7 Dec 2004 14:56:36 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sourceware.org with SMTP; 7 Dec 2004 14:56:36 -0000 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id A000A11DC7C5; Tue, 7 Dec 2004 15:56:35 +0100 (CET) To: "Linh Dang" Cc: gdb@sources.redhat.com Subject: Re: NPTL on ppc References: <200411191233.22357.vladimir.vorobyov@iss.org.ua> <200411191641.15822.vladimir.vorobyov@iss.org.ua> <20041120013220.GB27485@nevyn.them.org> <200411201427.13557.vladimir.vorobyov@iss.org.ua> <20041120164209.GA15174@nevyn.them.org> <20041206184451.GA22104@nevyn.them.org> <20041206201842.GA24549@nevyn.them.org> From: Andreas Schwab X-Yow: Yow! Date: Tue, 07 Dec 2004 14:56:00 -0000 In-Reply-To: (Linh Dang's message of "Tue, 07 Dec 2004 09:33:24 -0500") Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-12/txt/msg00041.txt.bz2 "Linh Dang" writes: > ptrace(2) on linux-ppc doesn't support PTRACE_GETREGS, how does gdb > get registers from the inferior process? Using PTRACE_PEEKUSR and PTRACE_GETVRREGS and PTRACE_GETEVRREGS. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."