diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2010-03-26 19:41:50 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2010-03-26 19:41:50 +0000 |
commit | 059acae734f523c828d8fef009eb851cdd0d4dc1 (patch) | |
tree | 114e025ed97b2ef1faa087d52eba01a5ce33ecab /gdb/symtab.h | |
parent | 4a811a977fd05801bf2e4dca29e775ab6345de63 (diff) | |
download | gdb-059acae734f523c828d8fef009eb851cdd0d4dc1.zip gdb-059acae734f523c828d8fef009eb851cdd0d4dc1.tar.gz gdb-059acae734f523c828d8fef009eb851cdd0d4dc1.tar.bz2 |
* breakpoint.c (expand_line_sal_maybe): Always call skip_prologue_sal.
(skip_prologue_sal): Remove local definition.
(resolve_sal_pc): Remove now unnecessary code.
* linespec.c (minsym_found): Call skip_prologue_sal.
* symtab.c (find_function_start_pc): Remove.
(find_function_start_sal): Extract prologue skipping into ...
(skip_prologue_sal): ... this new function. Handle code both
with and without debug info. Respect SAL's explicit_pc and
explicit_line flags. Inline old find_function_start_pc.
* symtab.h (find_function_start_pc): Remove.
(skip_prologue_sal): Add prototype.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 73ed829..975190f 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -1132,12 +1132,11 @@ extern char *find_main_filename (void); extern struct symtab *find_line_symtab (struct symtab *, int, int *, int *); -extern CORE_ADDR find_function_start_pc (struct gdbarch *, - CORE_ADDR, struct obj_section *); - extern struct symtab_and_line find_function_start_sal (struct symbol *sym, int); +extern void skip_prologue_sal (struct symtab_and_line *); + /* symfile.c */ extern void clear_symtab_users (void); |