diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-04-24 17:50:40 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-07-12 12:09:52 +0100 |
commit | 592f9d271caaa22a6b299cfaaf6ce3394796e0e2 (patch) | |
tree | 3269bf8b1f629500c784ea70677885a0c416d1cc /gdb/ChangeLog | |
parent | 830b67068cebe7db0eb0db3fa19244e03859fae0 (diff) | |
download | gdb-592f9d271caaa22a6b299cfaaf6ce3394796e0e2.zip gdb-592f9d271caaa22a6b299cfaaf6ce3394796e0e2.tar.gz gdb-592f9d271caaa22a6b299cfaaf6ce3394796e0e2.tar.bz2 |
gdb: Update type of lower bound in value_subscripted_rvalue
The dynamic lower (and upper) bounds of ranges are stored as type
LONGEST (see union dynamic_prop_data in gdbtypes.h). In most places
that range bounds are handled they are held in a LONGEST, however in
value_subscripted_rvalue the bound is placed into an int.
This commit changes value_subscripted_rvalue to use LONGEST, there
should be no user visible changes after this commit.
gdb/ChangeLog:
* valarith.c (value_subscripted_rvalue): Change lowerbound
parameter type from int to LONGEST.
* value.h (value_subscripted_rvalue): Likewise in declaration.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 90af6d3..33cff4e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2019-07-12 Andrew Burgess <andrew.burgess@embecosm.com> + + * valarith.c (value_subscripted_rvalue): Change lowerbound + parameter type from int to LONGEST. + * value.h (value_subscripted_rvalue): Likewise in declaration. + 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com> * cli/cli-utils.c (info_print_command_completer): New function. |