gdb: Restore old annotations behaviour when printing frame info
[deliverable/binutils-gdb.git] / gdb / source.c
index b94c6af487d29a3b5e26ca92a912a4558aa5fdbd..0c2b5a4f83de7f57ec587c66cfaa3c5f701f6562 100644 (file)
@@ -1532,7 +1532,7 @@ info_line_command (const char *arg, int from_tty)
 
          /* If this is the only line, show the source code.  If it could
             not find the file, don't do anything special.  */
-         if (sals.size () == 1)
+         if (annotation_level > 0 && sals.size () == 1)
            annotate_source_line (sal.symtab, sal.line, 0, start_pc);
        }
       else
This page took 0.023011 seconds and 4 git commands to generate.