From fe794dc69d09f9a6fed65befc4597fd217fc449b Mon Sep 17 00:00:00 2001 From: Nicholas Duffek Date: Fri, 14 Jul 2000 22:17:33 +0000 Subject: * 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. --- gdb/ppcbug-rom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/ppcbug-rom.c') 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", -- cgit v1.1