GDB (xrefs)
|
#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.
Variables | |
void(* | deprecated_annotate_signalled_hook )(void) |
void(* | deprecated_annotate_signal_hook )(void) |
static int | frames_invalid_emitted |
static int | breakpoints_invalid_emitted |
void _initialize_annotate | ( | ) |
Definition at line 629 of file annotate.c.
Referenced by initialize_all_files().
void annotate_arg_begin | ( | void | ) |
Definition at line 393 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by annotate_arg_emitter::annotate_arg_emitter(), and py_print_single_arg().
void annotate_arg_end | ( | void | ) |
Definition at line 418 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by enumerate_args(), and annotate_arg_emitter::~annotate_arg_emitter().
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().
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().
void annotate_array_section_begin | ( | int | idx, |
struct type * | elttype ) |
Definition at line 569 of file annotate.c.
References annotation_level, print_value_flags(), and printf_unfiltered().
Referenced by val_print_packed_array_elements(), and value_print_array_elements().
void annotate_array_section_end | ( | void | ) |
Definition at line 601 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by val_print_packed_array_elements(), and value_print_array_elements().
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().
void annotate_breakpoints_headers | ( | void | ) |
Definition at line 165 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by breakpoint_1().
|
static |
Definition at line 60 of file annotate.c.
References annotation_level, breakpoints_invalid_emitted, current_ui, target_terminal::ours_for_output(), printf_unfiltered(), PROMPT_BLOCKED, and ui::prompt_state.
Referenced by breakpoint_changed().
void annotate_breakpoints_table | ( | void | ) |
Definition at line 179 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by breakpoint_1().
void annotate_breakpoints_table_end | ( | void | ) |
Definition at line 193 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by breakpoint_1().
void annotate_catchpoint | ( | int | num | ) |
Definition at line 82 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by ada_catchpoint::print_it(), exec_catchpoint::print_it(), fork_catchpoint::print_it(), solib_catchpoint::print_it(), signal_catchpoint::print_it(), syscall_catchpoint::print_it(), and exception_catchpoint::print_it().
void annotate_display_begin | ( | void | ) |
Definition at line 344 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by do_one_display().
void annotate_display_end | ( | void | ) |
Definition at line 386 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by do_one_display().
void annotate_display_expression | ( | void | ) |
Definition at line 365 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by do_one_display().
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().
void annotate_display_format | ( | void | ) |
Definition at line 358 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by do_one_display().
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().
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().
void annotate_display_value | ( | void | ) |
Definition at line 379 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by do_one_display().
void annotate_elt | ( | void | ) |
Definition at line 594 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by val_print_packed_array_elements(), and value_print_array_elements().
void annotate_elt_rep | ( | unsigned int | repcount | ) |
Definition at line 580 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by fortran_array_printer_impl::process_dimension(), fortran_array_printer_impl::process_element(), val_print_packed_array_elements(), and value_print_array_elements().
void annotate_elt_rep_end | ( | void | ) |
Definition at line 587 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by fortran_array_printer_impl::process_dimension(), fortran_array_printer_impl::process_element(), val_print_packed_array_elements(), and value_print_array_elements().
void annotate_error | ( | void | ) |
Definition at line 287 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_exception().
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().
void annotate_exited | ( | int | exitstatus | ) |
Definition at line 110 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_exited_reason().
void annotate_field | ( | int | num | ) |
Definition at line 172 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by breakpoint_1(), ada_catchpoint::print_one(), exec_catchpoint::print_one(), fork_catchpoint::print_one(), solib_catchpoint::print_one(), signal_catchpoint::print_one(), syscall_catchpoint::print_one(), exception_catchpoint::print_one(), ranged_breakpoint::print_one(), and print_one_breakpoint_location().
void annotate_field_begin | ( | struct type * | type | ) |
Definition at line 248 of file annotate.c.
References annotation_level, print_value_flags(), and printf_unfiltered().
Referenced by cp_print_value_fields(), pascal_object_print_value_fields(), and print_field_values().
void annotate_field_end | ( | void | ) |
Definition at line 273 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by cp_print_value_fields(), pascal_object_print_value_fields(), and print_field_values().
void annotate_field_name_end | ( | void | ) |
Definition at line 259 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by cp_print_value_fields(), pascal_object_print_value_fields(), and print_field_values().
void annotate_field_value | ( | void | ) |
Definition at line 266 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by cp_print_value_fields(), pascal_object_print_value_fields(), and print_field_values().
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().
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().
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().
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().
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().
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().
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().
void annotate_frame_source_end | ( | void | ) |
Definition at line 548 of file annotate.c.
References annotation_level, and printf_unfiltered().
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().
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().
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().
void annotate_frame_where | ( | void | ) |
Definition at line 555 of file annotate.c.
References annotation_level, and printf_unfiltered().
void annotate_frames_invalid | ( | void | ) |
Definition at line 200 of file annotate.c.
References annotation_level, current_ui, frames_invalid_emitted, target_terminal::ours_for_output(), printf_unfiltered(), PROMPT_BLOCKED, and ui::prompt_state.
void annotate_function_call | ( | void | ) |
Definition at line 478 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_frame_info().
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().
void annotate_quit | ( | void | ) |
Definition at line 280 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_exception().
void annotate_record | ( | void | ) |
Definition at line 186 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_one_breakpoint_location().
void annotate_signal | ( | void | ) |
Definition at line 155 of file annotate.c.
References annotation_level, deprecated_annotate_signal_hook, and printf_unfiltered().
Referenced by print_signal_received_reason().
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().
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().
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().
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().
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().
void annotate_signalled | ( | void | ) |
Definition at line 117 of file annotate.c.
References annotation_level, deprecated_annotate_signalled_hook, and printf_unfiltered().
Referenced by print_signal_exited_reason().
|
static |
Definition at line 425 of file annotate.c.
References annotation_level, paddress(), and printf_unfiltered().
Referenced by annotate_source_line().
bool annotate_source_line | ( | struct symtab * | s, |
int | line, | ||
int | mid_statement, | ||
CORE_ADDR | pc ) |
Definition at line 440 of file annotate.c.
References annotate_source(), annotation_level, objfile::arch(), symtab::compunit(), symtab::fullname, g_source_cache, source_cache::get_line_charpos(), symtab_and_line::line, compunit_symtab::objfile(), objfile::pspace, symtab_and_line::pspace, set_current_source_symtab_and_line(), and symtab_and_line::symtab.
Referenced by info_line_command(), and print_frame_info().
void annotate_starting | ( | void | ) |
Definition at line 96 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by proceed().
void annotate_stopped | ( | void | ) |
Definition at line 103 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by normal_stop().
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().
|
static |
Definition at line 235 of file annotate.c.
References annotation_level, thread_info::global_num, thread_info::inf, inferior::num, and printf_unfiltered().
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().
void annotate_value_end | ( | void | ) |
Definition at line 337 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by output_command().
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().
void annotate_value_history_end | ( | void | ) |
Definition at line 330 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_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().
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().
|
static |
Definition at line 619 of file annotate.c.
References annotate_breakpoints_invalid(), and breakpoint::number.
|
static |
Definition at line 51 of file annotate.c.
References can_dereference(), and printf_unfiltered().
Referenced by annotate_arg_value(), annotate_array_section_begin(), annotate_field_begin(), annotate_value_begin(), and annotate_value_history_begin().
|
static |
Definition at line 48 of file annotate.c.
Referenced by annotate_breakpoints_invalid(), and annotate_display_prompt().
void(* deprecated_annotate_signal_hook) (void) | ( | void | ) |
Definition at line 41 of file annotate.c.
Referenced by annotate_signal().
void(* deprecated_annotate_signalled_hook) (void) | ( | void | ) |
Definition at line 40 of file annotate.c.
Referenced by annotate_signalled().
|
static |
Definition at line 47 of file annotate.c.
Referenced by annotate_display_prompt(), and annotate_frames_invalid().