This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] Properly display PSIM registers
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Mark Peek <mark at peek dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 01 Dec 2001 13:57:18 -0500
- Subject: Re: [patch] Properly display PSIM registers
- References: <p05101003b8088cabe962@[207.76.207.129]>
> When using "info all-registers" with the PSIM simulator and the architecture
> set to "powerpc:604", the display fails with:
> "psim_read_register() invalid register name 'pir'"
>
> The patch below fixes this problem and also fixes the same problem for the
> SDA register.
Thanks, I've checked it in.
Andrew
> diff -r -u sim/ppc/ppc-spr-table.orig sim/ppc/ppc-spr-table
> --- sim/ppc/ppc-spr-table.orig Thu Apr 15 18:35:11 1999
> +++ sim/ppc/ppc-spr-table Fri Oct 12 11:05:25 2001
> @@ -69,6 +69,7 @@
> MMCR1:956:0:0
> PMC3:957:0:0
> PMC4:958:0:0
> +SDA:959:0:0
> DMISS:976:0:0
> DCMP:977:0:0
> HASH1:978:0:0
> @@ -85,4 +86,4 @@
> THRM1:1020:0:0
> THRM2:1021:0:0
> THRM3:1022:0:0
> -HID15:1023:0:0
> +PIR:1023:0:0
>
>