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/infrun.c | |
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/infrun.c')
-rw-r--r-- | gdb/infrun.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 1557dc7..bad50a1 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -1807,7 +1807,8 @@ handle_inferior_event (struct execution_control_state *ecs) will both be 0 if it doesn't work. */ find_pc_partial_function (stop_pc, &ecs->stop_func_name, &ecs->stop_func_start, &ecs->stop_func_end); - ecs->stop_func_start += DEPRECATED_FUNCTION_START_OFFSET; + ecs->stop_func_start + += gdbarch_deprecated_function_start_offset (current_gdbarch); ecs->another_trap = 0; bpstat_clear (&stop_bpstat); stop_step = 0; |