diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2007-04-10 08:47:53 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2007-04-10 08:47:53 +0000 |
commit | cfaefc65a409d1fdc5cdaee3ce430e735aba6362 (patch) | |
tree | 85789949b5ac415310c80f5b81aae65bf3e412d7 /gdb/solib-svr4.h | |
parent | e701ca866ae6842699d81e7e201f2d01e35ba10d (diff) | |
download | gdb-cfaefc65a409d1fdc5cdaee3ce430e735aba6362.zip gdb-cfaefc65a409d1fdc5cdaee3ce430e735aba6362.tar.gz gdb-cfaefc65a409d1fdc5cdaee3ce430e735aba6362.tar.bz2 |
* solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
l_ld_size, l_next_size, l_prev_size, l_name_size.
* solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address
to extract addresses from link map.
(LM_DYNAMIC_FROM_LINK_MAP): Likewise.
(LM_NEXT): Likewise.
(LM_NAME): Likewise.
(IGNORE_FIRST_LINK_MAP_ENTRY): Likewise.
(elf_locate_base): Likewise.
(open_symbol_file_object): Likewise.
(svr4_fetch_objfile_link_map): Likewise.
(SOLIB_EXTRACT_ADDRESS): Remove unused macro.
(HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of
l_ld_size.
(svr4_ilp32_fetch_link_map_offsets): Don't set removed members.
(svr4_lp64_fetch_link_map_offsets): Likewise.
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set
removed members. Set l_ld_offset to -1 if not present.
Diffstat (limited to 'gdb/solib-svr4.h')
-rw-r--r-- | gdb/solib-svr4.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/solib-svr4.h b/gdb/solib-svr4.h index 69c680b..ea0080a 100644 --- a/gdb/solib-svr4.h +++ b/gdb/solib-svr4.h @@ -46,32 +46,17 @@ struct link_map_offsets /* Offset to l_addr field in struct link_map. */ int l_addr_offset; - /* Size of l_addr field in struct link_map. */ - int l_addr_size; - /* Offset to l_ld field in struct link_map. */ int l_ld_offset; - /* Size of l_ld field in struct link_map. */ - int l_ld_size; - /* Offset to l_next field in struct link_map. */ int l_next_offset; - /* Size of l_next field in struct link_map. */ - int l_next_size; - /* Offset to l_prev field in struct link_map. */ int l_prev_offset; - /* Size of l_prev field in struct link_map. */ - int l_prev_size; - /* Offset to l_name field in struct link_map. */ int l_name_offset; - - /* Size of l_name field in struct link_map. */ - int l_name_size; }; /* set_solib_svr4_fetch_link_map_offsets() is intended to be called by |