aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2018-03-08 18:57:53 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2018-03-08 18:57:53 -0500
commit00b400574aa75c1c5fe469233ab16930e2d8a4c8 (patch)
tree6653d9755a017c9f43fa7460a4bfaa4cb4beeafe /gdb/source.c
parenta8dbfd5853e3a5f7f2a3ca817e96d9e0759061a2 (diff)
downloadbinutils-00b400574aa75c1c5fe469233ab16930e2d8a4c8.zip
binutils-00b400574aa75c1c5fe469233ab16930e2d8a4c8.tar.gz
binutils-00b400574aa75c1c5fe469233ab16930e2d8a4c8.tar.bz2
Use std::string to simplify build_id_to_debug_bfd
Using std::string here makes the string building simpler thank playing with char*. A stack allocation is replaced with heap allocation, but I don't think this is really performance-critical code. gdb/ChangeLog: * build-id.c (build_id_to_debug_bfd): Use std::string.
Diffstat (limited to 'gdb/source.c')
0 files changed, 0 insertions, 0 deletions