This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: infcmd.c: Output user registers correctly
- From: Daniel Jacobowitz <drow at false dot org>
- To: "Maciej W. Rozycki" <macro at mips dot com>
- Cc: gdb-patches at sourceware dot org, David Ung <davidu at mips dot com>, "Maciej W. Rozycki" <macro at linux-mips dot org>
- Date: Wed, 24 Oct 2007 12:42:21 -0400
- Subject: Re: infcmd.c: Output user registers correctly
- References: <Pine.LNX.4.61.0710241643290.1987@perivale.mips.com>
On Wed, Oct 24, 2007 at 04:59:47PM +0100, Maciej W. Rozycki wrote:
> 2007-10-24 David Ung <davidu@mips.com>
> Maciej W. Rozycki <macro@mips.com>
>
> * infcmd.c (registers_info): Check for a user register before
> calling target's gdbarch_print_registers_info(). If found to be
> so, extract the implicit value of user register and call
> print_scalar_formatted().
> * value.h (value_of_user_reg): Add prototype.
>
> OK to apply?
OK, thanks. This also fixes PR exp/1926. There may be another one
too, but that's the only one I can find at present.
--
Daniel Jacobowitz
CodeSourcery