summaryrefslogtreecommitdiff
path: root/gdb/osfsolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/osfsolib.c')
-rw-r--r--gdb/osfsolib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/osfsolib.c b/gdb/osfsolib.c
index 3ea550ace31..8638629139d 100644
--- a/gdb/osfsolib.c
+++ b/gdb/osfsolib.c
@@ -598,7 +598,8 @@ symbol_add_stub (arg)
text_addr = bfd_section_vma (so->abfd, lowest_sect) + LM_OFFSET (so);
}
- section_addrs.text_addr = text_addr;
+ section_addrs.other[0].addr = text_addr;
+ section_addrs.other[0].name = ".text";
so->objfile = symbol_file_add (so->so_name, so->from_tty,
&section_addrs, 0, OBJF_SHARED);
return (1);