2011-02-21 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Mon, 21 Feb 2011 23:40:47 +0000 (23:40 +0000)
committerMichael Snyder <msnyder@vmware.com>
Mon, 21 Feb 2011 23:40:47 +0000 (23:40 +0000)
commitaea5b2797c9c4e3a33c9a9ebd14614165486c293
tree790a4578852964b7974de41d2b7503cfc1b8f445
parentdfa58db10cd0f761a650f63cd47c15423cda88de
2011-02-21  Michael Snyder  <msnyder@vmware.com>

* gdbthread.h (print_thread_info): Change prototype.
* thread.c (print_thread_info): Accept char* instead of int for
requested_threads argument.  Use new function number_is_in_list
to determine which threads to list.
(info_threads_command): Pass char* to print_thread_info.
* cli/cli-utils.c (number_is_in_list): New function.
* cli/cli-utils.h (number_is_in_list): Export.
* mi/mi-main.c (mi_cmd_thread_info): Pass char* to
print_thread_info.
(print_one_inferior): Ditto.
(mi_cmd_list_thread_groups): Ditto.

2011-02-21  Michael Snyder  <msnyder@vmware.com>

* gdb.threads/thread-find.exp: Update patterns for changes in
output of "info threads" command.
gdb/ChangeLog
gdb/cli/cli-utils.c
gdb/cli/cli-utils.h
gdb/gdbthread.h
gdb/mi/mi-main.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/thread-find.exp
gdb/thread.c