X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdbsupport%2Fcommon-inferior.h;h=4362934cefde8407bb42eb8569c7b7372fd1b0b0;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=ee87bc75a3f33032d033f515f819520e841ffa15;hpb=92651b1d91a124b8c14e45adc8d007b659cc92c2;p=deliverable%2Fbinutils-gdb.git diff --git a/gdbsupport/common-inferior.h b/gdbsupport/common-inferior.h index ee87bc75a3..4362934cef 100644 --- a/gdbsupport/common-inferior.h +++ b/gdbsupport/common-inferior.h @@ -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 (); @@ -60,6 +62,7 @@ extern bool startup_with_shell; /* Compute command-line string given argument vector. This does the same shell processing as fork_inferior. */ -extern char *construct_inferior_arguments (int, char **); +extern std::string +construct_inferior_arguments (gdb::array_view); #endif /* COMMON_COMMON_INFERIOR_H */