22a0232400
This commit adds a new Python InferiorThread.global_num attribute. This can be used to pass the correct thread ID to Breakpoint.thread, which takes a global thread ID, not a per-inferior thread number. gdb/ChangeLog: 2016-01-13 Pedro Alves <palves@redhat.com> * NEWS: Mention InferiorThread.global_num. * python/py-infthread.c (thpy_get_global_num): New function. (thread_object_getset): Register "global_num". gdb/testsuite/ChangeLog: 2016-01-13 Pedro Alves <palves@redhat.com> * gdb.multi/tids.exp: Test InferiorThread.global_num and Breakpoint.thread. * gdb.python/py-infthread.exp: Test InferiorThread.global_num. gdb/doc/ChangeLog: 2016-01-13 Pedro Alves <palves@redhat.com> * python.texi (Breakpoints In Python) <Breakpoint.thread>: Add anchor. (Threads In Python): Document new InferiorThread.global_num attribute. |
||
---|---|---|
.. | ||
base.exp | ||
bkpt-multi-exec.c | ||
bkpt-multi-exec.exp | ||
crashme.c | ||
dummy-frame-restore.c | ||
dummy-frame-restore.exp | ||
goodbye.c | ||
hangout.c | ||
hello.c | ||
info-threads.exp | ||
Makefile.in | ||
multi-arch-exec.c | ||
multi-arch-exec.exp | ||
multi-arch.exp | ||
multi-attach.c | ||
multi-attach.exp | ||
tids.c | ||
tids.exp | ||
watchpoint-multi.c | ||
watchpoint-multi.exp |