GDB (xrefs)
Functions | Variables
/tmp/gdb-8.1/gdb/annotate.c File Reference
#include "defs.h"
#include "annotate.h"
#include "value.h"
#include "target.h"
#include "gdbtypes.h"
#include "breakpoint.h"
#include "observer.h"
#include "inferior.h"
#include "infrun.h"
#include "top.h"

Go to the source code of this file.

Functions

static void print_value_flags (struct type *)
 
static void breakpoint_changed (struct breakpoint *b)
 
static void annotate_breakpoints_invalid (void)
 
void annotate_breakpoint (int num)
 
void annotate_catchpoint (int num)
 
void annotate_watchpoint (int num)
 
void annotate_starting (void)
 
void annotate_stopped (void)
 
void annotate_exited (int exitstatus)
 
void annotate_signalled (void)
 
void annotate_signal_name (void)
 
void annotate_signal_name_end (void)
 
void annotate_signal_string (void)
 
void annotate_signal_string_end (void)
 
void annotate_signal (void)
 
void annotate_breakpoints_headers (void)
 
void annotate_field (int num)
 
void annotate_breakpoints_table (void)
 
void annotate_record (void)
 
void annotate_breakpoints_table_end (void)
 
void annotate_frames_invalid (void)
 
void annotate_new_thread (void)
 
void annotate_thread_changed (void)
 
void annotate_field_begin (struct type *type)
 
void annotate_field_name_end (void)
 
void annotate_field_value (void)
 
void annotate_field_end (void)
 
void annotate_quit (void)
 
void annotate_error (void)
 
void annotate_error_begin (void)
 
void annotate_value_history_begin (int histindex, struct type *type)
 
void annotate_value_begin (struct type *type)
 
void annotate_value_history_value (void)
 
void annotate_value_history_end (void)
 
void annotate_value_end (void)
 
void annotate_display_begin (void)
 
void annotate_display_number_end (void)
 
void annotate_display_format (void)
 
void annotate_display_expression (void)
 
void annotate_display_expression_end (void)
 
void annotate_display_value (void)
 
void annotate_display_end (void)
 
void annotate_arg_begin (void)
 
void annotate_arg_name_end (void)
 
void annotate_arg_value (struct type *type)
 
void annotate_arg_end (void)
 
void annotate_source (char *filename, int line, int character, int mid, struct gdbarch *gdbarch, CORE_ADDR pc)
 
void annotate_frame_begin (int level, struct gdbarch *gdbarch, CORE_ADDR pc)
 
void annotate_function_call (void)
 
void annotate_signal_handler_caller (void)
 
void annotate_frame_address (void)
 
void annotate_frame_address_end (void)
 
void annotate_frame_function_name (void)
 
void annotate_frame_args (void)
 
void annotate_frame_source_begin (void)
 
void annotate_frame_source_file (void)
 
void annotate_frame_source_file_end (void)
 
void annotate_frame_source_line (void)
 
void annotate_frame_source_end (void)
 
void annotate_frame_where (void)
 
void annotate_frame_end (void)
 
void annotate_array_section_begin (int idx, struct type *elttype)
 
void annotate_elt_rep (unsigned int repcount)
 
void annotate_elt_rep_end (void)
 
void annotate_elt (void)
 
void annotate_array_section_end (void)
 
void annotate_display_prompt (void)
 
void _initialize_annotate (void)
 

Variables

void(* deprecated_annotate_signalled_hook )(void)
 
void(* deprecated_annotate_signal_hook )(void)
 
static int frames_invalid_emitted
 
static int breakpoints_invalid_emitted
 

Function Documentation

◆ _initialize_annotate()

void _initialize_annotate ( void  )

◆ annotate_arg_begin()

void annotate_arg_begin ( void  )

◆ annotate_arg_end()

void annotate_arg_end ( void  )

Definition at line 415 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by enumerate_args(), and annotate_arg_emitter::~annotate_arg_emitter().

◆ annotate_arg_name_end()

void annotate_arg_name_end ( void  )

Definition at line 397 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame_arg(), and py_print_single_arg().

◆ annotate_arg_value()

void annotate_arg_value ( struct type type)

Definition at line 404 of file annotate.c.

References annotation_level, print_value_flags(), and printf_filtered().

Referenced by print_frame_arg(), and py_print_single_arg().

◆ annotate_array_section_begin()

void annotate_array_section_begin ( int  idx,
struct type elttype 
)

◆ annotate_array_section_end()

void annotate_array_section_end ( void  )

