2011-05-20 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Fri, 20 May 2011 18:24:41 +0000 (18:24 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 20 May 2011 18:24:41 +0000 (18:24 +0000)
gdb/
* inf-loop.c (inferior_event_handler): Only output a message if
verbose.

gdb/ChangeLog
gdb/inf-loop.c

index ad0e9350e7099be440e03fcb13d3d22cdb72d0c8..3fe50fe176e1a4862c1a6d8ae5db7af5e4c8bc89 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-20  Pedro Alves  <pedro@codesourcery.com>
+
+       * inf-loop.c (inferior_event_handler): Only output a message if
+       verbose.
+
 2011-05-20  Luis Machado  <lgustavo@codesourcery.com>
 
        * MAINTAINERS: Update my e-mail address.
index ea5a2ed0947d18c90ecfbc056e7723aafb68de8a..e347451dcc84ad976e92726a9999b505780a5b19 100644 (file)
@@ -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.  */