GDB (xrefs)
Loading...
Searching...
No Matches
Functions | Variables
annotate.c File Reference
#include "defs.h"
#include "annotate.h"
#include "value.h"
#include "target.h"
#include "gdbtypes.h"
#include "breakpoint.h"
#include "observable.h"
#include "inferior.h"
#include "infrun.h"
#include "source.h"
#include "objfiles.h"
#include "source-cache.h"
#include "ui.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)
 
static void annotate_thread_exited (thread_info *t, gdb::optional< ULONGEST > exit_code, bool)
 
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)
 
static void annotate_source (const char *filename, int line, int character, int mid, struct gdbarch *gdbarch, CORE_ADDR pc)
 
bool annotate_source_line (struct symtab *s, int line, int mid_statement, 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 ()
 

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 ( )

Definition at line 629 of file annotate.c.

Referenced by initialize_all_files().

◆ annotate_arg_begin()

void annotate_arg_begin ( void )

◆ annotate_arg_end()

void annotate_arg_end ( void )

◆ annotate_arg_name_end()

void annotate_arg_name_end ( void )

Definition at line 400 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by print_frame_arg(), and py_print_single_arg().

◆ annotate_arg_value()

void annotate_arg_value ( struct type * type)

Definition at line 407 of file annotate.c.

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

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 )

◆ annotate_breakpoint()

void annotate_breakpoint ( int num)

Definition at line 75 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by ordinary_breakpoint::print_it(), and ranged_breakpoint::print_it().

◆ annotate_breakpoints_headers()

void annotate_breakpoints_headers ( void )

Definition at line 165 of file annotate.c.

References annotation_level, and printf_unfiltered().

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 179 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by breakpoint_1().

◆ annotate_breakpoints_table_end()

void annotate_breakpoints_table_end ( void )

Definition at line 193 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by breakpoint_1().

◆ annotate_catchpoint()

void annotate_catchpoint ( int num)

◆ annotate_display_begin()

void annotate_display_begin ( void )

Definition at line 344 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by do_one_display().

◆ annotate_display_end()

void annotate_display_end ( void )

Definition at line 386 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by do_one_display().

◆ annotate_display_expression()

void annotate_display_expression ( void )

Definition at line 365 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by do_one_display().

◆ annotate_display_expression_end()

void annotate_display_expression_end ( void )

Definition at line 372 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by do_one_display().

◆ annotate_display_format()

void annotate_display_format ( void )

Definition at line 358 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by do_one_display().

◆ annotate_display_number_end()

void annotate_display_number_end ( void )

Definition at line 351 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by do_one_display().

◆ annotate_display_prompt()

void annotate_display_prompt ( void )

Definition at line 612 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 379 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by do_one_display().

◆ annotate_elt()

void annotate_elt ( void )

◆ annotate_elt_rep()

void annotate_elt_rep ( unsigned int repcount)

◆ annotate_elt_rep_end()

void annotate_elt_rep_end ( void )

◆ annotate_error()

void annotate_error ( void )

Definition at line 287 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by print_exception().

◆ annotate_error_begin()

void annotate_error_begin ( void )

Definition at line 294 of file annotate.c.

References annotation_level, gdb_printf(), and gdb_stderr.

Referenced by print_flush().

◆ annotate_exited()

void annotate_exited ( int exitstatus)

Definition at line 110 of file annotate.c.

References annotation_level, and printf_unfiltered().

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 492 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by print_frame_info(), and py_print_frame().

◆ annotate_frame_address_end()

void annotate_frame_address_end ( void )

Definition at line 499 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by print_frame_info(), and py_print_frame().

◆ annotate_frame_args()

void annotate_frame_args ( void )

Definition at line 513 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by enumerate_args(), and py_print_args().

◆ annotate_frame_begin()

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

Definition at line 470 of file annotate.c.

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

Referenced by print_frame_info(), and py_print_frame().

◆ annotate_frame_end()

void annotate_frame_end ( void )

Definition at line 562 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by print_frame_info(), and py_print_frame().

◆ annotate_frame_function_name()

void annotate_frame_function_name ( void )

Definition at line 506 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by py_print_frame().

◆ annotate_frame_source_begin()

void annotate_frame_source_begin ( void )

Definition at line 520 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by py_print_frame().

◆ annotate_frame_source_end()

