GDB (xrefs)
Functions | Variables
/tmp/gdb-7.10/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"

Go to the source code of this file.

Functions

void _initialize_annotate (void)
 
static void print_value_flags (struct type *)
 
static void breakpoint_changed (struct breakpoint *b)
 
static int async_background_execution_p (void)
 
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)
 

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

void _initialize_annotate ( void  )
void annotate_arg_begin ( void  )

Definition at line 401 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame_arg(), and py_print_single_arg().

void annotate_arg_end ( void  )

Definition at line 426 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by enumerate_args(), and print_frame_arg().

void annotate_arg_name_end ( void  )

Definition at line 408 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame_arg(), and py_print_single_arg().

void annotate_arg_value ( struct type type)

Definition at line 415 of file annotate.c.

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

Referenced by print_frame_arg(), and py_print_single_arg().

void annotate_array_section_begin ( int  idx,
struct type elttype 
)
void annotate_array_section_end ( void  )

Definition at line 577 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by val_print_array_elements(), and val_print_packed_array_elements().

void annotate_breakpoint ( int  num)

Definition at line 91 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by bkpt_print_it(), and print_it_ranged_breakpoint().

void annotate_breakpoints_headers ( void  )

Definition at line 181 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by breakpoint_1().

static void annotate_breakpoints_invalid ( void  )
static
void annotate_breakpoints_table ( void  )

Definition at line 195 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by breakpoint_1().

void annotate_breakpoints_table_end ( void  )

Definition at line 209 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by breakpoint_1().

void annotate_catchpoint ( int  num)
void annotate_display_begin ( void  )

Definition at line 352 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by do_one_display().

void annotate_display_end ( void  )

Definition at line 394 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by do_one_display().

void annotate_display_expression ( void  )

Definition at line 373 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by do_one_display().

void annotate_display_expression_end ( void  )

Definition at line 380 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by do_one_display().

void annotate_display_format ( void  )

Definition at line 366 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by do_one_display().

void annotate_display_number_end ( void  )

Definition at line 359 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by do_one_display().

void annotate_display_prompt ( void  )

Definition at line 588 of file annotate.c.

References breakpoints_invalid_emitted, and frames_invalid_emitted.

Referenced by display_gdb_prompt().

void annotate_display_value ( void  )

Definition at line 387 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by do_one_display().

void annotate_elt ( void  )

Definition at line 570 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by val_print_array_elements(), and val_print_packed_array_elements().

void annotate_elt_rep ( unsigned int  repcount)

Definition at line 556 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by val_print_array_elements(), and val_print_packed_array_elements().

void annotate_elt_rep_end ( void  )

Definition at line 563 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by val_print_array_elements(), and val_print_packed_array_elements().

void annotate_error ( void  )

Definition at line 295 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_exception().

void annotate_error_begin ( void  )

Definition at line 302 of file annotate.c.

References annotation_level, fprintf_filtered(), and gdb_stderr.

Referenced by print_flush().

void annotate_exited ( int  exitstatus)

Definition at line 126 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_exited_reason().

void annotate_field ( int  num)
void annotate_field_begin ( struct type type)
void annotate_field_end ( void  )
void annotate_field_name_end ( void  )
void annotate_field_value ( void  )
void annotate_frame_address ( void  )

Definition at line 468 of file annotate.c.

References annotation_level, and printf_filtered().

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

void annotate_frame_address_end ( void  )

Definition at line 475 of file annotate.c.

References annotation_level, and printf_filtered().

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

void annotate_frame_args ( void  )

Definition at line 489 of file annotate.c.

References annotation_level, and printf_filtered().

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

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

Definition at line 446 of file annotate.c.

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

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

void annotate_frame_end ( void  )

Definition at line 538 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame_info(), and py_print_frame().

void annotate_frame_function_name ( void  )

Definition at line 482 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame(), and py_print_frame().

void annotate_frame_source_begin ( void  )

Definition at line 496 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame(), and py_print_frame().

void annotate_frame_source_end ( void  )

Definition at line 524 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame().

void annotate_frame_source_file ( void  )

Definition at line 503 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame(), and py_print_frame().

void annotate_frame_source_file_end ( void  )

Definition at line 510 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame(), and py_print_frame().

void annotate_frame_source_line ( void  )

Definition at line 517 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame(), and py_print_frame().

void annotate_frame_where ( void  )

Definition at line 531 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame().

void annotate_frames_invalid ( void  )
void annotate_function_call ( void  )

Definition at line 454 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame_info().

void annotate_new_thread ( void  )

Definition at line 238 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by add_thread_with_info().

void annotate_quit ( void  )

Definition at line 288 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_exception().

void annotate_record ( void  )

Definition at line 202 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_one_breakpoint_location().

void annotate_signal ( void  )
void annotate_signal_handler_caller ( void  )

Definition at line 461 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_frame_info().

void annotate_signal_name ( void  )

Definition at line 143 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_signal_exited_reason(), and print_signal_received_reason().

void annotate_signal_name_end ( void  )

Definition at line 150 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_signal_exited_reason(), and print_signal_received_reason().

void annotate_signal_string ( void  )

Definition at line 157 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_signal_exited_reason(), and print_signal_received_reason().

void annotate_signal_string_end ( void  )

Definition at line 164 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_signal_exited_reason(), and print_signal_received_reason().

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

Definition at line 433 of file annotate.c.

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

Referenced by identify_source_line().

void annotate_starting ( void  )

Definition at line 112 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by proceed().

void annotate_stopped ( void  )

Definition at line 119 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by normal_stop().

void annotate_thread_changed ( void  )

Definition at line 247 of file annotate.c.

References annotation_level, and printf_unfiltered().

Referenced by do_captured_thread_select(), and normal_stop().

void annotate_value_begin ( struct type type)

Definition at line 320 of file annotate.c.

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

Referenced by output_command_const().

void annotate_value_end ( void  )

Definition at line 345 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by output_command_const().

void annotate_value_history_begin ( int  histindex,
struct type type 
)

Definition at line 309 of file annotate.c.

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

Referenced by print_value().

void annotate_value_history_end ( void  )

Definition at line 338 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_value().

void annotate_value_history_value ( void  )

Definition at line 331 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_value().

void annotate_watchpoint ( int  num)

Definition at line 105 of file annotate.c.

References annotation_level, and printf_filtered().

Referenced by print_it_masked_watchpoint(), and print_it_watchpoint().

static int async_background_execution_p ( void  )
static

Definition at line 54 of file annotate.c.

References sync_execution, and target_can_async_p.

Referenced by annotate_breakpoints_invalid(), and annotate_frames_invalid().

static void breakpoint_changed ( struct breakpoint b)
static

Definition at line 595 of file annotate.c.

References annotate_breakpoints_invalid(), and breakpoint::number.

Referenced by _initialize_annotate().

static void print_value_flags ( struct type t)
static

Variable Documentation

int breakpoints_invalid_emitted
static

Definition at line 47 of file annotate.c.

Referenced by annotate_breakpoints_invalid(), and annotate_display_prompt().

void(* deprecated_annotate_signal_hook) (void)

Definition at line 40 of file annotate.c.

Referenced by annotate_signal().

void(* deprecated_annotate_signalled_hook) (void)

Definition at line 39 of file annotate.c.

Referenced by annotate_signalled().

int frames_invalid_emitted
static

Definition at line 46 of file annotate.c.

Referenced by annotate_display_prompt(), and annotate_frames_invalid().