From: Pedro Alves Date: Fri, 20 May 2011 18:24:41 +0000 (+0000) Subject: 2011-05-20 Pedro Alves X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46cf51e660cab2feb3ea06f6867c665ec60c2dc1;p=binutils-gdb.git 2011-05-20 Pedro Alves gdb/ * inf-loop.c (inferior_event_handler): Only output a message if verbose. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ad0e9350e70..3fe50fe176e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-05-20 Pedro Alves + + * inf-loop.c (inferior_event_handler): Only output a message if + verbose. + 2011-05-20 Luis Machado * MAINTAINERS: Update my e-mail address. diff --git a/gdb/inf-loop.c b/gdb/inf-loop.c index ea5a2ed0947..e347451dcc8 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. */