This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] mips-tdep: info registers
> Date: Sun, 22 Feb 2009 21:52:30 -0500
> From: Daniel Jacobowitz <drow@false.org>
>
> 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...
I think it shouldn't; the register numbers are internal to GDB an may
change (once they've been properly decoupled from the remote
interface).