diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-07-05 17:57:50 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-07-05 17:57:50 +0000 |
commit | 0a1e94c73edc44cacedc14eb14829d60a1c6dbbd (patch) | |
tree | 86deeba3160b4fd8409890e4f6db857066a8f76c /gdb/top.c | |
parent | d7d9a9f820395ecfe06c80fa12bf9cf60f455482 (diff) | |
download | binutils-0a1e94c73edc44cacedc14eb14829d60a1c6dbbd.zip binutils-0a1e94c73edc44cacedc14eb14829d60a1c6dbbd.tar.gz binutils-0a1e94c73edc44cacedc14eb14829d60a1c6dbbd.tar.bz2 |
gdb/
Fix attaching to PIEs prelinked on the disk after the process was
started.
* solib-svr4.c (svr4_exec_displacement): New variable arch_size.
Verify it against bfd_get_arch_size. Try to match arbitrary
displacement for the phdrs comparison.
gdb/testsuite/
* gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
code for it. New variable relink_args.
(prelinkYES): Call prelinkNO.
(test_attach): Accept new parameter relink_args. Re-prelink the binary
in such case. Move the core code to ...
(test_attach_gdb): ... a new function. Send GDB command "file".
Extend expected "Attaching to " string.
Diffstat (limited to 'gdb/top.c')
0 files changed, 0 insertions, 0 deletions