From a034fba4ecd6c51e17a6a04df63bdad337fe8b62 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Thu, 27 Apr 2000 15:11:14 +0000 Subject: 2000-04-27 Elena Zannoni * cxux-nat.c (add_shared_symbol_files): Don't treat .text section as special in the section_addr_info structure. * pa64solib.c (pa64_solib_add_solib_objfile): Ditto. * osfsolib.c (symbol_add_stub): Ditto. * irix5-nat.c (symbol_add_stub): Ditto. --- gdb/irix5-nat.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gdb/irix5-nat.c') diff --git a/gdb/irix5-nat.c b/gdb/irix5-nat.c index 0c090de6477..2a16dc07ebd 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, §ion_addrs, 0, 0); return (1); -- cgit v1.2.1