summaryrefslogtreecommitdiff
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
commite9f8c07685d3eace1609c77d39247d6b59c6b646 (patch)
tree8c80c1fd3d0e67bb2928cc9b2dc6944e24a44c36 /gdb/somsolib.c
parentfe2b0d3ddc4324a2bf55a54a5724469eab99f5a1 (diff)
downloadgdb-e9f8c07685d3eace1609c77d39247d6b59c6b646.tar.gz
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 cde7f91d286..5d559a083cd 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;