void annotate_frame_source_end ( void )

Definition at line 548 of file annotate.c.

References annotation_level, and printf_unfiltered().

◆ annotate_frame_source_file()

void annotate_frame_source_file ( void )

Definition at line 527 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by py_print_frame().

◆ annotate_frame_source_file_end()

void annotate_frame_source_file_end ( void )

Definition at line 534 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by py_print_frame().

◆ annotate_frame_source_line()

void annotate_frame_source_line ( void )

Definition at line 541 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by py_print_frame().

◆ annotate_frame_where()

void annotate_frame_where ( void )

Definition at line 555 of file annotate.c.

References annotation_level, and printf_unfiltered().

◆ annotate_frames_invalid()

void annotate_frames_invalid ( void )

◆ annotate_function_call()

void annotate_function_call ( void )

Definition at line 478 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by print_frame_info().

◆ annotate_new_thread()

void annotate_new_thread ( void )

Definition at line 215 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 280 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by print_exception().

◆ annotate_record()

void annotate_record ( void )

Definition at line 186 of file annotate.c.

References annotation_level, and printf_unfiltered().

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 485 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by print_frame_info().

◆ annotate_signal_name()

void annotate_signal_name ( void )

Definition at line 127 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by print_signal_exited_reason(), and print_signal_received_reason().

◆ annotate_signal_name_end()

void annotate_signal_name_end ( void )

Definition at line 134 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by print_signal_exited_reason(), and print_signal_received_reason().

◆ annotate_signal_string()

void annotate_signal_string ( void )

Definition at line 141 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by print_signal_exited_reason(), and print_signal_received_reason().

◆ annotate_signal_string_end()

void annotate_signal_string_end ( void )

Definition at line 148 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by print_signal_exited_reason(), and print_signal_received_reason().

◆ annotate_signalled()

void annotate_signalled ( void )

◆ annotate_source()

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

Definition at line 425 of file annotate.c.

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

Referenced by annotate_source_line().

◆ annotate_source_line()

bool annotate_source_line ( struct symtab * s,
int line,
int mid_statement,
CORE_ADDR pc )

◆ annotate_starting()

void annotate_starting ( void )

Definition at line 96 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by proceed().

◆ annotate_stopped()

void annotate_stopped ( void )

Definition at line 103 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by normal_stop().

◆ annotate_thread_changed()

void annotate_thread_changed ( void )

Definition at line 224 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by normal_stop(), and thread_select().

◆ annotate_thread_exited()

static void annotate_thread_exited ( thread_info * t,
gdb::optional< ULONGEST > exit_code,
bool  )
static

◆ annotate_value_begin()

void annotate_value_begin ( struct type * type)

Definition at line 312 of file annotate.c.

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

Referenced by output_command().

◆ annotate_value_end()

void annotate_value_end ( void )

Definition at line 337 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by output_command().

◆ annotate_value_history_begin()

void annotate_value_history_begin ( int histindex,
struct type * type )

Definition at line 301 of file annotate.c.

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

Referenced by print_value().

◆ annotate_value_history_end()

void annotate_value_history_end ( void )

Definition at line 330 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by print_value().

◆ annotate_value_history_value()

void annotate_value_history_value ( void )

Definition at line 323 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by print_value().

◆ annotate_watchpoint()

void annotate_watchpoint ( int num)

Definition at line 89 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by masked_watchpoint::print_it(), and watchpoint::print_it().

◆ breakpoint_changed()

static void breakpoint_changed ( struct breakpoint * b)
static

Definition at line 619 of file annotate.c.

References annotate_breakpoints_invalid(), and breakpoint::number.

◆ 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 48 of file annotate.c.

Referenced by annotate_breakpoints_invalid(), and annotate_display_prompt().

◆ deprecated_annotate_signal_hook

void(* deprecated_annotate_signal_hook) (void) ( void )

Definition at line 41 of file annotate.c.

Referenced by annotate_signal().

◆ deprecated_annotate_signalled_hook

void(* deprecated_annotate_signalled_hook) (void) ( void )

Definition at line 40 of file annotate.c.

Referenced by annotate_signalled().

◆ frames_invalid_emitted

int frames_invalid_emitted
static

Definition at line 47 of file annotate.c.

Referenced by annotate_display_prompt(), and annotate_frames_invalid().