aboutsummaryrefslogtreecommitdiff
path: root/gdb/somsolib.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-04-21 14:24:45 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-04-21 14:24:45 +0000
commit0aa9cf965cb61e0ecd6d1614b03306b63bfe8c71 (patch)
tree4d8bb26bb50e96db8d329f12b3a8b4ca60554545 /gdb/somsolib.c
parent889ec156e65c601566de13d90dfa140763eef513 (diff)
downloadgdb-0aa9cf965cb61e0ecd6d1614b03306b63bfe8c71.zip
gdb-0aa9cf965cb61e0ecd6d1614b03306b63bfe8c71.tar.gz
gdb-0aa9cf965cb61e0ecd6d1614b03306b63bfe8c71.tar.bz2
2000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* 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.
Diffstat (limited to 'gdb/somsolib.c')
-rw-r--r--gdb/somsolib.c3
1 files changed, 2 insertions, 1 deletions
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 (&section_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, &section_addrs, 0, OBJF_SHARED);
so->abfd = so->objfile->obfd;