This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: Verify AT_ENTRY before using it
On Fri, 12 Mar 2010 16:38:52 +0100, Daniel Jacobowitz wrote:
> On Fri, Mar 12, 2010 at 04:28:31PM +0100, Jan Kratochvil wrote:
> > Is it OK also for gdb_7_1-branch?
>
> IMO yes.
Checked-in for gdb_7_1-branch:
http://sourceware.org/ml/gdb-cvs/2010-03/msg00123.html
2010-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
Daniel Jacobowitz <dan@codesourcery.com>
* solib-svr4.c (read_program_header): Support type == -1 to read
all program headers.
(read_program_headers_from_bfd): New function.
(svr4_static_exec_displacement): Remove and move the comment ...
(svr4_exec_displacement): ... here. Remove variable found. New
variable displacement. Check also DYNAMIC. Verify DISPLACEMENT
alignment for ELF targets. Compare target vs. exec_bfd PHDRs for ELF
targets using read_program_headers_from_bfd. Remove the call of
svr4_static_exec_displacement.
Thanks,
Jan