GDB (xrefs)
|
#include "defs.h"
#include "top.h"
#include "python-internal.h"
#include "breakpoint.h"
#include "frame.h"
#include "gdbthread.h"
#include "arch-utils.h"
#include "language.h"
#include "observable.h"
#include "inferior.h"
#include "block.h"
#include "location.h"
Go to the source code of this file.
Classes | |
struct | finish_breakpoint_object |
Variables | |
static const char | outofscope_func [] = "out_of_scope" |
static gdb_PyGetSetDef | finish_breakpoint_object_getset [] |
PyTypeObject | finish_breakpoint_object_type |
|
static |
Definition at line 87 of file py-finishbreakpoint.c.
References finish_breakpoint_object::func_symbol, finish_breakpoint_object::function_value, and finish_breakpoint_object::return_value.
|
static |
Definition at line 362 of file py-finishbreakpoint.c.
References gdbpy_breakpoint_object::bp, bpfinishpy_out_of_scope(), current_inferior(), delete_breakpoint(), frame_find_by_id(), gdbpy_convert_exception(), gdbpy_print_stack(), finish_breakpoint_object::initiating_frame, gdbpy_breakpoint_object::is_finish_bp, breakpoint::pspace, inferior::pspace, finish_breakpoint_object::py_bp, breakpoint::py_bp_object, and target_has_registers().
Referenced by bpfinishpy_handle_exit(), bpfinishpy_handle_stop(), and bpfinishpy_pre_delete_hook().
Definition at line 72 of file py-finishbreakpoint.c.
References finish_breakpoint_object::return_value.
|
static |
Definition at line 428 of file py-finishbreakpoint.c.
References all_breakpoints_safe(), bp, bpfinishpy_detect_out_scope_cb(), and target_gdbarch().
Referenced by gdbpy_initialize_finishbreakpoints().
|
static |
Definition at line 415 of file py-finishbreakpoint.c.
References all_breakpoints_safe(), bp, bpfinishpy_detect_out_scope_cb(), and bpstat::breakpoint_at.
Referenced by gdbpy_initialize_finishbreakpoints().
Definition at line 167 of file py-finishbreakpoint.c.
References AUTO_BOOLEAN_TRUE, gdbpy_breakpoint_object::bp, bp_breakpoint, bppy_pending_object, check_typedef(), type::code(), code_breakpoint_ops, create_breakpoint(), current_program_space, DUMMY_FRAME, find_pc_function(), breakpoint::frame_id, frame_object_to_frame_info(), finish_breakpoint_object::func_symbol, finish_breakpoint_object::function_value, GDB_PY_SET_HANDLE_EXCEPTION, gdb_PyArg_ParseTupleAndKeywords(), gdbpy_convert_exception(), get_current_frame(), get_frame_id(), get_frame_pc(), get_frame_pc_if_available(), get_frame_type(), gdbpy_enter::get_gdbarch(), get_prev_frame(), thread_info::global_num, inferior_ptid, inferior_thread(), finish_breakpoint_object::initiating_frame, gdbpy_breakpoint_object::is_finish_bp, new_address_location_spec(), gdbpy_breakpoint_object::number, breakpoint::pspace, finish_breakpoint_object::py_bp, quit_force(), read_var_value(), symbol_to_symbol_object(), type::target_type(), symbol::type(), and value_to_value_object().
|
static |
Definition at line 339 of file py-finishbreakpoint.c.
References gdbpy_breakpoint_object::bp, bp_enabled, breakpoint::enable_state, gdbpy_print_stack(), outofscope_func, finish_breakpoint_object::py_bp, and PyObject_CallMethod.
Referenced by bpfinishpy_detect_out_scope_cb().
void bpfinishpy_post_stop_hook | ( | struct gdbpy_breakpoint_object * | bp_obj | ) |
Definition at line 148 of file py-finishbreakpoint.c.
References gdbpy_breakpoint_object::bp, disable_breakpoint(), disp_del_at_next_stop, breakpoint::disposition, gdbpy_convert_exception(), and gdbpy_print_stack().
Referenced by gdbpy_breakpoint_cond_says_stop().
void bpfinishpy_pre_delete_hook | ( | struct gdbpy_breakpoint_object * | bp_obj | ) |
Definition at line 405 of file py-finishbreakpoint.c.
References bp, gdbpy_breakpoint_object::bp, and bpfinishpy_detect_out_scope_cb().
Referenced by gdbpy_breakpoint_deleted().
void bpfinishpy_pre_stop_hook | ( | struct gdbpy_breakpoint_object * | bp_obj | ) |
Definition at line 103 of file py-finishbreakpoint.c.
References finish_breakpoint_object::func_symbol, finish_breakpoint_object::function_value, gdbpy_convert_exception(), gdbpy_print_stack(), get_return_value(), finish_breakpoint_object::return_value, symbol_object_to_symbol(), value_object_to_value(), and value_to_value_object().
Referenced by gdbpy_breakpoint_cond_says_stop().
|
extern |
GDBPY_INITIALIZE_FILE | ( | gdbpy_initialize_finishbreakpoints | ) |
|
static |
Definition at line 439 of file py-finishbreakpoint.c.
References bpfinishpy_handle_exit(), bpfinishpy_handle_stop(), finish_breakpoint_object_type, gdb_module, gdb_pymodule_addobject(), gdbpy_breakpoint_init_breakpoint_type(), gdb::observers::inferior_exit, and gdb::observers::normal_stop.
|
static |
Definition at line 463 of file py-finishbreakpoint.c.
PyTypeObject finish_breakpoint_object_type |
Definition at line 470 of file py-finishbreakpoint.c.
Referenced by gdbpy_initialize_finishbreakpoints().
|
static |
Definition at line 36 of file py-finishbreakpoint.c.
Referenced by bpfinishpy_out_of_scope().