gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 8 Jan 2010 22:55:15 +0000 (22:55 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 8 Jan 2010 22:55:15 +0000 (22:55 +0000)
commit75242ef48d5510349fe853a148a130f6d225f6c9
tree264a42aa4c1c99565f2d0653834fb8ecd73d0042
parent268a4a75bdc5271819e657da07b868c8bddc500f
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.
gdb/ChangeLog
gdb/symfile.c
gdb/symfile.h