summaryrefslogtreecommitdiff
path: root/gdb/pa64solib.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-04-27 15:11:14 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-04-27 15:11:14 +0000
commit04d9d094d02e638021528076f6b6ef56d0534f82 (patch)
tree768b606d78148220e3de7181ac931f10d2b27ec2 /gdb/pa64solib.c
parent1e7ec3820f620dbaf503ef30f2470e6dc8b41fab (diff)
downloadgdb-04d9d094d02e638021528076f6b6ef56d0534f82.tar.gz
2000-04-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* cxux-nat.c (add_shared_symbol_files): Don't treat .text section as special in the section_addr_info structure. * pa64solib.c (pa64_solib_add_solib_objfile): Ditto. * osfsolib.c (symbol_add_stub): Ditto. * irix5-nat.c (symbol_add_stub): Ditto.
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 271efc2367b..cb991b2c09d 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;