diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-10-14 07:58:58 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-10-14 07:58:58 +0000 |
commit | 3957565a968c5eacb611940a2146fd4491d584c1 (patch) | |
tree | 0df3597b7bfb69dd311af6ca681bfd02815bb223 /gdb/ChangeLog | |
parent | cb08cc53a94b7b878df56545bddfff940bb90d20 (diff) | |
download | gdb-3957565a968c5eacb611940a2146fd4491d584c1.zip gdb-3957565a968c5eacb611940a2146fd4491d584c1.tar.gz gdb-3957565a968c5eacb611940a2146fd4491d584c1.tar.bz2 |
gdb/
Drop lazy lm_info reading.
* solib-svr4.c (struct lm_info): Remove field lm. New fields l_addr_p,
l_addr_inferior, l_ld, l_next, l_prev and l_name.
(lm_info_read): New function.
(lm_addr_from_link_map, lm_dynamic_from_link_map): Remove.
(lm_addr_check): Use l_addr_p. No longer use lm_addr_from_link_map and
lm_dynamic_from_link_map.
(lm_next, lm_prev, lm_name): Remove.
(svr4_keep_data_in_core): Use lm_info_read, drop the lm_info entries
initialization incl. read_memory. No longer use lm_name.
(svr4_free_so): Drop lm_info->lm freeing.
(svr4_default_sos): Initialize lminfo with zeroes. Use l_addr_p. Drop
explicit lm_addr and lm initialization.
(svr4_read_so_list): Use lm_info_read, drop the initailization of
fields by hand, incl. read_memory. No longer use lm_next, lm_prev and
lm_name.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 417a53c..184b466 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,4 +1,23 @@ 2011-10-14 Jan Kratochvil <jan.kratochvil@redhat.com> + + Drop lazy lm_info reading. + * solib-svr4.c (struct lm_info): Remove field lm. New fields l_addr_p, + l_addr_inferior, l_ld, l_next, l_prev and l_name. + (lm_info_read): New function. + (lm_addr_from_link_map, lm_dynamic_from_link_map): Remove. + (lm_addr_check): Use l_addr_p. No longer use lm_addr_from_link_map and + lm_dynamic_from_link_map. + (lm_next, lm_prev, lm_name): Remove. + (svr4_keep_data_in_core): Use lm_info_read, drop the lm_info entries + initialization incl. read_memory. No longer use lm_name. + (svr4_free_so): Drop lm_info->lm freeing. + (svr4_default_sos): Initialize lminfo with zeroes. Use l_addr_p. Drop + explicit lm_addr and lm initialization. + (svr4_read_so_list): Use lm_info_read, drop the initailization of + fields by hand, incl. read_memory. No longer use lm_next, lm_prev and + lm_name. + +2011-10-14 Jan Kratochvil <jan.kratochvil@redhat.com> Paul Pluzhnikov <ppluzhnikov@google.com> * defs.h (struct so_list): New forward declaration. |