diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-10-13 22:45:14 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-10-13 22:45:14 -0400 |
commit | 3ec5942fbf8501db10784b0dff7d24222a113728 (patch) | |
tree | 58b5637e30b1680f8d888812c16f5897b3b661e9 /gdb/objfiles.c | |
parent | 867d918419528a1bc18286f4f13ff69fcf17e0c9 (diff) | |
download | gdb-3ec5942fbf8501db10784b0dff7d24222a113728.zip gdb-3ec5942fbf8501db10784b0dff7d24222a113728.tar.gz gdb-3ec5942fbf8501db10784b0dff7d24222a113728.tar.bz2 |
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.
Diffstat (limited to 'gdb/objfiles.c')
0 files changed, 0 insertions, 0 deletions