aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/rs6000/tm-rs6000.h
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/config/rs6000/tm-rs6000.h
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/config/rs6000/tm-rs6000.h')
-rw-r--r--gdb/config/rs6000/tm-rs6000.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/config/rs6000/tm-rs6000.h b/gdb/config/rs6000/tm-rs6000.h
index 8f45521..9bf8381 100644
--- a/gdb/config/rs6000/tm-rs6000.h
+++ b/gdb/config/rs6000/tm-rs6000.h
@@ -94,6 +94,9 @@ extern void aix_process_linenos (void);
prev->next ? FRAME_SAVED_PC (prev->next) : read_pc ());
#define INIT_FRAME_PC(fromleaf, prev) /* nothing */
+/* Default offset from SP where the LR is stored */
+#define DEFAULT_LR_SAVE 8
+
/* Usually a function pointer's representation is simply the address
of the function. On the RS/6000 however, a function pointer is
represented by a pointer to a TOC entry. This TOC entry contains