xref: /dflybsd-src/contrib/gdb-7/gdb/annotate.h (revision de8e141f24382815c10a4012d209bbbf7abf1112)
15796c8dcSSimon Schubert /* Annotation routines for GDB.
2*ef5ccd6cSJohn Marino    Copyright (C) 1986-2013 Free Software Foundation, Inc.
35796c8dcSSimon Schubert 
45796c8dcSSimon Schubert    This file is part of GDB.
55796c8dcSSimon Schubert 
65796c8dcSSimon Schubert    This program is free software; you can redistribute it and/or modify
75796c8dcSSimon Schubert    it under the terms of the GNU General Public License as published by
85796c8dcSSimon Schubert    the Free Software Foundation; either version 3 of the License, or
95796c8dcSSimon Schubert    (at your option) any later version.
105796c8dcSSimon Schubert 
115796c8dcSSimon Schubert    This program is distributed in the hope that it will be useful,
125796c8dcSSimon Schubert    but WITHOUT ANY WARRANTY; without even the implied warranty of
135796c8dcSSimon Schubert    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
145796c8dcSSimon Schubert    GNU General Public License for more details.
155796c8dcSSimon Schubert 
165796c8dcSSimon Schubert    You should have received a copy of the GNU General Public License
175796c8dcSSimon Schubert    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
185796c8dcSSimon Schubert 
195796c8dcSSimon Schubert #include "symtab.h"
205796c8dcSSimon Schubert #include "gdbtypes.h"
215796c8dcSSimon Schubert 
225796c8dcSSimon Schubert extern void annotate_breakpoint (int);
235796c8dcSSimon Schubert extern void annotate_catchpoint (int);
245796c8dcSSimon Schubert extern void annotate_watchpoint (int);
255796c8dcSSimon Schubert extern void annotate_starting (void);
265796c8dcSSimon Schubert extern void annotate_stopped (void);
275796c8dcSSimon Schubert extern void annotate_exited (int);
285796c8dcSSimon Schubert extern void annotate_signalled (void);
295796c8dcSSimon Schubert extern void annotate_signal_name (void);
305796c8dcSSimon Schubert extern void annotate_signal_name_end (void);
315796c8dcSSimon Schubert extern void annotate_signal_string (void);
325796c8dcSSimon Schubert extern void annotate_signal_string_end (void);
335796c8dcSSimon Schubert extern void annotate_signal (void);
345796c8dcSSimon Schubert 
355796c8dcSSimon Schubert extern void annotate_breakpoints_headers (void);
365796c8dcSSimon Schubert extern void annotate_field (int);
375796c8dcSSimon Schubert extern void annotate_breakpoints_table (void);
385796c8dcSSimon Schubert extern void annotate_record (void);
395796c8dcSSimon Schubert extern void annotate_breakpoints_table_end (void);
405796c8dcSSimon Schubert 
415796c8dcSSimon Schubert extern void annotate_frames_invalid (void);
425796c8dcSSimon Schubert extern void annotate_new_thread (void);
435796c8dcSSimon Schubert extern void annotate_thread_changed (void);
445796c8dcSSimon Schubert 
45*ef5ccd6cSJohn Marino extern void annotate_display_prompt (void);
46*ef5ccd6cSJohn Marino 
475796c8dcSSimon Schubert struct type;
485796c8dcSSimon Schubert 
495796c8dcSSimon Schubert extern void annotate_field_begin (struct type *);
505796c8dcSSimon Schubert extern void annotate_field_name_end (void);
515796c8dcSSimon Schubert extern void annotate_field_value (void);
525796c8dcSSimon Schubert extern void annotate_field_end (void);
535796c8dcSSimon Schubert 
545796c8dcSSimon Schubert extern void annotate_quit (void);
555796c8dcSSimon Schubert extern void annotate_error (void);
565796c8dcSSimon Schubert extern void annotate_error_begin (void);
575796c8dcSSimon Schubert 
585796c8dcSSimon Schubert extern void annotate_value_history_begin (int, struct type *);
595796c8dcSSimon Schubert extern void annotate_value_begin (struct type *);
605796c8dcSSimon Schubert extern void annotate_value_history_value (void);
615796c8dcSSimon Schubert extern void annotate_value_history_end (void);
625796c8dcSSimon Schubert extern void annotate_value_end (void);
635796c8dcSSimon Schubert 
645796c8dcSSimon Schubert extern void annotate_display_begin (void);
655796c8dcSSimon Schubert extern void annotate_display_number_end (void);
665796c8dcSSimon Schubert extern void annotate_display_format (void);
675796c8dcSSimon Schubert extern void annotate_display_expression (void);
685796c8dcSSimon Schubert extern void annotate_display_expression_end (void);
695796c8dcSSimon Schubert extern void annotate_display_value (void);
705796c8dcSSimon Schubert extern void annotate_display_end (void);
715796c8dcSSimon Schubert 
725796c8dcSSimon Schubert extern void annotate_arg_begin (void);
735796c8dcSSimon Schubert extern void annotate_arg_name_end (void);
745796c8dcSSimon Schubert extern void annotate_arg_value (struct type *);
755796c8dcSSimon Schubert extern void annotate_arg_end (void);
765796c8dcSSimon Schubert 
775796c8dcSSimon Schubert extern void annotate_source (char *, int, int, int,
785796c8dcSSimon Schubert 			     struct gdbarch *, CORE_ADDR);
795796c8dcSSimon Schubert 
805796c8dcSSimon Schubert extern void annotate_frame_begin (int, struct gdbarch *, CORE_ADDR);
815796c8dcSSimon Schubert extern void annotate_function_call (void);
825796c8dcSSimon Schubert extern void annotate_signal_handler_caller (void);
835796c8dcSSimon Schubert extern void annotate_frame_address (void);
845796c8dcSSimon Schubert extern void annotate_frame_address_end (void);
855796c8dcSSimon Schubert extern void annotate_frame_function_name (void);
865796c8dcSSimon Schubert extern void annotate_frame_args (void);
875796c8dcSSimon Schubert extern void annotate_frame_source_begin (void);
885796c8dcSSimon Schubert extern void annotate_frame_source_file (void);
895796c8dcSSimon Schubert extern void annotate_frame_source_file_end (void);
905796c8dcSSimon Schubert extern void annotate_frame_source_line (void);
915796c8dcSSimon Schubert extern void annotate_frame_source_end (void);
925796c8dcSSimon Schubert extern void annotate_frame_where (void);
935796c8dcSSimon Schubert extern void annotate_frame_end (void);
945796c8dcSSimon Schubert 
955796c8dcSSimon Schubert extern void annotate_array_section_begin (int, struct type *);
965796c8dcSSimon Schubert extern void annotate_elt_rep (unsigned int);
975796c8dcSSimon Schubert extern void annotate_elt_rep_end (void);
985796c8dcSSimon Schubert extern void annotate_elt (void);
995796c8dcSSimon Schubert extern void annotate_array_section_end (void);
1005796c8dcSSimon Schubert 
1015796c8dcSSimon Schubert extern void (*deprecated_annotate_signalled_hook) (void);
1025796c8dcSSimon Schubert extern void (*deprecated_annotate_signal_hook) (void);
103