GDB (API)
Defines | Functions
/home/stan/gdb/src/gdb/python/py-infthread.c File Reference
#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_objectcreate_thread_object (struct thread_info *tp)
PyObjectgdbpy_selected_thread (PyObject *self, PyObject *args)
int gdbpy_initialize_thread (void)

Define Documentation

#define THPY_REQUIRE_VALID (   Thread)
Value:
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.


Function Documentation

Definition at line 43 of file py-infthread.c.

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines