aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 65b35e7..cfb230d 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -1033,7 +1033,7 @@ symbol_add_stub (arg)
lowest_sect = bfd_get_section_by_name (so->abfd, ".text");
if (lowest_sect == NULL)
bfd_map_over_sections (so->abfd, find_lowest_section,
- (PTR) & lowest_sect);
+ (PTR) &lowest_sect);
if (lowest_sect)
text_addr = bfd_section_vma (so->abfd, lowest_sect)
+ (CORE_ADDR) LM_ADDR (so);