X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fsource.c;h=0c2b5a4f83de7f57ec587c66cfaa3c5f701f6562;hb=7c13f4e875fd5eeb0b7a1c301b4b513051822648;hp=b94c6af487d29a3b5e26ca92a912a4558aa5fdbd;hpb=6f3fe02b0b8f6865820d8889a8420190063f3235;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/source.c b/gdb/source.c index b94c6af487..0c2b5a4f83 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -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