GDB (xrefs)
Classes | Functions | Variables
py-finishbreakpoint.c File Reference
#include "defs.h"
#include "python-internal.h"
#include "breakpoint.h"
#include "frame.h"
#include "gdbthread.h"
#include "arch-utils.h"
#include "language.h"
#include "observer.h"
#include "inferior.h"
#include "block.h"

Go to the source code of this file.

Classes

struct  finish_breakpoint_object
 

Functions

PyTypeObject finish_breakpoint_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("finish_breakpoint_object")
 
static PyObject * bpfinishpy_get_returnvalue (PyObject *self, void *closure)
 
static void bpfinishpy_dealloc (PyObject *self)
 
void bpfinishpy_pre_stop_hook (struct gdbpy_breakpoint_object *bp_obj)
 
void bpfinishpy_post_stop_hook (struct gdbpy_breakpoint_object *bp_obj)
 
static int bpfinishpy_init (PyObject *self, PyObject *args, PyObject *kwargs)
 
static void bpfinishpy_out_of_scope (struct finish_breakpoint_object *bpfinish_obj)
 
static int bpfinishpy_detect_out_scope_cb (struct breakpoint *b, void *args)
 
static void bpfinishpy_handle_stop (struct bpstats *bs, int print_frame)
 
static void bpfinishpy_handle_exit (struct inferior *inf)
 
int gdbpy_initialize_finishbreakpoints (void)
 

Variables

static char *const outofscope_func = "out_of_scope"
 
static PyGetSetDef finish_breakpoint_object_getset []
 
PyTypeObject finish_breakpoint_object_type
 

Function Documentation

static void bpfinishpy_dealloc ( PyObject *  self)
static
static int bpfinishpy_detect_out_scope_cb ( struct breakpoint b,
void *  args 
)
static
static PyObject* bpfinishpy_get_returnvalue ( PyObject *  self,
void *  closure 
)
static

Definition at line 62 of file py-finishbreakpoint.c.

References finish_breakpoint_object::return_value.

static void bpfinishpy_handle_exit ( struct inferior inf)
static
static void bpfinishpy_handle_stop ( struct bpstats bs,
int  print_frame 
)
static
static int bpfinishpy_init ( PyObject *  self,
PyObject *  args,
PyObject *  kwargs 
)
static
static void bpfinishpy_out_of_scope ( struct finish_breakpoint_object bpfinish_obj)
static
void bpfinishpy_post_stop_hook ( struct gdbpy_breakpoint_object bp_obj)
void bpfinishpy_pre_stop_hook ( struct gdbpy_breakpoint_object bp_obj)
PyTypeObject finish_breakpoint_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ( "finish_breakpoint_object"  )
int gdbpy_initialize_finishbreakpoints ( void  )

Variable Documentation

PyGetSetDef finish_breakpoint_object_getset[]
static
Initial value:
= {
{ "return_value", bpfinishpy_get_returnvalue, NULL,
"gdb.Value object representing the return value, if any. \
None otherwise.", NULL },
{ NULL }
}
static PyObject * bpfinishpy_get_returnvalue(PyObject *self, void *closure)

Definition at line 439 of file py-finishbreakpoint.c.

PyTypeObject finish_breakpoint_object_type

Definition at line 446 of file py-finishbreakpoint.c.

Referenced by gdbpy_initialize_finishbreakpoints().

char* const outofscope_func = "out_of_scope"
static

Definition at line 34 of file py-finishbreakpoint.c.

Referenced by bpfinishpy_out_of_scope().