From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4364 invoked by alias); 20 Aug 2003 16:44:43 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4336 invoked from network); 20 Aug 2003 16:44:42 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 20 Aug 2003 16:44:42 -0000 Received: from drow by nevyn.them.org with local (Exim 4.20 #1 (Debian)) id 19pW4f-000142-Iw; Wed, 20 Aug 2003 12:44:41 -0400 Date: Wed, 20 Aug 2003 16:44:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch rfc, 6.0?] only allow raw raw registers; Was: [patch rfc] Add NUM_REGS pseudo regs to MIPS Message-ID: <20030820164441.GA27005@nevyn.them.org> Mail-Followup-To: Andrew Cagney , gdb-patches@sources.redhat.com References: <200307271855.h6RItIho043770@oberon.asicdesigners.com> <3F2442B3.1000506@redhat.com> <3F254328.2030407@redhat.com> <20030728163857.GA28595@nevyn.them.org> <20030818170933.GA26128@nevyn.them.org> <3F41100F.1080706@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F41100F.1080706@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-08/txt/msg00340.txt.bz2 On Mon, Aug 18, 2003 at 01:42:39PM -0400, Andrew Cagney wrote: > What does "maint print [raw-]registers" look like? > > >(gdb) i all-registers > > zero at v0 v1 a0 a1 a2 > > a3 > > R0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > > 00000000 > > t0 t1 t2 t3 t4 t5 t6 > > t7 > > R8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > > 00000000 > > s0 s1 s2 s3 s4 s5 s6 > > s7 > > R16 7fff7eaf 7fff7dcc 7fff7dd4 00000003 004059cc 10012808 00000000 > > 00000000 > > t8 t9 k0 k1 gp sp s8 > > ra > > R24 00000000 00000000 00000000 00000000 00000000 7fff7df0 00000000 > > 00000000 > > zero at v0 v1 a0 a1 > > 00000000 0067194b 00000004 80279720 00000020 2aac0ac0 > > a2: 0xffffffff flt: nan dbl: nan > > a3: 0xffffffff flt: nan > > t0: 0xffffffff flt: nan dbl: nan > > t1: 0xffffffff flt: nan > > t2: 0xffffffff flt: nan dbl: nan > > t3: 0xffffffff flt: nan > > > > > >Obviously the registers aren't where it expects them to be. Thanks for the pointer, and sorry for the noise. The problem was a local patch which added MIPS_REGISTER_NAMES for GNU/Linux; it recently changed to start at 32 and I still had the first 32 registers listed. After 6.0 I'll try to flush my MIPS queue. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer