aboutsummaryrefslogtreecommitdiff
path: root/gdb/coff-solib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/coff-solib.c')
-rw-r--r--gdb/coff-solib.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/coff-solib.c b/gdb/coff-solib.c
index c0cfcf5..6be6869 100644
--- a/gdb/coff-solib.c
+++ b/gdb/coff-solib.c
@@ -94,7 +94,10 @@ coff_solib_add (arg_string, from_tty, target)
0, /* addr */
0, /* not mainline */
0, /* not mapped */
- 0); /* Not readnow */
+ 0, /* Not readnow */
+ 0, /* Not user loaded */
+ 1); /* Is a solib */
+
libsize -= len * 4;
lib += len * 4;
}