GDB (xrefs)
|
#include "defs.h"
#include "gdbcore.h"
#include "gdbcmd.h"
#include "gdbthread.h"
#include "btrace.h"
#include "py-record.h"
#include "py-record-btrace.h"
#include "record-btrace.h"
#include "disasm.h"
#include "gdbarch.h"
Go to the source code of this file.
Classes | |
struct | btpy_list_object |
Variables | |
static PyTypeObject | btpy_list_type |
static PyMethodDef | btpy_list_methods [] |
static PySequenceMethods | btpy_list_sequence_methods |
static PyMappingMethods | btpy_list_mapping_methods |
|
static |
Definition at line 147 of file py-record-btrace.c.
References btrace_conf(), btrace_decode_error(), btrace_find_insn_by_number(), btrace_insn_get_error(), RECORD_METHOD_BTRACE, recpy_gap_new(), and recpy_insn_new().
Referenced by recpy_bt_begin(), recpy_bt_end(), and recpy_bt_replay_position().
Definition at line 526 of file py-record-btrace.c.
References btpy_list_position().
Referenced by btpy_list_count(), and gdbpy_initialize_btrace().
Definition at line 550 of file py-record-btrace.c.
References btpy_list_contains(), and gdb_py_object_from_longest().
Definition at line 537 of file py-record-btrace.c.
References btpy_list_position(), and gdb_py_object_from_longest().
Definition at line 447 of file py-record-btrace.c.
References btpy_list_length(), btpy_list_object::element_type, btpy_list_object::first, RECORD_METHOD_BTRACE, recpy_func_new(), recpy_insn_new(), recpy_insn_type, btpy_list_object::step, and btpy_list_object::thread.
Referenced by btpy_list_slice(), and gdbpy_initialize_btrace().
|
static |
Definition at line 430 of file py-record-btrace.c.
References btpy_list_object::first, btpy_list_object::last, and btpy_list_object::step.
Referenced by btpy_list_item(), btpy_list_slice(), and gdbpy_initialize_btrace().
|
static |
Definition at line 172 of file py-record-btrace.c.
References btpy_list_type, btpy_list_object::element_type, btpy_list_object::first, btpy_list_object::last, btpy_list_object::step, and btpy_list_object::thread.
Referenced by btpy_list_slice(), recpy_bt_func_instructions(), recpy_bt_function_call_history(), and recpy_bt_instruction_history().
Definition at line 500 of file py-record-btrace.c.
References btpy_list_object::element_type, btpy_list_object::first, btpy_list_object::last, recpy_element_object::number, btpy_list_object::step, btpy_list_object::thread, and recpy_element_object::thread.
Referenced by btpy_list_contains(), and btpy_list_index().
Definition at line 562 of file py-record-btrace.c.
References btpy_list_object::element_type, btpy_list_object::first, btpy_list_object::last, btpy_list_object::step, and btpy_list_object::thread.
Referenced by gdbpy_initialize_btrace().
Definition at line 467 of file py-record-btrace.c.
References btpy_list_item(), btpy_list_length(), btpy_list_new(), btpy_list_object::element_type, btpy_list_object::first, btpy_list_object::step, and btpy_list_object::thread.
Referenced by gdbpy_initialize_btrace().
|
static |
Definition at line 105 of file py-record-btrace.c.
References btrace_call_get(), btrace_find_call_by_number(), btrace_is_empty(), func, gdbpy_gdb_error, recpy_element_object::number, recpy_func_type, and recpy_element_object::thread.
Referenced by recpy_bt_func_instructions(), recpy_bt_func_level(), recpy_bt_func_next(), recpy_bt_func_prev(), recpy_bt_func_symbol(), and recpy_bt_func_up().
|
static |
Definition at line 62 of file py-record-btrace.c.
References btrace_find_insn_by_number(), btrace_insn_get(), btrace_is_empty(), gdbpy_gdb_error, recpy_element_object::number, recpy_insn_type, and recpy_element_object::thread.
Referenced by recpy_bt_insn_data(), recpy_bt_insn_decoded(), recpy_bt_insn_is_speculative(), recpy_bt_insn_pc(), recpy_bt_insn_sal(), and recpy_bt_insn_size().
|
static |
Definition at line 819 of file py-record-btrace.c.
References btpy_list_contains(), btpy_list_item(), btpy_list_length(), btpy_list_mapping_methods, btpy_list_methods, btpy_list_richcompare(), btpy_list_sequence_methods, btpy_list_slice(), and btpy_list_type.
GDBPY_INITIALIZE_FILE | ( | gdbpy_initialize_btrace | ) |
Definition at line 656 of file py-record-btrace.c.
References btpy_insn_or_gap_new(), btrace_fetch(), btrace_insn_begin(), btrace_insn_number(), btrace_is_empty(), and record_btrace_get_cpu().
Referenced by recpy_begin().
Definition at line 678 of file py-record-btrace.c.
References btpy_insn_or_gap_new(), btrace_fetch(), btrace_insn_end(), btrace_insn_number(), btrace_is_empty(), and record_btrace_get_cpu().
Referenced by recpy_end().
Definition at line 616 of file py-record-btrace.c.
References btrace_conf().
Referenced by recpy_format().
Definition at line 354 of file py-record-btrace.c.
References btpy_list_new(), btrace_func_from_recpy_func(), func, and recpy_insn_type.
Referenced by recpy_func_instructions().
Definition at line 320 of file py-record-btrace.c.
References btrace_func_from_recpy_func(), func, and gdb_py_object_from_longest().
Referenced by recpy_func_level().
Definition at line 413 of file py-record-btrace.c.
References btrace_func_from_recpy_func(), func, RECORD_METHOD_BTRACE, and recpy_func_new().
Referenced by recpy_func_next().
Definition at line 395 of file py-record-btrace.c.
References btrace_func_from_recpy_func(), func, RECORD_METHOD_BTRACE, and recpy_func_new().
Referenced by recpy_func_prev().
Definition at line 337 of file py-record-btrace.c.
References btrace_func_from_recpy_func(), func, and symbol_to_symbol_object().
Referenced by recpy_func_symbol().
Definition at line 377 of file py-record-btrace.c.
References btrace_func_from_recpy_func(), func, RECORD_METHOD_BTRACE, and recpy_func_new().
Referenced by recpy_func_up().
Definition at line 729 of file py-record-btrace.c.
References btpy_list_new(), btrace_call_begin(), btrace_call_end(), btrace_call_number(), btrace_fetch(), btrace_is_empty(), record_btrace_get_cpu(), and recpy_func_type.
Referenced by recpy_function_call_history().
Definition at line 757 of file py-record-btrace.c.
References btrace_insn_end(), btrace_insn_number(), btrace_is_empty(), GDB_PY_HANDLE_EXCEPTION, gdbpy_gdb_error, recpy_element_object::number, recpy_insn_type, target_goto_record(), and target_goto_record_end().
Referenced by recpy_goto().
Definition at line 263 of file py-record-btrace.c.
References btrace_insn_from_recpy_insn(), GDB_PY_HANDLE_EXCEPTION, btrace_insn::pc, read_memory(), and btrace_insn::size.
Referenced by recpy_insn_data().
Definition at line 295 of file py-record-btrace.c.
References btrace_insn_from_recpy_insn(), gdb_print_insn(), gdbpy_convert_exception(), btrace_insn::pc, string_file::string(), and target_gdbarch().
Referenced by recpy_insn_decoded().
Definition at line 246 of file py-record-btrace.c.
References BTRACE_INSN_FLAG_SPECULATIVE, btrace_insn_from_recpy_insn(), and btrace_insn::flags.
Referenced by recpy_insn_is_speculative().
Definition at line 218 of file py-record-btrace.c.
References btrace_insn_from_recpy_insn(), gdb_py_object_from_ulongest(), and btrace_insn::pc.
Referenced by recpy_insn_pc().
Definition at line 194 of file py-record-btrace.c.
References btrace_insn_from_recpy_insn(), find_pc_line(), GDB_PY_HANDLE_EXCEPTION, btrace_insn::pc, and symtab_and_line_to_sal_object().
Referenced by recpy_insn_sal().
Definition at line 232 of file py-record-btrace.c.
References btrace_insn_from_recpy_insn(), gdb_py_object_from_longest(), and btrace_insn::size.
Referenced by recpy_insn_size().
Definition at line 700 of file py-record-btrace.c.
References btpy_list_new(), btrace_fetch(), btrace_insn_begin(), btrace_insn_end(), btrace_insn_number(), btrace_is_empty(), record_btrace_get_cpu(), and recpy_insn_type.
Referenced by recpy_instruction_history().
Definition at line 607 of file py-record-btrace.c.
Referenced by recpy_method().
Definition at line 637 of file py-record-btrace.c.
References btpy_insn_or_gap_new(), and btrace_insn_number().
Referenced by recpy_replay_position().
|
static |
Definition at line 811 of file py-record-btrace.c.
Referenced by gdbpy_initialize_btrace().
|
static |
Definition at line 795 of file py-record-btrace.c.
Referenced by gdbpy_initialize_btrace().
|
static |
Definition at line 804 of file py-record-btrace.c.
Referenced by gdbpy_initialize_btrace().
|
static |
Definition at line 54 of file py-record-btrace.c.
Referenced by btpy_list_new(), and gdbpy_initialize_btrace().