aboutsummaryrefslogtreecommitdiff
path: root/gdb/pa64solib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/pa64solib.c')
-rw-r--r--gdb/pa64solib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/pa64solib.c b/gdb/pa64solib.c
index 271efc2..cb991b2 100644
--- a/gdb/pa64solib.c
+++ b/gdb/pa64solib.c
@@ -272,7 +272,8 @@ pa64_solib_add_solib_objfile (so, name, from_tty, text_addr)
tmp_bfd = NULL;
/* Now let the generic code load up symbols for this library. */
- section_addrs.text_addr = text_addr;
+ section_addrs.other[0].addr = text_addr;
+ section_addrs.other[0].name = ".text";
so->objfile = symbol_file_add (name, from_tty, &section_addrs, 0, OBJF_SHARED);
so->abfd = so->objfile->obfd;