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