GDB (xrefs)
Classes | Functions | Variables
/home/stan/gdb/src/gdb/python/py-finishbreakpoint.c File Reference
#include "defs.h"
#include "exceptions.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

static PyTypeObject
finish_breakpoint_object_type 
CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("finish_breakpoint_object")
static PyObjectbpfinishpy_get_returnvalue (PyObject *self, void *closure)
static void bpfinishpy_dealloc (PyObject *self)
void bpfinishpy_pre_stop_hook (struct breakpoint_object *bp_obj)
void bpfinishpy_post_stop_hook (struct 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 []
static 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 63 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 breakpoint_object bp_obj)
void bpfinishpy_pre_stop_hook ( struct breakpoint_object bp_obj)
static PyTypeObject finish_breakpoint_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ( "finish_breakpoint_object"  ) [static]

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 }  
}

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

PyTypeObject finish_breakpoint_object_type [static]

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

Referenced by gdbpy_initialize_finishbreakpoints().

char* const outofscope_func = "out_of_scope" [static]

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

Referenced by bpfinishpy_out_of_scope().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines