* breakpoint.c (expand_line_sal_maybe): Always call skip_prologue_sal.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 26 Mar 2010 19:41:50 +0000 (19:41 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 26 Mar 2010 19:41:50 +0000 (19:41 +0000)
commit059acae734f523c828d8fef009eb851cdd0d4dc1
tree114e025ed97b2ef1faa087d52eba01a5ce33ecab
parent4a811a977fd05801bf2e4dca29e775ab6345de63
* 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.
gdb/ChangeLog
gdb/breakpoint.c
gdb/linespec.c
gdb/symtab.c
gdb/symtab.h