[patch] Properly display PSIM registers

Andrew Cagney ac131313@cygnus.com
Sat Dec 1 10:57:00 GMT 2001


> 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
> 
> 




More information about the Gdb-patches mailing list