[PATCH] ada: Use std::string in print_dynamic_range_bound
Simon Marchi
simon.marchi@polymtl.ca
Sat Oct 14 02:46:00 GMT 2017
On 2017-10-13 16:29, Yao Qi wrote:
> On 17-10-13 09:45:47, Simon Marchi wrote:
>> Replace this usage of GROW_VECT with an std::string. I don't think
>> there's a reason for this variable to be static, other than it was
>> cumbersome to manage its lifetime (i.e. use a cleanup) before.
>>
>> Tested by comparing the gdb.ada/*.exp test results before and after
>> the
>> patch.
>>
>> gdb/ChangeLog:
>>
>> * ada-typeprint.c (print_dynamic_range_bound): Use std::string.
>
> Patch is good to me.
Thanks, pushed.
More information about the Gdb-patches
mailing list