summaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-18 21:36:16 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-18 21:36:16 +0000
commitce6fc6592573d595e86dce91843040f563a03fe2 (patch)
tree5b45f2231f4c9d0a9fd0ad32fb3085e600edb226 /gdb/infcall.c
parent80ce1b5993c8648b2a5543a70c04763b78ca0545 (diff)
downloadgdb-ce6fc6592573d595e86dce91843040f563a03fe2.tar.gz
2004-06-18 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Deprecated. * gdbarch.h, gdbarch.c: Re-generate. * ada-lang.c (ada_finish_decode_line_1): Update. * infrun.c (handle_inferior_event): Update. * infcall.c (find_function_addr): Update. * linespec.c (minsym_found): Update. * symtab.c (find_function_start_sal, skip_prologue_using_sal): Update. * blockframe.c (legacy_frameless_look_for_prologue): Update. * cli/cli-cmds.c (disassemble_command): Update. * vax-tdep.c (vax_gdbarch_init): Update. Index: doc/ChangeLog 2004-06-18 Andrew Cagney <cagney@gnu.org> * gdbint.texinfo (Target Architecture Definition): Deprecate FUNCTION_START_OFFSET.
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 8123806e9f6..77c71eb262e 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -207,7 +207,7 @@ find_function_addr (struct value *function, struct type **retval_type)
if (retval_type != NULL)
*retval_type = value_type;
- return funaddr + FUNCTION_START_OFFSET;
+ return funaddr + DEPRECATED_FUNCTION_START_OFFSET;
}
/* Call breakpoint_auto_delete on the current contents of the bpstat