aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppcbug-rom.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ppcbug-rom.c')
-rw-r--r--gdb/ppcbug-rom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ppcbug-rom.c b/gdb/ppcbug-rom.c
index 123161a..af1da73 100644
--- a/gdb/ppcbug-rom.c
+++ b/gdb/ppcbug-rom.c
@@ -104,7 +104,7 @@ ppcbug_supply_register (regname, regnamelen, val, vallen)
* registers either. So, typing "info reg sp" becomes an "A7".
*/
-static char *ppcbug_regnames[NUM_REGS] =
+static char *ppcbug_regnames[] =
{
"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7",
"r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15",