mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-24 02:37:23 +08:00
Add `thread_from_thread_handle' method to (Python) gdb.Inferior
gdb/ChangeLog: * python/py-inferior.c (gdbpy_thread_from_thread_handle): New function. (inferior_object_methods): Add gdbpy_thread_from_thread_handle. * python/python-internal.h (thread_object_type): Declare.
This commit is contained in:
@ -377,6 +377,8 @@ extern PyTypeObject breakpoint_object_type
|
||||
CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("breakpoint_object");
|
||||
extern PyTypeObject frame_object_type
|
||||
CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("frame_object");
|
||||
extern PyTypeObject thread_object_type
|
||||
CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("thread_object");
|
||||
|
||||
typedef struct gdbpy_breakpoint_object
|
||||
{
|
||||
|
Reference in New Issue
Block a user