This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] mips-tdep: info registers
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Aleksandar Ristovski <aristovski at qnx dot com>, gdb-patches at sources dot redhat dot com
- Date: Sun, 22 Feb 2009 21:52:30 -0500
- Subject: Re: [patch] mips-tdep: info registers
- References: <gn1iej$o3b$1@ger.gmane.org> <20090223020820.GC26056@adacore.com>
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