diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2018-03-08 18:57:53 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-03-08 18:57:53 -0500 |
commit | 00b400574aa75c1c5fe469233ab16930e2d8a4c8 (patch) | |
tree | 6653d9755a017c9f43fa7460a4bfaa4cb4beeafe /gdb/source.c | |
parent | a8dbfd5853e3a5f7f2a3ca817e96d9e0759061a2 (diff) | |
download | binutils-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