diff options
author | Tom Tromey <tom@tromey.com> | 2019-11-27 20:42:57 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-11-28 08:04:10 -0700 |
commit | bab05c83ac4333bb087a41f843af0e66218ec054 (patch) | |
tree | 79b9e6379085d130a1c9d9e89980459dd6d8292c /gdb/cli/cli-script.c | |
parent | 2522f049dfad1c5dcaa641bf41341e0c5bbeca2b (diff) | |
download | gdb-bab05c83ac4333bb087a41f843af0e66218ec054.zip gdb-bab05c83ac4333bb087a41f843af0e66218ec054.tar.gz gdb-bab05c83ac4333bb087a41f843af0e66218ec054.tar.bz2 |
Make two range_bounds bitfields unsigned
While debugging gdb, I noticed that the bitfields in a range_bounds
were signed, causing the values of these fields to be -1.
I think this is odd; and while we haven't yet committed to boolean
bitfields, I think it is a small improvement to change these types to
unsigned.
gdb/ChangeLog
2019-11-28 Tom Tromey <tom@tromey.com>
* gdbtypes.h (struct range_bounds) <flag_upper_bound_is_count,
flag_bound_evaluated>: Now unsigned.
Change-Id: Ia377fd931594bbf8653180d4dcb4e60354d90139
Diffstat (limited to 'gdb/cli/cli-script.c')
0 files changed, 0 insertions, 0 deletions