Definition at line 566 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by val_print_array_elements(), and val_print_packed_array_elements().

◆ annotate_breakpoint()

void annotate_breakpoint ( int  num)

Definition at line 80 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by bkpt_print_it(), and print_it_ranged_breakpoint().

◆ annotate_breakpoints_headers()

void annotate_breakpoints_headers ( void  )

Definition at line 170 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by breakpoint_1().

◆ annotate_breakpoints_invalid()

static void annotate_breakpoints_invalid ( void  )
static

◆ annotate_breakpoints_table()

void annotate_breakpoints_table ( void  )

Definition at line 184 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by breakpoint_1().

◆ annotate_breakpoints_table_end()

void annotate_breakpoints_table_end ( void  )

Definition at line 198 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by breakpoint_1().

◆ annotate_catchpoint()

void annotate_catchpoint ( int  num)

◆ annotate_display_begin()

void annotate_display_begin ( void  )

Definition at line 341 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by do_one_display().

◆ annotate_display_end()

void annotate_display_end ( void  )

Definition at line 383 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by do_one_display().

◆ annotate_display_expression()

void annotate_display_expression ( void  )

Definition at line 362 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by do_one_display().

◆ annotate_display_expression_end()

void annotate_display_expression_end ( void  )

Definition at line 369 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by do_one_display().

◆ annotate_display_format()

void annotate_display_format ( void  )

Definition at line 355 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by do_one_display().

◆ annotate_display_number_end()

void annotate_display_number_end ( void  )

Definition at line 348 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by do_one_display().

◆ annotate_display_prompt()

void annotate_display_prompt ( void  )

Definition at line 577 of file annotate.c.

References breakpoints_invalid_emitted, and frames_invalid_emitted.

Referenced by display_gdb_prompt().

◆ annotate_display_value()

void annotate_display_value ( void  )

Definition at line 376 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by do_one_display().

◆ annotate_elt()

void annotate_elt ( void  )

Definition at line 559 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by val_print_array_elements(), and val_print_packed_array_elements().

◆ annotate_elt_rep()

void annotate_elt_rep ( unsigned int  repcount)

Definition at line 545 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by val_print_array_elements(), and val_print_packed_array_elements().

◆ annotate_elt_rep_end()

void annotate_elt_rep_end ( void  )

Definition at line 552 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by val_print_array_elements(), and val_print_packed_array_elements().

◆ annotate_error()

void annotate_error ( void  )

Definition at line 284 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_exception().

◆ annotate_error_begin()

void annotate_error_begin ( void  )

Definition at line 291 of file annotate.c.

References annotation_level, fprintf_filtered(), and gdb_stderr.

Referenced by print_flush().

◆ annotate_exited()

void annotate_exited ( int  exitstatus)

Definition at line 115 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_exited_reason().

◆ annotate_field()

void annotate_field ( int  num)

◆ annotate_field_begin()

void annotate_field_begin ( struct type type)

◆ annotate_field_end()

void annotate_field_end ( void  )

◆ annotate_field_name_end()

void annotate_field_name_end ( void  )

◆ annotate_field_value()

void annotate_field_value ( void  )

◆ annotate_frame_address()

void annotate_frame_address ( void  )

Definition at line 457 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame(), print_frame_info(), and py_print_frame().

◆ annotate_frame_address_end()

void annotate_frame_address_end ( void  )

Definition at line 464 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame(), print_frame_info(), and py_print_frame().

◆ annotate_frame_args()

void annotate_frame_args ( void  )

Definition at line 478 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by enumerate_args(), print_frame(), and py_print_args().

◆ annotate_frame_begin()

void annotate_frame_begin ( int  level,
struct gdbarch gdbarch,
CORE_ADDR  pc 
)

Definition at line 435 of file annotate.c.

References annotation_level, paddress(), and printf_filtered().

Referenced by print_frame(), print_frame_info(), and py_print_frame().

◆ annotate_frame_end()

void annotate_frame_end ( void  )

Definition at line 527 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame_info(), and py_print_frame().

◆ annotate_frame_function_name()

void annotate_frame_function_name ( void  )

Definition at line 471 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame(), and py_print_frame().

◆ annotate_frame_source_begin()

void annotate_frame_source_begin ( void  )

Definition at line 485 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame(), and py_print_frame().

◆ annotate_frame_source_end()

void annotate_frame_source_end ( void  )

Definition at line 513 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame().

◆ annotate_frame_source_file()

void annotate_frame_source_file ( void  )

