old-cross-binutils/gdb/testsuite/gdb.multi
Pedro Alves 71ef29a86b Star wildcard ranges (e.g., "info thread 2.*")
Add support for specifying "all threads of inferior N", by writing "*"
as thread number/range in thread ID lists.

E.g., "info threads 2.*" or "thread apply 2.* bt".

gdb/ChangeLog:
2016-01-15  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention star wildcard ranges.
	* cli/cli-utils.c (get_number_or_range): Check state->in_range first.
	(number_range_setup_range): New function.
	* cli/cli-utils.h (number_range_setup_range): New declaration.
	* thread.c (thread_apply_command): Support star TID ranges.
	* tid-parse.c (tid_range_parser_finished)
	(tid_range_parser_string, tid_range_parser_skip)
	(get_tid_or_range, get_tid_or_range): Handle
	TID_RANGE_STATE_STAR_RANGE.
	(tid_range_parser_star_range): New function.
	* tid-parse.h (enum tid_range_state) <TID_RANGE_STATE_STAR_RANGE>:
	New value.
	(tid_range_parser_star_range): New declaration.

gdb/doc/ChangeLog:
2016-01-15  Pedro Alves  <palves@redhat.com>

	* gdb.texinfo (Threads) <thread ID lists>: Document star ranges.

gdb/testsuite/ChangeLog:
2016-01-15  Pedro Alves  <palves@redhat.com>

	* gdb.multi/tids.exp: Test star wildcard ranges.
2016-01-15 21:46:23 +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 Star wildcard ranges (e.g., "info thread 2.*") 2016-01-15 21:46:23 +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