Fix find_charset_names.
authorAli Tamur <tamur@google.com>
Mon, 21 Oct 2019 23:34:19 +0000 (16:34 -0700)
committerAli Tamur <tamur@google.com>
Fri, 25 Oct 2019 20:57:05 +0000 (13:57 -0700)
commit1834d45f0ff231bf74de3b0305949cf991470a35
tree0dcc36b4c5304f32ecaa47d795d14def15643603
parent92174eeae843d8295791b9d9f03a7a291cc3c694
Fix find_charset_names.

The patch f2aec7f6d14 changed the return type of relocate_gdb_directory to
std::string, but the change is not reflected in find_charset_names function.
(Probably missed because the broken code is behind an #ifdef).

gdb/ChangeLog

* charset.c (find_charset_names): Reflect API change.
gdb/ChangeLog
gdb/charset.c