Merge from vendor branch TCPDUMP:
[dragonfly.git] / contrib / gdb / gdb / annotate.h
1 /* Annotation routines for GDB.
2    Copyright 1986, 1989, 1990, 1991, 1992 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, Boston, MA 02111-1307, USA.  */
19
20 #include "symtab.h"
21 #include "gdbtypes.h"
22
23 extern void breakpoints_changed PARAMS ((void));
24
25 extern void annotate_breakpoint PARAMS ((int));
26 extern void annotate_catchpoint PARAMS ((int));
27 extern void annotate_watchpoint PARAMS ((int));
28 extern void annotate_starting PARAMS ((void));
29 extern void annotate_stopped PARAMS ((void));
30 extern void annotate_exited PARAMS ((int));
31 extern void annotate_signalled PARAMS ((void));
32 extern void annotate_signal_name PARAMS ((void));
33 extern void annotate_signal_name_end PARAMS ((void));
34 extern void annotate_signal_string PARAMS ((void));
35 extern void annotate_signal_string_end PARAMS ((void));
36 extern void annotate_signal PARAMS ((void));
37
38 extern void annotate_breakpoints_headers PARAMS ((void));
39 extern void annotate_field PARAMS ((int));
40 extern void annotate_breakpoints_table PARAMS ((void));
41 extern void annotate_record PARAMS ((void));
42 extern void annotate_breakpoints_table_end PARAMS ((void));
43
44 extern void annotate_frames_invalid PARAMS ((void));
45
46 #ifdef __STDC__
47 struct type;
48 #endif
49
50 extern void annotate_field_begin PARAMS ((struct type *));
51 extern void annotate_field_name_end PARAMS ((void));
52 extern void annotate_field_value PARAMS ((void));
53 extern void annotate_field_end PARAMS ((void));
54
55 extern void annotate_quit PARAMS ((void));
56 extern void annotate_error PARAMS ((void));
57 extern void annotate_error_begin PARAMS ((void));
58
59 extern void annotate_value_history_begin PARAMS ((int, struct type *));
60 extern void annotate_value_begin PARAMS ((struct type *));
61 extern void annotate_value_history_value PARAMS ((void));
62 extern void annotate_value_history_end PARAMS ((void));
63 extern void annotate_value_end PARAMS ((void));
64
65 extern void annotate_display_begin PARAMS ((void));
66 extern void annotate_display_number_end PARAMS ((void));
67 extern void annotate_display_format PARAMS ((void));
68 extern void annotate_display_expression PARAMS ((void));
69 extern void annotate_display_expression_end PARAMS ((void));
70 extern void annotate_display_value PARAMS ((void));
71 extern void annotate_display_end PARAMS ((void));
72
73 extern void annotate_arg_begin PARAMS ((void));
74 extern void annotate_arg_name_end PARAMS ((void));
75 extern void annotate_arg_value PARAMS ((struct type *));
76 extern void annotate_arg_end PARAMS ((void));
77
78 extern void annotate_source PARAMS ((char *, int, int, int, CORE_ADDR));
79
80 extern void annotate_frame_begin PARAMS ((int, CORE_ADDR));
81 extern void annotate_function_call PARAMS ((void));
82 extern void annotate_signal_handler_caller PARAMS ((void));
83 extern void annotate_frame_address PARAMS ((void));
84 extern void annotate_frame_address_end PARAMS ((void));
85 extern void annotate_frame_function_name PARAMS ((void));
86 extern void annotate_frame_args PARAMS ((void));
87 extern void annotate_frame_source_begin PARAMS ((void));
88 extern void annotate_frame_source_file PARAMS ((void));
89 extern void annotate_frame_source_file_end PARAMS ((void));
90 extern void annotate_frame_source_line PARAMS ((void));
91 extern void annotate_frame_source_end PARAMS ((void));
92 extern void annotate_frame_where PARAMS ((void));
93 extern void annotate_frame_end PARAMS ((void));
94
95 extern void annotate_array_section_begin PARAMS ((int, struct type *));
96 extern void annotate_elt_rep PARAMS ((unsigned int));
97 extern void annotate_elt_rep_end PARAMS ((void));
98 extern void annotate_elt PARAMS ((void));
99 extern void annotate_array_section_end PARAMS ((void));
100
101 extern void (*annotate_starting_hook) PARAMS ((void));
102 extern void (*annotate_stopped_hook) PARAMS ((void));
103 extern void (*annotate_signalled_hook) PARAMS ((void));
104 extern void (*annotate_exited_hook) PARAMS ((void));