aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-18 18:23:08 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-18 18:23:08 +0000
commitcbf3b44a9fd8240ea5f6daef05f7d43020f9fcc0 (patch)
tree8ac31c37150a776884b8db6d999ee40010f8641d /gdb/infcall.c
parentbceb6e50519a169c044c1d2fef5b3a9f5cda2a06 (diff)
downloadgdb-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/infcall.c')
-rw-r--r--gdb/infcall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c
index f7f75f4..5375969 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -232,7 +232,7 @@ find_function_addr (struct value *function, struct type **retval_type)
if (retval_type != NULL)
*retval_type = value_type;
- return funaddr + DEPRECATED_FUNCTION_START_OFFSET;
+ return funaddr + gdbarch_deprecated_function_start_offset (current_gdbarch);
}
/* Call breakpoint_auto_delete on the current contents of the bpstat