summaryrefslogtreecommitdiff
path: root/gdb/coff-solib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/coff-solib.c')
-rw-r--r--gdb/coff-solib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/coff-solib.c b/gdb/coff-solib.c
index 89a7b4b9799..9c68fa4fd7a 100644
--- a/gdb/coff-solib.c
+++ b/gdb/coff-solib.c
@@ -94,9 +94,7 @@ coff_solib_add (arg_string, from_tty, target)
objfile = symbol_file_add (filename, from_tty,
NULL, /* no offsets */
0, /* not mainline */
- 0, /* flags */
- 0, /* Not user loaded */
- 1); /* Is a solib */
+ OBJF_SHARED); /* flags */
libsize -= len * 4;
lib += len * 4;