aboutsummaryrefslogtreecommitdiff
path: root/gdb/pa64solib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/pa64solib.c')
-rw-r--r--gdb/pa64solib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/pa64solib.c b/gdb/pa64solib.c
index b428d8a..e281e6a 100644
--- a/gdb/pa64solib.c
+++ b/gdb/pa64solib.c
@@ -273,7 +273,7 @@ pa64_solib_add_solib_objfile (so, name, from_tty, text_addr)
/* Now let the generic code load up symbols for this library. */
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. */