]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/gdb.base/attach-pie-noexec.c
* solib-svr4.c (read_program_header): New variables pt_phdr, pt_phdr_p,
authorAleksandar Ristovski <aristovski@qnx.com>
Tue, 18 Oct 2011 14:00:42 +0000 (14:00 +0000)
committerAleksandar Ristovski <aristovski@qnx.com>
Tue, 18 Oct 2011 14:00:42 +0000 (14:00 +0000)
commit4313697959ffcaf3bf59556ef690914d0d7b84c3
tree05e96c58735795e00e46f434bbba79056646090c
parent9b0f109b0a400247d9c001cb815572e03cedb7f0
* solib-svr4.c (read_program_header): New variables pt_phdr, pt_phdr_p,
initialize them from target PT_PHDR p_vaddr, relocate sect_addr by
pt_phdr if PT_PHDR was found.

* gdb.base/attach-pie-noexec.c: New files.
* gdb.base/attach-pie-noexec.exp: New files.
gdb/ChangeLog
gdb/solib-svr4.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/attach-pie-noexec.c [new file with mode: 0644]
gdb/testsuite/gdb.base/attach-pie-noexec.exp [new file with mode: 0644]