diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-10-05 23:13:56 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-10-05 23:13:56 +0000 |
commit | 2acceee2182a942e6a79a972009540990f4dfabf (patch) | |
tree | 2ed7ca473f0b49181f1d0214c3450a7eb17f7bcb /gdb/cxux-nat.c | |
parent | 3e9c42873ee1d0bbb03039baea78c617174f9269 (diff) | |
download | gdb-2acceee2182a942e6a79a972009540990f4dfabf.zip gdb-2acceee2182a942e6a79a972009540990f4dfabf.tar.gz gdb-2acceee2182a942e6a79a972009540990f4dfabf.tar.bz2 |
import gdb-1999-10-04 snapshot
Diffstat (limited to 'gdb/cxux-nat.c')
-rw-r--r-- | gdb/cxux-nat.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/cxux-nat.c b/gdb/cxux-nat.c index 88a9b62..c2d8526 100644 --- a/gdb/cxux-nat.c +++ b/gdb/cxux-nat.c @@ -368,7 +368,7 @@ add_shared_symbol_files () return; } - objfile = symbol_file_add (LIBC_FILE, 0, 0, 0, 0, 1, 0, 0); + objfile = symbol_file_add (LIBC_FILE, 0, NULL, 0, OBJF_READNOW, 0, 0); minsym = lookup_minimal_symbol (LINKS_MAP_POINTER, objfile); ld_map = (struct link_map *) @@ -384,7 +384,10 @@ add_shared_symbol_files () if (target_read_string ((CORE_ADDR) lms.l_name, &path_name, PATH_MAX, &local_errno)) { - symbol_file_add (path_name, 1, lms.l_addr, 0, 0, 0, 0, 0); + struct section_addr_info section_addrs; + memset (§ion_addrs, 0, sizeof (section_addrs)); + section_addrs.text_addr = lms.l_addr; + symbol_file_add (path_name, 1, §ion_addrs, 0, 0, 0, 0); free (path_name); } } |