summaryrefslogtreecommitdiff
path: root/gdb/python/python.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/python.h')
-rw-r--r--gdb/python/python.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/python/python.h b/gdb/python/python.h
index dd7066f3221..0d072712af4 100644
--- a/gdb/python/python.h
+++ b/gdb/python/python.h
@@ -24,6 +24,10 @@
struct breakpoint_object;
+/* The suffix of per-objfile scripts to auto-load.
+ E.g. When the program loads libfoo.so, look for libfoo-gdb.py. */
+#define GDBPY_AUTO_FILE_NAME "-gdb.py"
+
extern void finish_python_initialization (void);
void eval_python_from_control_command (struct command_line *);