GDB (xrefs)
|
Go to the source code of this file.
Macros | |
#define | THPY_REQUIRE_VALID(Thread) |
Variables | |
static gdb_PyGetSetDef | thread_object_getset [] |
static PyMethodDef | thread_object_methods [] |
PyTypeObject | thread_object_type |
#define THPY_REQUIRE_VALID | ( | Thread | ) |
Definition at line 29 of file py-infthread.c.
Referenced by thpy_get_details(), thpy_get_global_num(), thpy_get_inferior(), thpy_get_name(), thpy_get_num(), thpy_get_ptid(), thpy_is_exited(), thpy_is_running(), thpy_is_stopped(), thpy_switch(), and thpy_thread_handle().
|
extern |
gdbpy_ref< thread_object > create_thread_object | ( | struct thread_info * | tp | ) |
Definition at line 40 of file py-infthread.c.
References thread_info::inf, inferior_to_inferior_object(), and thread_object_type.
Referenced by add_thread_object().
PyObject * gdbpy_create_ptid_object | ( | ptid_t | ptid | ) |
Definition at line 319 of file py-infthread.c.
References gdb_py_object_from_longest(), gdb_py_object_from_ulongest(), and pid.
Referenced by create_inferior_call_event_object(), and thpy_get_ptid().
GDBPY_INITIALIZE_FILE | ( | gdbpy_initialize_thread | ) |
|
static |
Definition at line 365 of file py-infthread.c.
References gdb_module, gdb_pymodule_addobject(), and thread_object_type.
Definition at line 356 of file py-infthread.c.
References inferior_ptid, inferior_thread(), and thread_to_thread_object().
|
static |
Definition at line 59 of file py-infthread.c.
Definition at line 84 of file py-infthread.c.
References GDB_PY_HANDLE_EXCEPTION, target_extra_thread_info(), THPY_REQUIRE_VALID, and thread_object::thread.
Definition at line 164 of file py-infthread.c.
References gdb_py_object_from_longest(), thread_info::global_num, THPY_REQUIRE_VALID, and thread_object::thread.
Definition at line 191 of file py-infthread.c.
References thread_object::inf_obj, and THPY_REQUIRE_VALID.
Definition at line 66 of file py-infthread.c.
References name, THPY_REQUIRE_VALID, thread_object::thread, and thread_name().
Definition at line 150 of file py-infthread.c.
References gdb_py_object_from_longest(), thread_info::per_inf_num, THPY_REQUIRE_VALID, and thread_object::thread.
Definition at line 179 of file py-infthread.c.
References gdbpy_create_ptid_object(), thread_info::ptid, THPY_REQUIRE_VALID, and thread_object::thread.
Definition at line 259 of file py-infthread.c.
References thread_info::state, THPY_REQUIRE_VALID, thread_object::thread, and THREAD_EXITED.
Definition at line 243 of file py-infthread.c.
References thread_info::state, THPY_REQUIRE_VALID, thread_object::thread, and THREAD_RUNNING.
Definition at line 227 of file py-infthread.c.
References thread_info::state, THPY_REQUIRE_VALID, thread_object::thread, and THREAD_STOPPED.
Definition at line 276 of file py-infthread.c.
References thread_object::thread.
Definition at line 108 of file py-infthread.c.
References gdbpy_is_string(), name, python_string_to_host_string(), thread_info::set_name(), and thread_object::thread.
Definition at line 205 of file py-infthread.c.
References GDB_PY_HANDLE_EXCEPTION, switch_to_thread(), THPY_REQUIRE_VALID, and thread_object::thread.
Definition at line 289 of file py-infthread.c.
References GDB_PY_HANDLE_EXCEPTION, target_thread_info_to_thread_handle(), THPY_REQUIRE_VALID, and thread_object::thread.
|
static |
Definition at line 378 of file py-infthread.c.
|
static |
Definition at line 397 of file py-infthread.c.
PyTypeObject thread_object_type |
Definition at line 421 of file py-infthread.c.
Referenced by create_thread_object(), and gdbpy_initialize_thread().