diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2016-05-30 14:11:43 +0200 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2016-05-30 14:11:43 +0200 |
commit | 3a2b436ae9958a1029545c03201b7223ff33c150 (patch) | |
tree | 938cd18f7ab5c1d0d7105998d285d55596cffd4e /config/lthostflags.m4 | |
parent | 2adb06b571adc7c56702e2f57fa53db97d69c0fa (diff) | |
download | binutils-gdb-3a2b436ae9958a1029545c03201b7223ff33c150.tar.gz |
Code cleanup: dwarf2_get_pc_bounds: -1/0/+1 -> enum
Make the code (maybe) more readable + primarily prepare it for [patch 2/2]
enum extension.
This change should have no code change impact.
gdb/ChangeLog
2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
Code cleanup: dwarf2_get_pc_bounds: -1/0/+1 -> enum
* dwarf2read.c (enum pc_bounds_kind) New.
(dwarf2_get_pc_bounds): Use it in the declaration.
(process_psymtab_comp_unit_reader): Adjust caller. Rename has_pc_info
to cu_bounds_kind.
(read_func_scope, read_lexical_block_scope, read_call_site_scope):
Adjust callers.
(dwarf2_get_pc_bounds): Use enum pc_bounds_kind in the definition.
(dwarf2_get_subprogram_pc_bounds, get_scope_pc_bounds): Adjust callers.
Diffstat (limited to 'config/lthostflags.m4')
0 files changed, 0 insertions, 0 deletions