diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-07-05 18:00:39 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-07-05 18:00:39 +0000 |
commit | 85a287cd504874b31bd9d57eb8a8d0f6d3aea3e0 (patch) | |
tree | 455e44e1764537a100c5f49bc4c363543c2186e6 /gdb/solib-svr4.c | |
parent | 6d079327f31bf07842940fbd298f33b3dc612f78 (diff) | |
download | gdb-85a287cd504874b31bd9d57eb8a8d0f6d3aea3e0.tar.gz |
gdb/
* auxv.c (memory_xfer_auxv): Update attach comment.
* solib-svr4.c (svr4_special_symbol_handling): Remove the call to
svr4_relocate_main_executable.
(svr4_solib_create_inferior_hook): Make the call to
svr4_relocate_main_executable unconditional.
gdb/testsuite/
* gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
* gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
displacement message exactly once.
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r-- | gdb/solib-svr4.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 4a837caa000..79138cc4753 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -1653,7 +1653,6 @@ enable_break (struct svr4_info *info, int from_tty) static void svr4_special_symbol_handling (void) { - svr4_relocate_main_executable (); } /* Read the ELF program headers from ABFD. Return the contents and @@ -2096,8 +2095,7 @@ svr4_solib_create_inferior_hook (int from_tty) info = get_svr4_info (); /* Relocate the main executable if necessary. */ - if (current_inferior ()->attach_flag == 0) - svr4_relocate_main_executable (); + svr4_relocate_main_executable (); if (!svr4_have_link_map_offsets ()) return; |