summaryrefslogtreecommitdiff
path: root/gdb/ppcbug-rom.c
diff options
context:
space:
mode:
authorNicholas Duffek <nsd@redhat.com>2000-07-14 22:17:33 +0000
committerNicholas Duffek <nsd@redhat.com>2000-07-14 22:17:33 +0000
commit9193fe08dabba75e288a4bcb3bfab984e3ca2050 (patch)
tree80d2163203b010896e18d30c9ca5449f116ba554 /gdb/ppcbug-rom.c
parentfffe0f81749948640cae7faaa5277e249f933920 (diff)
downloadgdb-9193fe08dabba75e288a4bcb3bfab984e3ca2050.tar.gz
* ppcbug-rom.c (ppcbug_regnames[]): Make array size implicit.
* rs6000-tdep.c (DEFAULT_LR_SAVE): Move to config/*/tm-*.h. (rs6000_gdbarch_init): Use generic_pc_in_call_dummy instead of rs6000_pc_in_call_dummy. * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Move here from rs6000-tdep.c. * config/powerpc/tm-ppc-eabi.h: Remove various definitions handled by multi-arched rs6000-tdep.c.
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 123161a269f..af1da7301f1 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",