gdb/annotate.h - gdb

  1. /* Annotation routines for GDB.
  2.    Copyright (C) 1986-2015 Free Software Foundation, Inc.

  3.    This file is part of GDB.

  4.    This program is free software; you can redistribute it and/or modify
  5.    it under the terms of the GNU General Public License as published by
  6.    the Free Software Foundation; either version 3 of the License, or
  7.    (at your option) any later version.

  8.    This program is distributed in the hope that it will be useful,
  9.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  10.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11.    GNU General Public License for more details.

  12.    You should have received a copy of the GNU General Public License
  13.    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */

  14. #include "symtab.h"
  15. #include "gdbtypes.h"

  16. extern void annotate_breakpoint (int);
  17. extern void annotate_catchpoint (int);
  18. extern void annotate_watchpoint (int);
  19. extern void annotate_starting (void);
  20. extern void annotate_stopped (void);
  21. extern void annotate_exited (int);
  22. extern void annotate_signalled (void);
  23. extern void annotate_signal_name (void);
  24. extern void annotate_signal_name_end (void);
  25. extern void annotate_signal_string (void);
  26. extern void annotate_signal_string_end (void);
  27. extern void annotate_signal (void);

  28. extern void annotate_breakpoints_headers (void);
  29. extern void annotate_field (int);
  30. extern void annotate_breakpoints_table (void);
  31. extern void annotate_record (void);
  32. extern void annotate_breakpoints_table_end (void);

  33. extern void annotate_frames_invalid (void);
  34. extern void annotate_new_thread (void);
  35. extern void annotate_thread_changed (void);

  36. extern void annotate_display_prompt (void);

  37. struct type;

  38. extern void annotate_field_begin (struct type *);
  39. extern void annotate_field_name_end (void);
  40. extern void annotate_field_value (void);
  41. extern void annotate_field_end (void);

  42. extern void annotate_quit (void);
  43. extern void annotate_error (void);
  44. extern void annotate_error_begin (void);

  45. extern void annotate_value_history_begin (int, struct type *);
  46. extern void annotate_value_begin (struct type *);
  47. extern void annotate_value_history_value (void);
  48. extern void annotate_value_history_end (void);
  49. extern void annotate_value_end (void);

  50. extern void annotate_display_begin (void);
  51. extern void annotate_display_number_end (void);
  52. extern void annotate_display_format (void);
  53. extern void annotate_display_expression (void);
  54. extern void annotate_display_expression_end (void);
  55. extern void annotate_display_value (void);
  56. extern void annotate_display_end (void);

  57. extern void annotate_arg_begin (void);
  58. extern void annotate_arg_name_end (void);
  59. extern void annotate_arg_value (struct type *);
  60. extern void annotate_arg_end (void);

  61. extern void annotate_source (char *, int, int, int,
  62.                              struct gdbarch *, CORE_ADDR);

  63. extern void annotate_frame_begin (int, struct gdbarch *, CORE_ADDR);
  64. extern void annotate_function_call (void);
  65. extern void annotate_signal_handler_caller (void);
  66. extern void annotate_frame_address (void);
  67. extern void annotate_frame_address_end (void);
  68. extern void annotate_frame_function_name (void);
  69. extern void annotate_frame_args (void);
  70. extern void annotate_frame_source_begin (void);
  71. extern void annotate_frame_source_file (void);
  72. extern void annotate_frame_source_file_end (void);
  73. extern void annotate_frame_source_line (void);
  74. extern void annotate_frame_source_end (void);
  75. extern void annotate_frame_where (void);
  76. extern void annotate_frame_end (void);

  77. extern void annotate_array_section_begin (int, struct type *);
  78. extern void annotate_elt_rep (unsigned int);
  79. extern void annotate_elt_rep_end (void);
  80. extern void annotate_elt (void);
  81. extern void annotate_array_section_end (void);

  82. extern void (*deprecated_annotate_signalled_hook) (void);
  83. extern void (*deprecated_annotate_signal_hook) (void);