This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch] Properly display PSIM registers


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.

Mark


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]