aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffsolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xcoffsolib.c')
-rw-r--r--gdb/xcoffsolib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/xcoffsolib.c b/gdb/xcoffsolib.c
index 0ad8432..4d2893f 100644
--- a/gdb/xcoffsolib.c
+++ b/gdb/xcoffsolib.c
@@ -77,7 +77,8 @@ solib_add (arg_string, from_tty, target)
continue;
}
- syms_from_objfile (obj, 0, 0);
+ syms_from_objfile (obj, 0, 0, 0);
+ new_symfile_objfile (obj, 0, 0);
vmap_symtab (vp, 0, 0);
printf ("Done.\n");
loaded = vp->loaded = 1;