Don't write to inferior_ptid in infrun.c
[deliverable/binutils-gdb.git] / gdbsupport / common-utils.cc
index ed05d619c778992c36d61c962bca28e5f81c7b72..b5e4d2928ecd1ed1e59286c5bf9f82aae0f30d3c 100644 (file)
@@ -375,29 +375,6 @@ free_vector_argv (std::vector<char *> &v)
 
 /* See gdbsupport/common-utils.h.  */
 
-std::string
-stringify_argv (const std::vector<char *> &args)
-{
-  std::string ret;
-
-  if (!args.empty () && args[0] != NULL)
-    {
-      for (auto s : args)
-       if (s != NULL)
-         {
-           ret += s;
-           ret += ' ';
-         }
-
-      /* Erase the last whitespace.  */
-      ret.erase (ret.end () - 1);
-    }
-
-  return ret;
-}
-
-/* See gdbsupport/common-utils.h.  */
-
 ULONGEST
 align_up (ULONGEST v, int n)
 {
This page took 0.024126 seconds and 4 git commands to generate.