aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/main.h')
-rw-r--r--gdb/main.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/main.h b/gdb/main.h
index 49b64ee..a5260b1 100644
--- a/gdb/main.h
+++ b/gdb/main.h
@@ -36,4 +36,10 @@ extern int return_child_result_value;
extern int batch_silent;
extern int batch_flag;
+/* From mingw-hdep.c, used by main.c. */
+
+/* Return argv[0] in absolute form, if possible, or ARGV0 if not. The
+ return value is in malloc'ed storage. */
+extern char *windows_get_absolute_argv0 (const char *argv0);
+
#endif