diff options
author | Tom Tromey <tromey@adacore.com> | 2022-02-03 12:24:12 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-03-07 07:52:59 -0700 |
commit | 36f5ca535d0cffb4d9767f4471ac632dddd94c3b (patch) | |
tree | 39057d90ece16a147883629e2f6e113d0d4798c9 /gold/configure | |
parent | a320f135ddb4726474394841a19f3e2cba216ff3 (diff) | |
download | gdb-36f5ca535d0cffb4d9767f4471ac632dddd94c3b.zip gdb-36f5ca535d0cffb4d9767f4471ac632dddd94c3b.tar.gz gdb-36f5ca535d0cffb4d9767f4471ac632dddd94c3b.tar.bz2 |
Don't pre-size result string in ada_decode
Currently, ada_decode pre-sizes the output string, filling it with 'X'
characters. However, it's a bit simpler and more flexible to let
std::string do the work here, and simply append characters to the
string as we go. This turns out to be useful for a subsequent patch.
Diffstat (limited to 'gold/configure')
0 files changed, 0 insertions, 0 deletions