aboutsummaryrefslogtreecommitdiff
path: root/gdb/go32-nat.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-04-06 12:58:55 -0600
committerTom Tromey <tom@tromey.com>2025-04-08 14:35:58 -0600
commitae871f291b8a603026d674bd1b01590cb485a8c3 (patch)
treee5439ca144c738b5ca5e4055f09b75c774b18734 /gdb/go32-nat.c
parentd55ade198f842223eecc99e88f30acf7b86a9bb6 (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
Simplify print_doc_lineHEADmaster
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/go32-nat.c')
0 files changed, 0 insertions, 0 deletions