aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/powerpc
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/powerpc
parent0a4321b9039c2e2b9cdad3a266eff3ec8f99b137 (diff)
downloadfsf-binutils-gdb-fe794dc69d09f9a6fed65befc4597fd217fc449b.zip
fsf-binutils-gdb-fe794dc69d09f9a6fed65befc4597fd217fc449b.tar.gz
fsf-binutils-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/powerpc')
-rw-r--r--gdb/config/powerpc/tm-ppc-eabi.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/gdb/config/powerpc/tm-ppc-eabi.h b/gdb/config/powerpc/tm-ppc-eabi.h
index 2e333a8..57e056b 100644
--- a/gdb/config/powerpc/tm-ppc-eabi.h
+++ b/gdb/config/powerpc/tm-ppc-eabi.h
@@ -30,8 +30,6 @@
#undef DEFAULT_LR_SAVE
#define DEFAULT_LR_SAVE 4 /* eabi saves LR at 4 off of SP */
-#define GDB_TARGET_POWERPC
-
#undef PC_LOAD_SEGMENT
#undef PROCESS_LINENUMBER_HOOK
@@ -43,38 +41,6 @@
#define TARGET_BYTE_ORDER_SELECTABLE_P 1
-/* return true if a given `pc' value is in `call dummy' function. */
-/* FIXME: This just checks for the end of the stack, which is broken
- for things like stepping through gcc nested function stubs. */
-#undef PC_IN_CALL_DUMMY
-
-/* generic dummy frame stuff */
-
-
-
-/* target-specific dummy_frame stuff */
-
-extern struct frame_info *rs6000_pop_frame (struct frame_info *frame);
-
-extern CORE_ADDR ppc_push_return_address (CORE_ADDR, CORE_ADDR);
-
-#undef PUSH_DUMMY_FRAME
-#define PUSH_DUMMY_FRAME generic_push_dummy_frame ()
-
-#define PUSH_RETURN_ADDRESS(PC, SP) ppc_push_return_address (PC, SP)
-
-/* override the standard get_saved_register function with
- one that takes account of generic CALL_DUMMY frames */
-#define GET_SAVED_REGISTER(raw_buffer, optimized, addrp, frame, regnum, lval) \
- generic_get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval)
-
-#define USE_GENERIC_DUMMY_FRAMES 1
-#define CALL_DUMMY_BREAKPOINT_OFFSET (0)
-#define CALL_DUMMY_LOCATION AT_ENTRY_POINT
-#define CALL_DUMMY_ADDRESS() entry_point_address ()
-#undef CALL_DUMMY_START_OFFSET
-#define CALL_DUMMY_START_OFFSET 0
-
/* The value of symbols of type N_SO and N_FUN maybe null when
it shouldn't be. */
#define SOFUN_ADDRESS_MAYBE_MISSING