gdb: Update type of lower bound in value_subscripted_rvalue
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 24 Apr 2019 16:50:40 +0000 (17:50 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 12 Jul 2019 11:09:52 +0000 (12:09 +0100)
commit592f9d271caaa22a6b299cfaaf6ce3394796e0e2
tree3269bf8b1f629500c784ea70677885a0c416d1cc
parent830b67068cebe7db0eb0db3fa19244e03859fae0
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.
gdb/ChangeLog
gdb/valarith.c
gdb/value.h
This page took 0.024673 seconds and 4 git commands to generate.