aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/inf-loop.c')
-rw-r--r--gdb/inf-loop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/inf-loop.c b/gdb/inf-loop.c
index ea5a2ed..e347451 100644
--- a/gdb/inf-loop.c
+++ b/gdb/inf-loop.c
@@ -121,7 +121,8 @@ inferior_event_handler (enum inferior_event_type event_type,
else
do_all_continuations ();
- if (current_language != expected_language
+ if (info_verbose
+ && current_language != expected_language
&& language_mode == language_mode_auto)
language_info (1); /* Print what changed. */