From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28867 invoked by alias); 28 Jul 2004 22:41:13 -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 28858 invoked from network); 28 Jul 2004 22:41:12 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 28 Jul 2004 22:41:12 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i6SMfCe1015442 for ; Wed, 28 Jul 2004 18:41:12 -0400 Received: from zenia.home.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i6SMfAa28805; Wed, 28 Jul 2004 18:41:10 -0400 To: thomas@ib-martin.com Cc: gdb@sources.redhat.com Subject: Re: Access to PowerPC special purpose registers References: <410495E9.3090006@ib-martin.com> From: Jim Blandy Date: Wed, 28 Jul 2004 22:47:00 -0000 In-Reply-To: <410495E9.3090006@ib-martin.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-07/txt/msg00355.txt.bz2 Thomas Martin writes: > I am new to the list and my question may be asked earlier: > Is it possible to access the powerpc (MPC5xx) special purpose > registers using the GDB (remote debugging the ppc) and how? I see support in rs6000-tdep.c for the Motorola PowerPC 505. If GDB and your stub agree on how to number the registers, and how to lay them out in the 'g' packet, it should work fine.