diff options
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r-- | gdb/solib-svr4.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index 0f4542b6d93..7b0abfd0113 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -1022,8 +1022,7 @@ enable_break (void) the current pc (which should point at the entry point for the dynamic linker) and subtracting the offset of the entry point. */ if (!load_addr_found) - load_addr = (read_pc () - - generic_bfd_entry_point (current_gdbarch, tmp_bfd)); + load_addr = read_pc () - tmp_bfd->start_address; /* Record the relocated start and end address of the dynamic linker text and plt section for svr4_in_dynsym_resolve_code. */ |