[gdb/symtab] Enable ada .gdb_index
[deliverable/binutils-gdb.git] / gdbsupport / common-inferior.h
index 3c8e87aee623e7237241b5a5ba96be96d80f4370..4362934cefde8407bb42eb8569c7b7372fd1b0b0 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef COMMON_COMMON_INFERIOR_H
 #define COMMON_COMMON_INFERIOR_H
 
+#include "gdbsupport/array-view.h"
+
 /* Return the exec wrapper to be used when starting the inferior, or NULL
    otherwise.  */
 extern const char *get_exec_wrapper ();
@@ -58,4 +60,9 @@ extern void set_inferior_cwd (const char *cwd);
    the target is started up with a shell.  */
 extern bool startup_with_shell;
 
+/* Compute command-line string given argument vector. This does the
+   same shell processing as fork_inferior.  */
+extern std::string
+construct_inferior_arguments (gdb::array_view<char * const>);
+
 #endif /* COMMON_COMMON_INFERIOR_H */
This page took 0.03639 seconds and 4 git commands to generate.