Make relocate_{path,gdb_directory} return std::string
[deliverable/binutils-gdb.git] / gdb / top.c
index 9d4ce1fa3bdc2dd59fb76ace3f6e932b87dd7805..2b53640af061e7f0bb1085433627150fbb4af7db 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -2038,7 +2038,7 @@ show_gdb_datadir (struct ui_file *file, int from_tty,
                  struct cmd_list_element *c, const char *value)
 {
   fprintf_filtered (file, _("GDB's data directory is \"%s\".\n"),
-                   gdb_datadir);
+                   gdb_datadir.c_str ());
 }
 
 static void
This page took 0.025422 seconds and 4 git commands to generate.