summaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index e46e63c70b3..bd490deef29 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -1112,8 +1112,7 @@ symbol_add_stub (arg)
section_addrs.text_addr = text_addr;
so->objfile =
symbol_file_add (so->so_name, so->from_tty,
- &section_addrs,
- 0, 0, 0, 1);
+ &section_addrs, 0, OBJF_SHARED);
return (1);
}