GDB (API)
|
#include "defs.h"
#include "exceptions.h"
#include "gdbthread.h"
#include "inferior.h"
#include "python-internal.h"
Go to the source code of this file.
Defines | |
#define | THPY_REQUIRE_VALID(Thread) |
Functions | |
thread_object * | create_thread_object (struct thread_info *tp) |
PyObject * | gdbpy_selected_thread (PyObject *self, PyObject *args) |
int | gdbpy_initialize_thread (void) |
#define THPY_REQUIRE_VALID | ( | Thread | ) |
do { \ if (!Thread->thread) \ { \ PyErr_SetString (PyExc_RuntimeError, \ _("Thread no longer exists.")); \ return NULL; \ } \ } while (0)
Definition at line 30 of file py-infthread.c.
thread_object* create_thread_object | ( | struct thread_info * | tp | ) |
Definition at line 43 of file py-infthread.c.
int gdbpy_initialize_thread | ( | void | ) |
Definition at line 259 of file py-infthread.c.
PyObject* gdbpy_selected_thread | ( | PyObject * | self, |
PyObject * | args | ||
) |
Definition at line 242 of file py-infthread.c.