summaryrefslogtreecommitdiff
path: root/gdb/somsolib.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-10-12 04:37:53 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-10-12 04:37:53 +0000
commita53c440bf2c42802dc25fb9fa62f0f5dc196b399 (patch)
treec529861a454a8200807cbb62af394c2952248e00 /gdb/somsolib.c
parentf4e2ab8d6023f442c422f4f883c9c96f0106190f (diff)
downloadgdb-a53c440bf2c42802dc25fb9fa62f0f5dc196b399.tar.gz
import gdb-1999-10-11 snapshot
Diffstat (limited to 'gdb/somsolib.c')
-rw-r--r--gdb/somsolib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/somsolib.c b/gdb/somsolib.c
index eb0cf06f91b..81a36506d71 100644
--- a/gdb/somsolib.c
+++ b/gdb/somsolib.c
@@ -291,7 +291,7 @@ som_solib_add_solib_objfile (so, name, from_tty, text_addr)
memset (&section_addrs, 0, sizeof (section_addrs));
section_addrs.text_addr = text_addr;
- so->objfile = symbol_file_add (name, from_tty, &section_addrs, 0, 0, 0, 1);
+ so->objfile = symbol_file_add (name, from_tty, &section_addrs, 0, OBJF_SHARED);
so->abfd = so->objfile->obfd;
/* Mark this as a shared library and save private data.