aboutsummaryrefslogtreecommitdiff
path: root/gdb/cxux-nat.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
commita034fba4ecd6c51e17a6a04df63bdad337fe8b62 (patch)
treed3e01466f65c2388d45db9a8b8f5f0e080ef0776 /gdb/cxux-nat.c
parent28d069e6477103b0eed4b0d2d6488ea14220bf95 (diff)
downloadgdb-a034fba4ecd6c51e17a6a04df63bdad337fe8b62.zip
gdb-a034fba4ecd6c51e17a6a04df63bdad337fe8b62.tar.gz
gdb-a034fba4ecd6c51e17a6a04df63bdad337fe8b62.tar.bz2
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/cxux-nat.c')
-rw-r--r--gdb/cxux-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/cxux-nat.c b/gdb/cxux-nat.c
index 9db528a..8c16bce 100644
--- a/gdb/cxux-nat.c
+++ b/gdb/cxux-nat.c
@@ -386,7 +386,8 @@ add_shared_symbol_files ()
{
struct section_addr_info section_addrs;
memset (&section_addrs, 0, sizeof (section_addrs));
- section_addrs.text_addr = lms.l_addr;
+ section_addrs.other[0].addr = lms.l_addr;
+ section_addrs.other[0].name = ".text";
symbol_file_add (path_name, 1, &section_addrs, 0, 0);
free (path_name);
}