From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12825 invoked by alias); 23 Feb 2009 02:52:40 -0000 Received: (qmail 12817 invoked by uid 22791); 23 Feb 2009 02:52:39 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Feb 2009 02:52:34 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 02C3910A30; Mon, 23 Feb 2009 02:52:32 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 764251007D; Mon, 23 Feb 2009 02:52:31 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1LbQvm-00034f-NZ; Sun, 22 Feb 2009 21:52:30 -0500 Date: Mon, 23 Feb 2009 03:00:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: Aleksandar Ristovski , gdb-patches@sources.redhat.com Subject: Re: [patch] mips-tdep: info registers Message-ID: <20090223025230.GA11699@caradoc.them.org> Mail-Followup-To: Joel Brobecker , Aleksandar Ristovski , gdb-patches@sources.redhat.com References: <20090223020820.GC26056@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090223020820.GC26056@adacore.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00430.txt.bz2 On Sun, Feb 22, 2009 at 06:08:20PM -0800, Joel Brobecker wrote: > > (gdb) info registers $1 > > ../../gdb/mips-tdep.c:4307: internal-error: > > mips_print_registers_info: > > Assertion `regnum >= gdbarch_num_regs (current_gdbarch)' > > failed. > > Surprisingly, this feature is not documented yet. The documentation > mentions "info registers regname", but not "info registers regno". > Would you mind adding a line or two and sending a (separate) patch > to this list? Eli is the documentation guru... Should this feature even exist? This is a different "$1" than anywhere else in GDB you might type that... -- Daniel Jacobowitz CodeSourcery