aboutsummaryrefslogtreecommitdiff
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
commitfe794dc69d09f9a6fed65befc4597fd217fc449b (patch)
tree18088624fe6010d4013160472ea412d14e234267 /gdb/ppcbug-rom.c
parent0a4321b9039c2e2b9cdad3a266eff3ec8f99b137 (diff)
downloadgdb-fe794dc69d09f9a6fed65befc4597fd217fc449b.zip
gdb-fe794dc69d09f9a6fed65befc4597fd217fc449b.tar.gz
gdb-fe794dc69d09f9a6fed65befc4597fd217fc449b.tar.bz2
* 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 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",