GDB (xrefs)
|
#include "defs.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 49 of file py-frame.c.
#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(), gdbpy_newest_frame(), and gdbpy_selected_frame().
frame_info_ptr frame_object_to_frame_info | ( | PyObject * | obj | ) |
Definition at line 61 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 173 of file py-frame.c.
References FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, frame_object::gdbarch, and gdbarch_to_arch_object().
Definition at line 276 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 91 of file py-frame.c.
References frame_object_to_frame_info(), and GDB_PY_HANDLE_EXCEPTION.
Definition at line 601 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 580 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 114 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 217 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 240 of file py-frame.c.
References FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, 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(), FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, 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 689 of file py-frame.c.
References frame_object::frame_id, frame_object::frame_id_is_next, and frame_object_type.
Definition at line 559 of file py-frame.c.
References FRAPY_REQUIRE_VALID, GDB_PY_HANDLE_EXCEPTION, and select_frame().
Definition at line 80 of file py-frame.c.
References frame_id::to_string().
Definition at line 150 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 194 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 665 of file py-frame.c.
References host_charset(), and unwind_stop_reason_to_string().
int gdbpy_initialize_frames | ( | void | ) |
Definition at line 717 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 625 of file py-frame.c.
References frame_info_to_frame_object(), GDB_PY_HANDLE_EXCEPTION, and get_current_frame().
Definition at line 645 of file py-frame.c.
References frame_info_to_frame_object(), GDB_PY_HANDLE_EXCEPTION, and get_selected_frame().
|
static |
Definition at line 750 of file py-frame.c.
PyTypeObject frame_object_type |
Definition at line 799 of file py-frame.c.
Referenced by frame_info_to_frame_object(), frapy_richcompare(), gdbpy_initialize_frames(), and sympy_value().