1*5796c8dcSSimon Schubert /* Annotation routines for GDB. 2*5796c8dcSSimon Schubert Copyright (C) 1986, 1989, 1990, 1991, 1992, 1994, 1998, 1999, 2000, 2007, 3*5796c8dcSSimon Schubert 2008, 2009 Free Software Foundation, Inc. 4*5796c8dcSSimon Schubert 5*5796c8dcSSimon Schubert This file is part of GDB. 6*5796c8dcSSimon Schubert 7*5796c8dcSSimon Schubert This program is free software; you can redistribute it and/or modify 8*5796c8dcSSimon Schubert it under the terms of the GNU General Public License as published by 9*5796c8dcSSimon Schubert the Free Software Foundation; either version 3 of the License, or 10*5796c8dcSSimon Schubert (at your option) any later version. 11*5796c8dcSSimon Schubert 12*5796c8dcSSimon Schubert This program is distributed in the hope that it will be useful, 13*5796c8dcSSimon Schubert but WITHOUT ANY WARRANTY; without even the implied warranty of 14*5796c8dcSSimon Schubert MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15*5796c8dcSSimon Schubert GNU General Public License for more details. 16*5796c8dcSSimon Schubert 17*5796c8dcSSimon Schubert You should have received a copy of the GNU General Public License 18*5796c8dcSSimon Schubert along with this program. If not, see <http://www.gnu.org/licenses/>. */ 19*5796c8dcSSimon Schubert 20*5796c8dcSSimon Schubert #include "symtab.h" 21*5796c8dcSSimon Schubert #include "gdbtypes.h" 22*5796c8dcSSimon Schubert 23*5796c8dcSSimon Schubert extern void breakpoints_changed (void); 24*5796c8dcSSimon Schubert 25*5796c8dcSSimon Schubert extern void annotate_ignore_count_change (void); 26*5796c8dcSSimon Schubert extern void annotate_breakpoint (int); 27*5796c8dcSSimon Schubert extern void annotate_catchpoint (int); 28*5796c8dcSSimon Schubert extern void annotate_watchpoint (int); 29*5796c8dcSSimon Schubert extern void annotate_starting (void); 30*5796c8dcSSimon Schubert extern void annotate_stopped (void); 31*5796c8dcSSimon Schubert extern void annotate_exited (int); 32*5796c8dcSSimon Schubert extern void annotate_signalled (void); 33*5796c8dcSSimon Schubert extern void annotate_signal_name (void); 34*5796c8dcSSimon Schubert extern void annotate_signal_name_end (void); 35*5796c8dcSSimon Schubert extern void annotate_signal_string (void); 36*5796c8dcSSimon Schubert extern void annotate_signal_string_end (void); 37*5796c8dcSSimon Schubert extern void annotate_signal (void); 38*5796c8dcSSimon Schubert 39*5796c8dcSSimon Schubert extern void annotate_breakpoints_headers (void); 40*5796c8dcSSimon Schubert extern void annotate_field (int); 41*5796c8dcSSimon Schubert extern void annotate_breakpoints_table (void); 42*5796c8dcSSimon Schubert extern void annotate_record (void); 43*5796c8dcSSimon Schubert extern void annotate_breakpoints_table_end (void); 44*5796c8dcSSimon Schubert 45*5796c8dcSSimon Schubert extern void annotate_frames_invalid (void); 46*5796c8dcSSimon Schubert extern void annotate_new_thread (void); 47*5796c8dcSSimon Schubert extern void annotate_thread_changed (void); 48*5796c8dcSSimon Schubert 49*5796c8dcSSimon Schubert struct type; 50*5796c8dcSSimon Schubert 51*5796c8dcSSimon Schubert extern void annotate_field_begin (struct type *); 52*5796c8dcSSimon Schubert extern void annotate_field_name_end (void); 53*5796c8dcSSimon Schubert extern void annotate_field_value (void); 54*5796c8dcSSimon Schubert extern void annotate_field_end (void); 55*5796c8dcSSimon Schubert 56*5796c8dcSSimon Schubert extern void annotate_quit (void); 57*5796c8dcSSimon Schubert extern void annotate_error (void); 58*5796c8dcSSimon Schubert extern void annotate_error_begin (void); 59*5796c8dcSSimon Schubert 60*5796c8dcSSimon Schubert extern void annotate_value_history_begin (int, struct type *); 61*5796c8dcSSimon Schubert extern void annotate_value_begin (struct type *); 62*5796c8dcSSimon Schubert extern void annotate_value_history_value (void); 63*5796c8dcSSimon Schubert extern void annotate_value_history_end (void); 64*5796c8dcSSimon Schubert extern void annotate_value_end (void); 65*5796c8dcSSimon Schubert 66*5796c8dcSSimon Schubert extern void annotate_display_begin (void); 67*5796c8dcSSimon Schubert extern void annotate_display_number_end (void); 68*5796c8dcSSimon Schubert extern void annotate_display_format (void); 69*5796c8dcSSimon Schubert extern void annotate_display_expression (void); 70*5796c8dcSSimon Schubert extern void annotate_display_expression_end (void); 71*5796c8dcSSimon Schubert extern void annotate_display_value (void); 72*5796c8dcSSimon Schubert extern void annotate_display_end (void); 73*5796c8dcSSimon Schubert 74*5796c8dcSSimon Schubert extern void annotate_arg_begin (void); 75*5796c8dcSSimon Schubert extern void annotate_arg_name_end (void); 76*5796c8dcSSimon Schubert extern void annotate_arg_value (struct type *); 77*5796c8dcSSimon Schubert extern void annotate_arg_end (void); 78*5796c8dcSSimon Schubert 79*5796c8dcSSimon Schubert extern void annotate_source (char *, int, int, int, 80*5796c8dcSSimon Schubert struct gdbarch *, CORE_ADDR); 81*5796c8dcSSimon Schubert 82*5796c8dcSSimon Schubert extern void annotate_frame_begin (int, struct gdbarch *, CORE_ADDR); 83*5796c8dcSSimon Schubert extern void annotate_function_call (void); 84*5796c8dcSSimon Schubert extern void annotate_signal_handler_caller (void); 85*5796c8dcSSimon Schubert extern void annotate_frame_address (void); 86*5796c8dcSSimon Schubert extern void annotate_frame_address_end (void); 87*5796c8dcSSimon Schubert extern void annotate_frame_function_name (void); 88*5796c8dcSSimon Schubert extern void annotate_frame_args (void); 89*5796c8dcSSimon Schubert extern void annotate_frame_source_begin (void); 90*5796c8dcSSimon Schubert extern void annotate_frame_source_file (void); 91*5796c8dcSSimon Schubert extern void annotate_frame_source_file_end (void); 92*5796c8dcSSimon Schubert extern void annotate_frame_source_line (void); 93*5796c8dcSSimon Schubert extern void annotate_frame_source_end (void); 94*5796c8dcSSimon Schubert extern void annotate_frame_where (void); 95*5796c8dcSSimon Schubert extern void annotate_frame_end (void); 96*5796c8dcSSimon Schubert 97*5796c8dcSSimon Schubert extern void annotate_array_section_begin (int, struct type *); 98*5796c8dcSSimon Schubert extern void annotate_elt_rep (unsigned int); 99*5796c8dcSSimon Schubert extern void annotate_elt_rep_end (void); 100*5796c8dcSSimon Schubert extern void annotate_elt (void); 101*5796c8dcSSimon Schubert extern void annotate_array_section_end (void); 102*5796c8dcSSimon Schubert 103*5796c8dcSSimon Schubert extern void (*deprecated_annotate_signalled_hook) (void); 104*5796c8dcSSimon Schubert extern void (*deprecated_annotate_signal_hook) (void); 105