diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-10-05 23:13:56 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-10-05 23:13:56 +0000 |
commit | ce8537f129e0aa7823f1e9ff610baea9edd4f9ce (patch) | |
tree | 44c31e9e3ca76fb002295a2ddafc1f6aa9a91a9e /gdb/somsolib.c | |
parent | e61b94e5346142170a372e22f687753fcae79595 (diff) | |
download | gdb-ce8537f129e0aa7823f1e9ff610baea9edd4f9ce.tar.gz |
import gdb-1999-10-04 snapshot
Diffstat (limited to 'gdb/somsolib.c')
-rw-r--r-- | gdb/somsolib.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/somsolib.c b/gdb/somsolib.c index 65793bdbce5..eb0cf06f91b 100644 --- a/gdb/somsolib.c +++ b/gdb/somsolib.c @@ -287,8 +287,11 @@ som_solib_add_solib_objfile (so, name, from_tty, text_addr) CORE_ADDR text_addr; { obj_private_data_t *obj_private; + struct section_addr_info section_addrs; - so->objfile = symbol_file_add (name, from_tty, text_addr, 0, 0, 0, 0, 1); + memset (§ion_addrs, 0, sizeof (section_addrs)); + section_addrs.text_addr = text_addr; + so->objfile = symbol_file_add (name, from_tty, §ion_addrs, 0, 0, 0, 1); so->abfd = so->objfile->obfd; /* Mark this as a shared library and save private data. |