aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-02-15 21:17:04 +0000
committerKevin Buettner <kevinb@redhat.com>2000-02-15 21:17:04 +0000
commitf6077098c92bc7d5a4426324319c3a84e57a93a7 (patch)
treea5e7b1c3739a9702881dd80903e7cfcbcd32a623 /gdb/config
parent70d5406d75cc3d0dd0d5ee91c354d2909d12b7e9 (diff)
downloadgdb-f6077098c92bc7d5a4426324319c3a84e57a93a7.zip
gdb-f6077098c92bc7d5a4426324319c3a84e57a93a7.tar.gz
gdb-f6077098c92bc7d5a4426324319c3a84e57a93a7.tar.bz2
AIX 4.3 changes.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/powerpc/tm-ppc-aix.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/config/powerpc/tm-ppc-aix.h b/gdb/config/powerpc/tm-ppc-aix.h
index d3afbd5..ae55e07 100644
--- a/gdb/config/powerpc/tm-ppc-aix.h
+++ b/gdb/config/powerpc/tm-ppc-aix.h
@@ -26,4 +26,21 @@
#define GDB_TARGET_POWERPC
+#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
+
#endif /* TM_PPC_AIX_H */