aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.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
commit782263ab3ac9ffeed8ac469a906f898668212b6c (patch)
treedbe450bc10d307f145e811314c4b9ca18bd7230b /gdb/ada-lang.c
parentb2d38a17cf625ae652ea4104a73be007176d98b0 (diff)
downloadgdb-782263ab3ac9ffeed8ac469a906f898668212b6c.zip
gdb-782263ab3ac9ffeed8ac469a906f898668212b6c.tar.gz
gdb-782263ab3ac9ffeed8ac469a906f898668212b6c.tar.bz2
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/ada-lang.c')
-rw-r--r--gdb/ada-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 643eb93..c043a88 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -5596,7 +5596,7 @@ ada_finish_decode_line_1 (char **spec, struct symtab *file_table,
val.section = SYMBOL_BFD_SECTION (msymbol);
if (funfirstline)
{
- val.pc += FUNCTION_START_OFFSET;
+ val.pc += DEPRECATED_FUNCTION_START_OFFSET;
SKIP_PROLOGUE (val.pc);
}
selected.sals = (struct symtab_and_line *)