diff options
author | Tom Tromey <tom@tromey.com> | 2025-04-06 12:58:55 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2025-04-08 14:35:58 -0600 |
commit | ae871f291b8a603026d674bd1b01590cb485a8c3 (patch) | |
tree | e5439ca144c738b5ca5e4055f09b75c774b18734 /gdb/gdbserver/remote-utils.c | |
parent | d55ade198f842223eecc99e88f30acf7b86a9bb6 (diff) | |
download | binutils-master.zip binutils-master.tar.gz binutils-master.tar.bz2 |
print_doc_line uses a static buffer and manually manages memory. I
think neither of these is really needed, so this patch rewrites the
function to use std::string. The new implementation tries to avoid
copying when possible.
Regression tested on x86-64 Fedora 40.
Reviewed-By: Keith Seitz <keiths@redhat.com>
Diffstat (limited to 'gdb/gdbserver/remote-utils.c')
0 files changed, 0 insertions, 0 deletions