[rfc] Consoldiate prologue skipping code - fix expand_line_sal_maybe internal error
Ulrich Weigand
uweigand@de.ibm.com
Fri Mar 26 19:43:00 GMT 2010
> * 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.
I've checked this in now.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
More information about the Gdb-patches
mailing list