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