ada: Use std::string in print_dynamic_range_bound
authorSimon Marchi <simon.marchi@ericsson.com>
Sat, 14 Oct 2017 02:45:14 +0000 (22:45 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Sat, 14 Oct 2017 02:45:14 +0000 (22:45 -0400)
commit3ec5942fbf8501db10784b0dff7d24222a113728
tree58b5637e30b1680f8d888812c16f5897b3b661e9
parent867d918419528a1bc18286f4f13ff69fcf17e0c9
ada: Use std::string in print_dynamic_range_bound

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.
gdb/ChangeLog
gdb/ada-typeprint.c
This page took 0.026432 seconds and 4 git commands to generate.