diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-12-09 14:49:02 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-12-09 15:36:28 -0500 |
commit | 969da52cb04effd49b937f5f1754e0f4b84809b7 (patch) | |
tree | 398697f89ea2fcea9e669ded3ee9fce3c6583b0d /gdb/mdebugread.c | |
parent | 138084b24811c191a85c919116d839a8bd89d57c (diff) | |
download | gdb-969da52cb04effd49b937f5f1754e0f4b84809b7.zip gdb-969da52cb04effd49b937f5f1754e0f4b84809b7.tar.gz gdb-969da52cb04effd49b937f5f1754e0f4b84809b7.tar.bz2 |
gdb: address review comments of previous series
I forgot to include fixes for review comments I got before pushing the
previous commits (or I pushed the wrong commits). This one fixes it.
- Return {} instead of false in get_discrete_low_bound and
get_discrete_high_bound.
- Compute high bound after confirming low bound is valid in
get_discrete_bounds.
gdb/ChangeLog:
* gdbtypes.c (get_discrete_low_bound, get_discrete_high_bound):
Return {} instead of false.
(get_discrete_bounds): Compute high bound only if low bound is
valid.
Change-Id: I5f9a66b3672adfac9441068c899ab113ab2c331a
Diffstat (limited to 'gdb/mdebugread.c')
0 files changed, 0 insertions, 0 deletions