diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-18 18:23:08 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-18 18:23:08 +0000 |
commit | cbf3b44a9fd8240ea5f6daef05f7d43020f9fcc0 (patch) | |
tree | 8ac31c37150a776884b8db6d999ee40010f8641d /gdb/gdbarch.h | |
parent | bceb6e50519a169c044c1d2fef5b3a9f5cda2a06 (diff) | |
download | gdb-cbf3b44a9fd8240ea5f6daef05f7d43020f9fcc0.zip gdb-cbf3b44a9fd8240ea5f6daef05f7d43020f9fcc0.tar.gz gdb-cbf3b44a9fd8240ea5f6daef05f7d43020f9fcc0.tar.bz2 |
2007-06-18 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Replace by
gdbarch_deprecated_function_start_offset.
* symtab.c (find_function_start_sal)skip_prologue_using_sal): Likewise.
* linespec.c (minsym_found): Likewise.
* infrun.c (handle_inferior_event): Likewise.
* infcall.c (find_function_addr): Likewise.
* cli/cli-cmds.c (disassemble_command): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index de37e84..c9a5d8a 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -459,19 +459,13 @@ extern void set_gdbarch_decr_pc_after_break (struct gdbarch *gdbarch, CORE_ADDR /* A function can be addressed by either it's "pointer" (possibly a descriptor address) or "entry point" (first executable instruction). The method "convert_from_func_ptr_addr" converting the former to the - latter. DEPRECATED_FUNCTION_START_OFFSET is being used to implement + latter. gdbarch_deprecated_function_start_offset is being used to implement a simplified subset of that functionality - the function's address corresponds to the "function pointer" and the function's start corresponds to the "function entry point" - and hence is redundant. */ extern CORE_ADDR gdbarch_deprecated_function_start_offset (struct gdbarch *gdbarch); extern void set_gdbarch_deprecated_function_start_offset (struct gdbarch *gdbarch, CORE_ADDR deprecated_function_start_offset); -#if !defined (GDB_TM_FILE) && defined (DEPRECATED_FUNCTION_START_OFFSET) -#error "Non multi-arch definition of DEPRECATED_FUNCTION_START_OFFSET" -#endif -#if !defined (DEPRECATED_FUNCTION_START_OFFSET) -#define DEPRECATED_FUNCTION_START_OFFSET (gdbarch_deprecated_function_start_offset (current_gdbarch)) -#endif /* Return the remote protocol register number associated with this register. Normally the identity mapping. */ |