This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Consoldiate prologue skipping code - fix expand_line_sal_maybe internal error
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 26 Mar 2010 20:43:20 +0100 (CET)
- Subject: Re: [rfc] Consoldiate prologue skipping code - fix expand_line_sal_maybe internal error
> * 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