summaryrefslogtreecommitdiff
path: root/gdb/dink32-rom.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dink32-rom.c')
-rw-r--r--gdb/dink32-rom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dink32-rom.c b/gdb/dink32-rom.c
index 059a5b69ceb..2ad9c6153dc 100644
--- a/gdb/dink32-rom.c
+++ b/gdb/dink32-rom.c
@@ -115,7 +115,7 @@ dink32_load (struct monitor_ops *monops, char *filename, int from_tty)
different names than GDB does, and don't support all the registers
either. */
-static char *dink32_regnames[NUM_REGS] =
+static char *dink32_regnames[] =
{
"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7",
"r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15",