Definition at line 492 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame(), and py_print_frame().

◆ annotate_frame_source_file_end()

void annotate_frame_source_file_end ( void  )

Definition at line 499 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame(), and py_print_frame().

◆ annotate_frame_source_line()

void annotate_frame_source_line ( void  )

Definition at line 506 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame(), and py_print_frame().

◆ annotate_frame_where()

void annotate_frame_where ( void  )

Definition at line 520 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame().

◆ annotate_frames_invalid()

void annotate_frames_invalid ( void  )

◆ annotate_function_call()

void annotate_function_call ( void  )

Definition at line 443 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame_info().

◆ annotate_new_thread()

void annotate_new_thread ( void  )

Definition at line 227 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by add_thread_with_info().

◆ annotate_quit()

void annotate_quit ( void  )

Definition at line 277 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_exception().

◆ annotate_record()

void annotate_record ( void  )

Definition at line 191 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_one_breakpoint_location().

◆ annotate_signal()

void annotate_signal ( void  )

◆ annotate_signal_handler_caller()

void annotate_signal_handler_caller ( void  )

Definition at line 450 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame_info().

◆ annotate_signal_name()

void annotate_signal_name ( void  )

Definition at line 132 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_signal_exited_reason(), and print_signal_received_reason().

◆ annotate_signal_name_end()

void annotate_signal_name_end ( void  )

Definition at line 139 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_signal_exited_reason(), and print_signal_received_reason().

◆ annotate_signal_string()

void annotate_signal_string ( void  )

Definition at line 146 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_signal_exited_reason(), and print_signal_received_reason().

◆ annotate_signal_string_end()

void annotate_signal_string_end ( void  )

Definition at line 153 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_signal_exited_reason(), and print_signal_received_reason().

◆ annotate_signalled()

void annotate_signalled ( void  )

◆ annotate_source()

void annotate_source ( char *  filename,
int  line,
int  character,
int  mid,
struct gdbarch gdbarch,
CORE_ADDR  pc 
)

Definition at line 422 of file annotate.c.

References annotation_level, minimal_symbol::filename, paddress(), and printf_filtered().

Referenced by identify_source_line().

◆ annotate_starting()

void annotate_starting ( void  )

Definition at line 101 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by proceed().

◆ annotate_stopped()

void annotate_stopped ( void  )

Definition at line 108 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by normal_stop().

◆ annotate_thread_changed()

void annotate_thread_changed ( void  )

Definition at line 236 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by normal_stop(), and thread_select().

◆ annotate_value_begin()

void annotate_value_begin ( struct type type)

Definition at line 309 of file annotate.c.

References annotation_level, print_value_flags(), and printf_filtered().

Referenced by output_command_const().

◆ annotate_value_end()

void annotate_value_end ( void  )

Definition at line 334 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by output_command_const().

◆ annotate_value_history_begin()

void annotate_value_history_begin ( int  histindex,
struct type type 
)

Definition at line 298 of file annotate.c.

References annotation_level, print_value_flags(), and printf_filtered().

Referenced by print_value().

◆ annotate_value_history_end()

void annotate_value_history_end ( void  )

Definition at line 327 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_value().

◆ annotate_value_history_value()

void annotate_value_history_value ( void  )

Definition at line 320 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_value().

◆ annotate_watchpoint()

void annotate_watchpoint ( int  num)

Definition at line 94 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_it_masked_watchpoint(), and print_it_watchpoint().

◆ breakpoint_changed()

static void breakpoint_changed ( struct breakpoint b)
static

Definition at line 584 of file annotate.c.

References annotate_breakpoints_invalid(), and breakpoint::number.

Referenced by _initialize_annotate().

◆ print_value_flags()

static void print_value_flags ( struct type t)
static

Variable Documentation

◆ breakpoints_invalid_emitted

int breakpoints_invalid_emitted
static

Definition at line 46 of file annotate.c.

Referenced by annotate_breakpoints_invalid(), and annotate_display_prompt().

◆ deprecated_annotate_signal_hook

void(* deprecated_annotate_signal_hook) (void)

Definition at line 39 of file annotate.c.

Referenced by annotate_signal().

◆ deprecated_annotate_signalled_hook

void(* deprecated_annotate_signalled_hook) (void)

Definition at line 38 of file annotate.c.

Referenced by annotate_signalled().

◆ frames_invalid_emitted

int frames_invalid_emitted
static

Definition at line 45 of file annotate.c.

Referenced by annotate_display_prompt(), and annotate_frames_invalid().