diff options
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 93c8d9b..2c05f35 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -23,6 +23,8 @@ #if !defined (INFERIOR_H) #define INFERIOR_H 1 +struct gdbarch; + /* For bpstat. */ #include "breakpoint.h" @@ -177,10 +179,6 @@ extern CORE_ADDR read_fp (void); extern CORE_ADDR generic_target_read_fp (void); -extern void write_fp (CORE_ADDR); - -extern void generic_target_write_fp (CORE_ADDR); - extern CORE_ADDR unsigned_pointer_to_address (struct type *type, void *buf); extern void unsigned_address_to_pointer (struct type *type, void *buf, @@ -405,29 +403,6 @@ extern char *stop_registers; extern int attach_flag; -/* Sigtramp is a routine that the kernel calls (which then calls the - signal handler). On most machines it is a library routine that - is linked into the executable. - - This macro, given a program counter value and the name of the - function in which that PC resides (which can be null if the - name is not known), returns nonzero if the PC and name show - that we are in sigtramp. - - On most machines just see if the name is sigtramp (and if we have - no name, assume we are not in sigtramp). */ -#if !defined (IN_SIGTRAMP) -#if defined (SIGTRAMP_START) -#define IN_SIGTRAMP(pc, name) \ - ((pc) >= SIGTRAMP_START(pc) \ - && (pc) < SIGTRAMP_END(pc) \ - ) -#else -#define IN_SIGTRAMP(pc, name) \ - (name && STREQ ("_sigtramp", name)) -#endif -#endif - /* Possible values for CALL_DUMMY_LOCATION. */ #define ON_STACK 1 #define BEFORE_TEXT_END 2 |