aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2018-03-08 18:56:23 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2018-03-08 18:56:23 -0500
commita8dbfd5853e3a5f7f2a3ca817e96d9e0759061a2 (patch)
tree6afc9df31bdc7097c42d1b0b8d0c994ba354e626 /gdb/source.c
parente6a58aa8a70c7fd17d9930e7df8d158a7e3c8c8e (diff)
downloadbinutils-a8dbfd5853e3a5f7f2a3ca817e96d9e0759061a2.zip
binutils-a8dbfd5853e3a5f7f2a3ca817e96d9e0759061a2.tar.gz
binutils-a8dbfd5853e3a5f7f2a3ca817e96d9e0759061a2.tar.bz2
Make find_separate_debug_file* return std::string
This patch makes the find_separate_debug_file* functions return std::string, which allows to get rid of some manual memory management and one cleanup. gdb/ChangeLog: * build-id.c (find_separate_debug_file_by_buildid): Return std::string. * build-id.h (find_separate_debug_file_by_buildid): Return std::string. * coffread.c (coff_symfile_read): Adjust to std::string. * elfread.c (elf_symfile_read): Adjust to std::string. * symfile.c (separate_debug_file_exists): Change parameter to std::string. (find_separate_debug_file): Return std::string. (find_separate_debug_file_by_debuglink): Return std::string. * symfile.h (find_separate_debug_file_by_debuglink): Return std::string.
Diffstat (limited to 'gdb/source.c')
0 files changed, 0 insertions, 0 deletions