GDB (xrefs)
/tmp/gdb-8.1/gdb/annotate.h
Go to the documentation of this file.
1 /* Annotation routines for GDB.
2  Copyright (C) 1986-2018 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 3 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, see <http://www.gnu.org/licenses/>. */
18 
19 #include "symtab.h"
20 #include "gdbtypes.h"
21 
22 extern void annotate_breakpoint (int);
23 extern void annotate_catchpoint (int);
24 extern void annotate_watchpoint (int);
25 extern void annotate_starting (void);
26 extern void annotate_stopped (void);
27 extern void annotate_exited (int);
28 extern void annotate_signalled (void);
29 extern void annotate_signal_name (void);
30 extern void annotate_signal_name_end (void);
31 extern void annotate_signal_string (void);
32 extern void annotate_signal_string_end (void);
33 extern void annotate_signal (void);
34 
35 extern void annotate_breakpoints_headers (void);
36 extern void annotate_field (int);
37 extern void annotate_breakpoints_table (void);
38 extern void annotate_record (void);
39 extern void annotate_breakpoints_table_end (void);
40 
41 extern void annotate_frames_invalid (void);
42 extern void annotate_new_thread (void);
43 extern void annotate_thread_changed (void);
44 
45 extern void annotate_display_prompt (void);
46 
47 struct type;
48 
49 extern void annotate_field_begin (struct type *);
50 extern void annotate_field_name_end (void);
51 extern void annotate_field_value (void);
52 extern void annotate_field_end (void);
53 
54 extern void annotate_quit (void);
55 extern void annotate_error (void);
56 extern void annotate_error_begin (void);
57 
58 extern void annotate_value_history_begin (int, struct type *);
59 extern void annotate_value_begin (struct type *);
60 extern void annotate_value_history_value (void);
61 extern void annotate_value_history_end (void);
62 extern void annotate_value_end (void);
63 
64 extern void annotate_display_begin (void);
65 extern void annotate_display_number_end (void);
66 extern void annotate_display_format (void);
67 extern void annotate_display_expression (void);
68 extern void annotate_display_expression_end (void);
69 extern void annotate_display_value (void);
70 extern void annotate_display_end (void);
71 
72 extern void annotate_arg_begin (void);
73 extern void annotate_arg_name_end (void);
74 extern void annotate_arg_value (struct type *);
75 extern void annotate_arg_end (void);
76 
77 /* Wrap calls to annotate_arg_begin and annotate_arg_end in an RAII
78  class. */
80 {
83 
85 };
86 
87 extern void annotate_source (char *, int, int, int,
88  struct gdbarch *, CORE_ADDR);
89 
90 extern void annotate_frame_begin (int, struct gdbarch *, CORE_ADDR);
91 extern void annotate_function_call (void);
92 extern void annotate_signal_handler_caller (void);
93 extern void annotate_frame_address (void);
94 extern void annotate_frame_address_end (void);
95 extern void annotate_frame_function_name (void);
96 extern void annotate_frame_args (void);
97 extern void annotate_frame_source_begin (void);
98 extern void annotate_frame_source_file (void);
99 extern void annotate_frame_source_file_end (void);
100 extern void annotate_frame_source_line (void);
101 extern void annotate_frame_source_end (void);
102 extern void annotate_frame_where (void);
103 extern void annotate_frame_end (void);
104 
105 extern void annotate_array_section_begin (int, struct type *);
106 extern void annotate_elt_rep (unsigned int);
107 extern void annotate_elt_rep_end (void);
108 extern void annotate_elt (void);
109 extern void annotate_array_section_end (void);
110 
111 extern void (*deprecated_annotate_signalled_hook) (void);
112 extern void (*deprecated_annotate_signal_hook) (void);
void annotate_arg_end(void)
Definition: annotate.c:415
void annotate_signal_name_end(void)
Definition: annotate.c:139
void annotate_elt_rep(unsigned int)
Definition: annotate.c:545
void annotate_new_thread(void)
Definition: annotate.c:227
void annotate_display_prompt(void)
Definition: annotate.c:577
void annotate_catchpoint(int)
Definition: annotate.c:87
void annotate_frame_function_name(void)
Definition: annotate.c:471
void annotate_display_format(void)
Definition: annotate.c:355
bfd_vma CORE_ADDR
Definition: common-types.h:41
void annotate_frame_source_end(void)
Definition: annotate.c:513
DISABLE_COPY_AND_ASSIGN(annotate_arg_emitter)
void annotate_starting(void)
Definition: annotate.c:101
void annotate_signal_name(void)
Definition: annotate.c:132
void annotate_field_value(void)
Definition: annotate.c:263
void annotate_error(void)
Definition: annotate.c:284
void annotate_field(int)
Definition: annotate.c:177
void annotate_display_end(void)
Definition: annotate.c:383
void annotate_frame_end(void)
Definition: annotate.c:527
void annotate_frame_source_begin(void)
Definition: annotate.c:485
void annotate_frame_address_end(void)
Definition: annotate.c:464
void annotate_value_history_end(void)
Definition: annotate.c:327
void annotate_field_name_end(void)
Definition: annotate.c:256
void annotate_source(char *, int, int, int, struct gdbarch *, CORE_ADDR)
Definition: annotate.c:422
void annotate_display_number_end(void)
Definition: annotate.c:348
void annotate_field_end(void)
Definition: annotate.c:270
void annotate_signal(void)
Definition: annotate.c:160
void annotate_value_end(void)
Definition: annotate.c:334
void annotate_frame_args(void)
Definition: annotate.c:478
void annotate_value_history_begin(int, struct type *)
Definition: annotate.c:298
void annotate_arg_begin(void)
Definition: annotate.c:390
void annotate_frame_source_line(void)
Definition: annotate.c:506
void annotate_elt(void)
Definition: annotate.c:559
void annotate_array_section_end(void)
Definition: annotate.c:566
Definition: gdbtypes.h:749
void annotate_signalled(void)
Definition: annotate.c:122
void annotate_value_begin(struct type *)
Definition: annotate.c:309
void annotate_breakpoint(int)
Definition: annotate.c:80
void annotate_array_section_begin(int, struct type *)
Definition: annotate.c:534
void annotate_frame_source_file_end(void)
Definition: annotate.c:499
void annotate_elt_rep_end(void)
Definition: annotate.c:552
void annotate_frames_invalid(void)
Definition: annotate.c:205
void annotate_breakpoints_headers(void)
Definition: annotate.c:170
void annotate_display_value(void)
Definition: annotate.c:376
void annotate_record(void)
Definition: annotate.c:191
void annotate_stopped(void)
Definition: annotate.c:108
void annotate_quit(void)
Definition: annotate.c:277
void annotate_signal_handler_caller(void)
Definition: annotate.c:450
void annotate_frame_address(void)
Definition: annotate.c:457
void(* deprecated_annotate_signal_hook)(void)
Definition: annotate.c:39
void annotate_frame_where(void)
Definition: annotate.c:520
void annotate_display_expression_end(void)
Definition: annotate.c:369
void annotate_field_begin(struct type *)
Definition: annotate.c:245
void annotate_error_begin(void)
Definition: annotate.c:291
void annotate_breakpoints_table_end(void)
Definition: annotate.c:198
void annotate_function_call(void)
Definition: annotate.c:443
void annotate_signal_string_end(void)
Definition: annotate.c:153
void annotate_display_expression(void)
Definition: annotate.c:362
void(* deprecated_annotate_signalled_hook)(void)
Definition: annotate.c:38
void annotate_watchpoint(int)
Definition: annotate.c:94
void annotate_exited(int)
Definition: annotate.c:115
void annotate_frame_begin(int, struct gdbarch *, CORE_ADDR)
Definition: annotate.c:435
void annotate_frame_source_file(void)
Definition: annotate.c:492
void annotate_value_history_value(void)
Definition: annotate.c:320
void annotate_thread_changed(void)
Definition: annotate.c:236
void annotate_arg_name_end(void)
Definition: annotate.c:397
void annotate_display_begin(void)
Definition: annotate.c:341
void annotate_arg_value(struct type *)
Definition: annotate.c:404
void annotate_breakpoints_table(void)
Definition: annotate.c:184
void annotate_signal_string(void)
Definition: annotate.c:146