gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 10 Mar 2010 20:50:55 +0000 (20:50 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 10 Mar 2010 20:50:55 +0000 (20:50 +0000)
commit09919ac266e1b59a0a62b31fcc87edc7dd78b392
treecfd1810dc4976c1db8fd50d4baa5e4c8bffcfe07
parentd146bf1edc57e5096e936fd767cba27d90d747c1
gdb/
* 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.
gdb/ChangeLog
gdb/solib-svr4.c