diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-06-18 21:36:16 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-06-18 21:36:16 +0000 |
commit | ce6fc6592573d595e86dce91843040f563a03fe2 (patch) | |
tree | 5b45f2231f4c9d0a9fd0ad32fb3085e600edb226 /gdb/symtab.c | |
parent | 80ce1b5993c8648b2a5543a70c04763b78ca0545 (diff) | |
download | gdb-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/symtab.c')
-rw-r--r-- | gdb/symtab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index bbcad17e3e3..8fa7cecb7a5 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -2413,7 +2413,7 @@ find_function_start_sal (struct symbol *sym, int funfirstline) !section_is_mapped (section)) pc = overlay_unmapped_address (pc, section); - pc += FUNCTION_START_OFFSET; + pc += DEPRECATED_FUNCTION_START_OFFSET; pc = SKIP_PROLOGUE (pc); /* For overlays, map pc back into its mapped VMA range */ @@ -3985,7 +3985,7 @@ skip_prologue_using_sal (CORE_ADDR func_addr) /* Get an initial range for the function. */ find_pc_partial_function (func_addr, NULL, &start_pc, &end_pc); - start_pc += FUNCTION_START_OFFSET; + start_pc += DEPRECATED_FUNCTION_START_OFFSET; prologue_sal = find_pc_line (start_pc, 0); if (prologue_sal.line != 0) |