diff options
Diffstat (limited to 'gdb/dwarf2/dwz.c')
-rw-r--r-- | gdb/dwarf2/dwz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/dwz.c b/gdb/dwarf2/dwz.c index f9d5db6..5e963d5 100644 --- a/gdb/dwarf2/dwz.c +++ b/gdb/dwarf2/dwz.c @@ -118,7 +118,7 @@ dwz_search_other_debugdirs (std::string &filename, bfd_byte *buildid, gdb_bfd_ref_ptr dwz_bfd; std::vector<gdb::unique_xmalloc_ptr<char>> debugdir_vec - = dirnames_to_char_ptr_vec (debug_file_directory); + = dirnames_to_char_ptr_vec (debug_file_directory.c_str ()); for (const gdb::unique_xmalloc_ptr<char> &debugdir : debugdir_vec) { |