gdb: Remove an update of current_source_line and current_source_symtab
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index cb81983a1da6c465861122c39a9c251ff4391537..f0489df3a5c789c61d155e4f99dc8349bc9b63c8 100644 (file)
@@ -1,3 +1,21 @@
+2019-06-15  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * annotate.c: Add 'source.h' and 'objfiles.h' includes.
+       (annotate_source): Make static.
+       (annotate_source_line): Moved from source.c and renamed from
+       identify_source_line.  Update the return type.
+       * annotate.h (annotate_source): Delete declaration.
+       (annotate_source_line): Declaration moved from source.h, and
+       renamed from identify_source_line.  Return type updated.
+       * source.c (identify_source_line): Moved to annotate.c and renamed
+       to annotate_source_line.
+       (info_line_command): Remove check of annotation_level.
+       * source.h (identify_source_line): Move declaration to annotate.h
+       and rename to annotate_source_line.
+       * stack.c: Add 'annotate.h' include.
+       (print_frame_info): Remove check of annotation_level before
+       calling annotate_source_line.
+
 2019-06-15  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * source-cache.c (source_cache::get_plain_source_lines): Use
This page took 0.028524 seconds and 4 git commands to generate.