summaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-06-14 18:07:07 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-06-14 18:07:07 +0000
commit11c39696067146c24181fa579e4107106ded7869 (patch)
treef4b9985577c8ac39145cc2cb7efb877ae771b064 /gdb/inferior.h
parent1c30101c98f656955f68fd552e69708089606f5a (diff)
downloadgdb-11c39696067146c24181fa579e4107106ded7869.tar.gz
import gdb-1999-06-14 snapshot
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 02d942ec1af..b87bca9899d 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -122,18 +122,30 @@ extern CORE_ADDR read_pc PARAMS ((void));
extern CORE_ADDR read_pc_pid PARAMS ((int));
+extern CORE_ADDR generic_target_read_pc PARAMS ((int));
+
extern void write_pc PARAMS ((CORE_ADDR));
extern void write_pc_pid PARAMS ((CORE_ADDR, int));
+extern void generic_target_write_pc PARAMS ((CORE_ADDR, int));
+
extern CORE_ADDR read_sp PARAMS ((void));
+extern CORE_ADDR generic_target_read_sp PARAMS ((void));
+
extern void write_sp PARAMS ((CORE_ADDR));
+extern void generic_target_write_sp PARAMS ((CORE_ADDR));
+
extern CORE_ADDR read_fp PARAMS ((void));
+extern CORE_ADDR generic_target_read_fp PARAMS ((void));
+
extern void write_fp PARAMS ((CORE_ADDR));
+extern void generic_target_write_fp PARAMS ((CORE_ADDR));
+
extern void wait_for_inferior PARAMS ((void));
extern void init_wait_for_inferior PARAMS ((void));
@@ -435,24 +447,32 @@ extern int sizeof_call_dummy_words;
/* Are we in a call dummy? */
extern int pc_in_call_dummy_before_text_end PARAMS ((CORE_ADDR pc, CORE_ADDR sp, CORE_ADDR frame_address));
+#if !GDB_MULTI_ARCH
#if !defined (PC_IN_CALL_DUMMY) && CALL_DUMMY_LOCATION == BEFORE_TEXT_END
#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_before_text_end (pc, sp, frame_address)
#endif /* Before text_end. */
+#endif
extern int pc_in_call_dummy_after_text_end PARAMS ((CORE_ADDR pc, CORE_ADDR sp, CORE_ADDR frame_address));
+#if !GDB_MULTI_ARCH
#if !defined (PC_IN_CALL_DUMMY) && CALL_DUMMY_LOCATION == AFTER_TEXT_END
#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_after_text_end (pc, sp, frame_address)
#endif
+#endif
extern int pc_in_call_dummy_on_stack PARAMS ((CORE_ADDR pc, CORE_ADDR sp, CORE_ADDR frame_address));
+#if !GDB_MULTI_ARCH
#if !defined (PC_IN_CALL_DUMMY) && CALL_DUMMY_LOCATION == ON_STACK
#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_on_stack (pc, sp, frame_address)
#endif
+#endif
extern int pc_in_call_dummy_at_entry_point PARAMS ((CORE_ADDR pc, CORE_ADDR sp, CORE_ADDR frame_address));
+#if !GDB_MULTI_ARCH
#if !defined (PC_IN_CALL_DUMMY) && CALL_DUMMY_LOCATION == AT_ENTRY_POINT
#define PC_IN_CALL_DUMMY(pc, sp, frame_address) pc_in_call_dummy_at_entry_point (pc, sp, frame_address)
#endif
+#endif
/* It's often not enough for our clients to know whether the PC is merely
somewhere within the call dummy. They may need to know whether the