diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-07-05 17:57:49 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-07-05 17:57:49 +0000 |
commit | 609e01e5bb93f12ee3bd461f233a9d90055fdca7 (patch) | |
tree | 13d90bf74a96bce9e315f04eee716f99372b7ed2 /gdb/i386bsd-tdep.c | |
parent | fb3dfdb11904958a81ac20ecd2c7c9c72ca5a056 (diff) | |
download | gdb-609e01e5bb93f12ee3bd461f233a9d90055fdca7.tar.gz |
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/i386bsd-tdep.c')
0 files changed, 0 insertions, 0 deletions