aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/exec.c')
-rw-r--r--gdb/exec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index fa770c6..de473fb 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -315,7 +315,10 @@ validate_exec_file (int from_tty)
{
symfile_add_flags add_flags = SYMFILE_MAINLINE;
if (from_tty)
- add_flags |= SYMFILE_VERBOSE;
+ {
+ add_flags |= SYMFILE_VERBOSE;
+ add_flags |= SYMFILE_ALWAYS_CONFIRM;
+ }
try
{
symbol_file_add_main (exec_file_target.c_str (), add_flags);