From 0aa9cf965cb61e0ecd6d1614b03306b63bfe8c71 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Fri, 21 Apr 2000 14:24:45 +0000 Subject: 2000-04-21 Elena Zannoni * win32-nat.c (handle_load_dll): Don't treat .text as a special section anymore. * somread.c (som_symfile_offsets): Ditto. * somsolib.c (som_solib_add_solib_objfile): Ditto. --- gdb/somsolib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/somsolib.c') diff --git a/gdb/somsolib.c b/gdb/somsolib.c index cde7f91..5d559a0 100644 --- a/gdb/somsolib.c +++ b/gdb/somsolib.c @@ -290,7 +290,8 @@ som_solib_add_solib_objfile (so, name, from_tty, text_addr) struct section_addr_info section_addrs; memset (§ion_addrs, 0, sizeof (section_addrs)); - section_addrs.text_addr = text_addr; + section_addrs.other[0].name = ".text"; + section_addrs.other[0].addr = text_addr; so->objfile = symbol_file_add (name, from_tty, §ion_addrs, 0, OBJF_SHARED); so->abfd = so->objfile->obfd; -- cgit v1.1