GDB (xrefs)
|
#include "defs.h"
#include "language.h"
#include "charset.h"
#include "block.h"
#include "frame.h"
#include "symtab.h"
#include "stack.h"
#include "value.h"
#include "python-internal.h"
#include "symfile.h"
#include "objfiles.h"
#include "unwind_stop_reasons.def"
Go to the source code of this file.
Classes | |
struct | frame_object |
Macros | |
#define | FRAPY_REQUIRE_VALID(frame_obj, frame) |
#define | SET(name, description) |
Variables | |
static PyMethodDef | frame_object_methods [] |
PyTypeObject | frame_object_type |
#define FRAPY_REQUIRE_VALID | ( | frame_obj, | |
frame ) |
Definition at line 50 of file py-frame.c.
Referenced by frapy_arch(), frapy_block(), frapy_find_sal(), frapy_function(), frapy_language(), frapy_level(), frapy_name(), frapy_newer(), frapy_older(), frapy_pc(), frapy_read_register(), frapy_read_var(), frapy_select(), frapy_static_link(), frapy_type(), and frapy_unwind_stop_reason().
#define SET | ( | name, | |
description ) |
PyObject * frame_info_to_frame_object | ( | frame_info_ptr | frame | ) |
Definition at line 346 of file py-frame.c.
References frame_object_type, gdbpy_convert_exception(), get_frame_arch(), get_frame_id(), get_frame_unwind_stop_reason(), get_next_frame(), and get_prev_frame().
Referenced by bootstrap_python_frame_filters(), create_register_changed_event_object(), frapy_newer(), frapy_older(), frapy_static_link(), gdbpy_newest_frame(), and gdbpy_selected_frame().
frame_info_ptr frame_object_to_frame_info | ( | PyObject * | obj | ) |
Definition at line 62 of file py-frame.c.
References frame_find_by_id(), frame_object::frame_id, frame_object::frame_id_is_next, and get_prev_frame().
Referenced by bpfinishpy_init(), frapy_is_valid(), py_print_frame(), and sympy_value().
Definition at line 174 of file py-frame.c.
References FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, frame_object::gdbarch, and gdbarch_to_arch_object().
Definition at line 282 of file py-frame.c.
References block_to_block_object(), FRAPY_REQUIRE_VALID, block::function(), GDB_PY_HANDLE_EXCEPTION, get_frame_block(), and symbol::objfile().
Definition at line 450 of file py-frame.c.
References find_frame_sal(), FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, and symtab_and_line_to_sal_object().
Definition at line 317 of file py-frame.c.
References find_frame_funname(), FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, and symbol_to_symbol_object().
Definition at line 92 of file py-frame.c.
References frame_object_to_frame_info(), and GDB_PY_HANDLE_EXCEPTION.
Definition at line 605 of file py-frame.c.
References FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, get_frame_language(), host_string_to_python_string(), language_def(), and language_defn::name().
Definition at line 584 of file py-frame.c.
References frame_relative_level(), FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, and gdb_py_object_from_longest().
Definition at line 115 of file py-frame.c.
References find_frame_funname(), FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, host_charset(), and name.
Definition at line 419 of file py-frame.c.
References frame_info_to_frame_object(), FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, and get_next_frame().
Definition at line 387 of file py-frame.c.
References frame_info_to_frame_object(), FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, and get_prev_frame().
Definition at line 218 of file py-frame.c.
References FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, gdb_py_object_from_ulongest(), and get_frame_pc().
Definition at line 241 of file py-frame.c.
References FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, gdb_PyArg_ParseTupleAndKeywords(), gdbpy_parse_register_id(), get_frame_arch(), regnum, value_of_register(), and value_to_value_object().
Definition at line 478 of file py-frame.c.
References block_symbol::block, block_object_to_block(), block_object_type, FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, gdb_PyArg_ParseTupleAndKeywords(), gdbpy_convert_exception(), gdbpy_is_string(), get_frame_block(), lookup_symbol(), python_string_to_target_string(), read_var_value(), block_symbol::symbol, symbol_object_to_symbol(), symbol_object_type, value_to_value_object(), and VAR_DOMAIN.
Definition at line 717 of file py-frame.c.
References frame_object::frame_id, frame_object::frame_id_is_next, and frame_object_type.
Definition at line 563 of file py-frame.c.
References FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, and select_frame().
Definition at line 628 of file py-frame.c.
References frame_follow_static_link(), frame_info_to_frame_object(), FRAPY_REQUIRE_VALID, and GDB_PY_HANDLE_EXCEPTION.
Definition at line 81 of file py-frame.c.
References frame_id::to_string().
Definition at line 151 of file py-frame.c.
References FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, gdb_py_object_from_longest(), get_frame_type(), and NORMAL_FRAME.
Definition at line 195 of file py-frame.c.
References FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, gdb_py_object_from_longest(), and get_frame_unwind_stop_reason().
Definition at line 693 of file py-frame.c.
References host_charset(), and unwind_stop_reason_to_string().
GDBPY_INITIALIZE_FILE | ( | gdbpy_initialize_frames | ) |
|
static |
Definition at line 745 of file py-frame.c.
References ARCH_FRAME, DUMMY_FRAME, frame_object_type, gdb_module, gdb_pymodule_addobject(), INLINE_FRAME, NORMAL_FRAME, SENTINEL_FRAME, SIGTRAMP_FRAME, and TAILCALL_FRAME.
Definition at line 653 of file py-frame.c.
References frame_info_to_frame_object(), GDB_PY_HANDLE_EXCEPTION, and get_current_frame().
Definition at line 673 of file py-frame.c.
References frame_info_to_frame_object(), GDB_PY_HANDLE_EXCEPTION, and get_selected_frame().
|
static |
Definition at line 780 of file py-frame.c.
PyTypeObject frame_object_type |
Definition at line 832 of file py-frame.c.
Referenced by frame_info_to_frame_object(), frapy_richcompare(), gdbpy_initialize_frames(), and sympy_value().