Fix --as-needed undefined symbol references from dynamic libraries.
[deliverable/binutils-gdb.git] / gdb / main.h
index a5260b16bc6b4ed21092a25509a2310d616ab7f0..958b597ded7a5ac137607f7bd91abc3203b3da8c 100644 (file)
@@ -42,4 +42,10 @@ extern int batch_flag;
    return value is in malloc'ed storage.  */
 extern char *windows_get_absolute_argv0 (const char *argv0);
 
+/* Return read only pointer to the name of gdb as it was invoked.  This
+   might have been expanded to an absolute path if required by the
+   platform.  Could return NULL if called before gdb has had a chance to
+   parse the argv array.  */
+extern const char *get_gdb_program_name (void);
+
 #endif
This page took 0.023511 seconds and 4 git commands to generate.