diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-01-08 22:55:15 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-01-08 22:55:15 +0000 |
commit | 75242ef48d5510349fe853a148a130f6d225f6c9 (patch) | |
tree | 264a42aa4c1c99565f2d0653834fb8ecd73d0042 /gdb/ChangeLog | |
parent | 268a4a75bdc5271819e657da07b868c8bddc500f (diff) | |
download | gdb-75242ef48d5510349fe853a148a130f6d225f6c9.zip gdb-75242ef48d5510349fe853a148a130f6d225f6c9.tar.gz gdb-75242ef48d5510349fe853a148a130f6d225f6c9.tar.bz2 |
gdb/
Move some symfile code into subroutines.
* symfile.h (relative_addr_info_to_section_offsets)
(addr_info_make_relative): New prototypes.
* symfile.c (default_symfile_offsets): Move a part to ...
(relative_addr_info_to_section_offsets): ... this new function.
(default_symfile_offsets): Call it.
(syms_from_objfile <!mainline && addrs && addrs->other[0].name>): Move
this part to ...
(addr_info_make_relative): ... this new function.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8f88733..254d184 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,17 @@ 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com> + Move some symfile code into subroutines. + * symfile.h (relative_addr_info_to_section_offsets) + (addr_info_make_relative): New prototypes. + * symfile.c (default_symfile_offsets): Move a part to ... + (relative_addr_info_to_section_offsets): ... this new function. + (default_symfile_offsets): Call it. + (syms_from_objfile <!mainline && addrs && addrs->other[0].name>): Move + this part to ... + (addr_info_make_relative): ... this new function. + +2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com> + Add from_tty to solib_create_inferior_hook. * infcmd.c (post_create_inferior): Move solib_add after solib_create_inferior_hook. Pass from_tty to |