Document the ARM_CC_FOR_TARGET testsuite variable
[binutils-gdb.git] / gdbsupport / gdb_tilde_expand.cc
index e3f9308a14f0837e5a1ee727ab0d3a5da00be4ee..177d296a14fd51c6cfc4f0f6cca16492eae3fe97 100644 (file)
@@ -102,12 +102,3 @@ gdb_tilde_expand (const char *dir)
   gdb_assert (glob.pathc () == 1);
   return std::string (glob.pathv ()[0]) + remainder;
 }
-
-/* See gdbsupport/gdb_tilde_expand.h.  */
-
-gdb::unique_xmalloc_ptr<char>
-gdb_tilde_expand_up (const char *dir)
-{
-  const std::string expanded = gdb_tilde_expand (dir);
-  return make_unique_xstrdup (expanded.c_str ());
-}