This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]