aboutsummaryrefslogtreecommitdiff
path: root/gdb/progspace.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-09-16 14:22:11 +0200
committerSimon Marchi <simon.marchi@ericsson.com>2017-09-16 14:22:11 +0200
commit04fd3ba9b63936653fff2b1657b3824c94a8efd6 (patch)
tree8ae27e4acf43f6a185eaf5d525454a87c1b799a6 /gdb/progspace.h
parent5e1875543df7413d3cbc3831390445e347064b75 (diff)
downloadbinutils-04fd3ba9b63936653fff2b1657b3824c94a8efd6.zip
binutils-04fd3ba9b63936653fff2b1657b3824c94a8efd6.tar.gz
binutils-04fd3ba9b63936653fff2b1657b3824c94a8efd6.tar.bz2
Refactor handle_qxfer_libraries and friends to use std::string
Using std::string in handle_qxfer_libraries and friends allow to simplify the code. We don't have to manually free the buffer, and we don't have to pre-compute the required space. gdb/gdbserver/ChangeLog: * server.c (accumulate_file_name_length): Remove. (emit_dll_description): Adjust to std::string change. (handle_qxfer_libraries): Use std::string to hold document.
Diffstat (limited to 'gdb/progspace.h')
0 files changed, 0 insertions, 0 deletions