aboutsummaryrefslogtreecommitdiff
path: root/gdb/irix5-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/irix5-nat.c')
-rw-r--r--gdb/irix5-nat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/irix5-nat.c b/gdb/irix5-nat.c
index 0c090de..2a16dc0 100644
--- a/gdb/irix5-nat.c
+++ b/gdb/irix5-nat.c
@@ -852,7 +852,9 @@ 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].name = ".text";
+ section_addrs.other[0].addr = text_addr;
so->objfile = symbol_file_add (so->so_name, so->from_tty,
&section_addrs, 0, 0);
return (1);