#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 ();
/* Compute command-line string given argument vector. This does the
same shell processing as fork_inferior. */
-extern std::string construct_inferior_arguments (int, char * const *);
+extern std::string
+construct_inferior_arguments (gdb::array_view<char * const>);
#endif /* COMMON_COMMON_INFERIOR_H */