Add FreeBSD/aarch64 architecture.
[deliverable/binutils-gdb.git] / gdb / utils.h
index 88cab4b93072a61af8ab1f723af4cd11c307e346..3ceefc1dc6c4c6011ee7511b741d48260c2c455a 100644 (file)
@@ -85,8 +85,6 @@ extern int parse_pid_to_attach (const char *args);
 
 extern int parse_escape (struct gdbarch *, const char **);
 
-char **gdb_buildargv (const char *);
-
 /* A wrapper for an array of char* that was allocated in the way that
    'buildargv' does, and should be freed with 'freeargv'.  */
 
@@ -187,12 +185,12 @@ public:
     return m_argv + count ();
   }
 
-  bool operator!= (nullptr_t)
+  bool operator!= (std::nullptr_t)
   {
     return m_argv != NULL;
   }
 
-  bool operator== (nullptr_t)
+  bool operator== (std::nullptr_t)
   {
     return m_argv == NULL;
   }
@@ -207,8 +205,6 @@ private:
 \f
 /* Cleanup utilities.  */
 
-extern struct cleanup *make_cleanup_freeargv (char **);
-
 struct ui_out;
 extern struct cleanup *
   make_cleanup_ui_out_redirect_pop (struct ui_out *uiout);
@@ -256,11 +252,11 @@ extern struct cleanup *make_bpstat_clear_actions_cleanup (void);
 \f
 /* Path utilities.  */
 
-extern char *gdb_realpath (const char *);
+extern gdb::unique_xmalloc_ptr<char> gdb_realpath (const char *);
 
-extern char *gdb_realpath_keepfile (const char *);
+extern gdb::unique_xmalloc_ptr<char> gdb_realpath_keepfile (const char *);
 
-extern char *gdb_abspath (const char *);
+extern gdb::unique_xmalloc_ptr<char> gdb_abspath (const char *);
 
 extern int gdb_filename_fnmatch (const char *pattern, const char *string,
                                 int flags);
This page took 0.025294 seconds and 4 git commands to generate.