aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-loop.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-05-20 18:24:41 +0000
committerPedro Alves <palves@redhat.com>2011-05-20 18:24:41 +0000
commit46cf51e660cab2feb3ea06f6867c665ec60c2dc1 (patch)
tree753cbc4978879194a2bc9027082163e93d229db5 /gdb/inf-loop.c
parent29ef4c468633650e0923145996d428c2cebb1d13 (diff)
downloadgdb-46cf51e660cab2feb3ea06f6867c665ec60c2dc1.zip
gdb-46cf51e660cab2feb3ea06f6867c665ec60c2dc1.tar.gz
gdb-46cf51e660cab2feb3ea06f6867c665ec60c2dc1.tar.bz2
2011-05-20 Pedro Alves <pedro@codesourcery.com>
gdb/ * inf-loop.c (inferior_event_handler): Only output a message if verbose.
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. */