summaryrefslogtreecommitdiff
path: root/gdb/gdbcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbcore.h')
-rw-r--r--gdb/gdbcore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbcore.h b/gdb/gdbcore.h
index 0a69d36ad76..9d0f62bc980 100644
--- a/gdb/gdbcore.h
+++ b/gdb/gdbcore.h
@@ -157,6 +157,11 @@ extern void exec_file_locate_attach (int pid, int defer_bp_reset, int from_tty);
extern void validate_files (void);
+/* Give the user a message if the current exec file does not match the exec
+ file determined from the target. In case of mismatch, ask the user
+ if the exec file determined from target must be loaded. */
+extern void validate_exec_file (int from_tty);
+
/* The current default bfd target. */
extern char *gnutarget;