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 "top.h"
#include "source.h"
#include "objfiles.h"
#include "source-cache.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 628 of file annotate.c.
Referenced by initialize_all_files().
void annotate_arg_begin | ( | void | ) |
Definition at line 392 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 417 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 399 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 406 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 568 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 600 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 76 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 166 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by breakpoint_1().
|
static |
Definition at line 61 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 180 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by breakpoint_1().
void annotate_breakpoints_table_end | ( | void | ) |
Definition at line 194 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by breakpoint_1().
void annotate_catchpoint | ( | int | num | ) |
Definition at line 83 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 343 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by do_one_display().
void annotate_display_end | ( | void | ) |
Definition at line 385 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by do_one_display().
void annotate_display_expression | ( | void | ) |
Definition at line 364 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by do_one_display().
void annotate_display_expression_end | ( | void | ) |
Definition at line 371 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by do_one_display().
void annotate_display_format | ( | void | ) |
Definition at line 357 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by do_one_display().
void annotate_display_number_end | ( | void | ) |
Definition at line 350 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by do_one_display().
void annotate_display_prompt | ( | void | ) |
Definition at line 611 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 378 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by do_one_display().
void annotate_elt | ( | void | ) |
Definition at line 593 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 579 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 586 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 286 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_exception().
void annotate_error_begin | ( | void | ) |
Definition at line 293 of file annotate.c.
References annotation_level, gdb_printf(), and gdb_stderr.
Referenced by print_flush().
void annotate_exited | ( | int | exitstatus | ) |
Definition at line 111 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_exited_reason().
void annotate_field | ( | int | num | ) |
Definition at line 173 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 247 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 272 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 258 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 265 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 491 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_frame(), print_frame_info(), and py_print_frame().
void annotate_frame_address_end | ( | void | ) |
Definition at line 498 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_frame(), print_frame_info(), and py_print_frame().
void annotate_frame_args | ( | void | ) |
Definition at line 512 of file annotate.c.
References annotation_level, and printf_unfiltered().
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 469 of file annotate.c.
References annotation_level, paddress(), and printf_unfiltered().
Referenced by print_frame(), print_frame_info(), and py_print_frame().
void annotate_frame_end | ( | void | ) |
Definition at line 561 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 505 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_frame(), and py_print_frame().
void annotate_frame_source_begin | ( | void | ) |
Definition at line 519 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_frame(), and py_print_frame().
void annotate_frame_source_end | ( | void | ) |
Definition at line 547 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_frame().
void annotate_frame_source_file | ( | void | ) |
Definition at line 526 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_frame(), and py_print_frame().
void annotate_frame_source_file_end | ( | void | ) |
Definition at line 533 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_frame(), and py_print_frame().
void annotate_frame_source_line | ( | void | ) |
Definition at line 540 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_frame(), and py_print_frame().
void annotate_frame_where | ( | void | ) |
Definition at line 554 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_frame().
void annotate_frames_invalid | ( | void | ) |
Definition at line 201 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 477 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_frame_info().
void annotate_new_thread | ( | void | ) |
Definition at line 216 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by add_thread_with_info().
void annotate_quit | ( | void | ) |
Definition at line 279 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_exception().
void annotate_record | ( | void | ) |
Definition at line 187 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_one_breakpoint_location().
void annotate_signal | ( | void | ) |
Definition at line 156 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 484 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_frame_info().
void annotate_signal_name | ( | void | ) |
Definition at line 128 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 135 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 142 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 149 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 118 of file annotate.c.
References annotation_level, deprecated_annotate_signalled_hook, and printf_unfiltered().
Referenced by print_signal_exited_reason().
|
static |
Definition at line 424 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 439 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 97 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by proceed().
void annotate_stopped | ( | void | ) |
Definition at line 104 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by normal_stop().
void annotate_thread_changed | ( | void | ) |
Definition at line 225 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by normal_stop(), and thread_select().
|
static |
Definition at line 236 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 311 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 336 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 300 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 329 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_value().
void annotate_value_history_value | ( | void | ) |
Definition at line 322 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by print_value().
void annotate_watchpoint | ( | int | num | ) |
Definition at line 90 of file annotate.c.
References annotation_level, and printf_unfiltered().
Referenced by masked_watchpoint::print_it(), and watchpoint::print_it().
|
static |
Definition at line 618 of file annotate.c.
References annotate_breakpoints_invalid(), and breakpoint::number.
|
static |
Definition at line 52 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 49 of file annotate.c.
Referenced by annotate_breakpoints_invalid(), and annotate_display_prompt().
void(* deprecated_annotate_signal_hook) (void) | ( | void | ) |
Definition at line 42 of file annotate.c.
Referenced by annotate_signal().
void(* deprecated_annotate_signalled_hook) (void) | ( | void | ) |
Definition at line 41 of file annotate.c.
Referenced by annotate_signalled().
|
static |
Definition at line 48 of file annotate.c.
Referenced by annotate_display_prompt(), and annotate_frames_invalid().