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/python/python.c | |
| parent | 268a4a75bdc5271819e657da07b868c8bddc500f (diff) | |
| download | binutils-75242ef48d5510349fe853a148a130f6d225f6c9.zip binutils-75242ef48d5510349fe853a148a130f6d225f6c9.tar.gz binutils-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/python/python.c')
0 files changed, 0 insertions, 0 deletions
