old-cross-binutils/gdb/testsuite/gdb.multi
Pedro Alves 22a0232400 Add Python InferiorThread.global_num attribute
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.
2016-01-13 11:00:54 +00:00
..
base.exp Add a new $_inferior convenience variable 2016-01-13 10:56:05 +00:00
bkpt-multi-exec.c
bkpt-multi-exec.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
crashme.c
dummy-frame-restore.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
dummy-frame-restore.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
goodbye.c Fix gdb.multi/base.exp testsuite regression 2016-01-08 20:07:02 +01:00
hangout.c Fix gdb.multi/base.exp testsuite regression 2016-01-08 20:07:02 +01:00
hello.c Fix gdb.multi/base.exp testsuite regression 2016-01-08 20:07:02 +01:00
info-threads.exp Per-inferior/Inferior-qualified thread IDs 2016-01-13 10:59:43 +00:00
Makefile.in
multi-arch-exec.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
multi-arch-exec.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
multi-arch.exp Reapply: List inferiors/threads/pspaces in ascending order 2016-01-12 01:12:38 +00:00
multi-attach.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
multi-attach.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
tids.c Per-inferior/Inferior-qualified thread IDs 2016-01-13 10:59:43 +00:00
tids.exp Add Python InferiorThread.global_num attribute 2016-01-13 11:00:54 +00:00
watchpoint-multi.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
watchpoint-multi.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00