diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-02-21 23:40:47 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-02-21 23:40:47 +0000 |
commit | aea5b2797c9c4e3a33c9a9ebd14614165486c293 (patch) | |
tree | 790a4578852964b7974de41d2b7503cfc1b8f445 /gdb/gdbthread.h | |
parent | dfa58db10cd0f761a650f63cd47c15423cda88de (diff) | |
download | gdb-aea5b2797c9c4e3a33c9a9ebd14614165486c293.zip gdb-aea5b2797c9c4e3a33c9a9ebd14614165486c293.tar.gz gdb-aea5b2797c9c4e3a33c9a9ebd14614165486c293.tar.bz2 |
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.
Diffstat (limited to 'gdb/gdbthread.h')
-rw-r--r-- | gdb/gdbthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h index ddb7b0f..43db95a 100644 --- a/gdb/gdbthread.h +++ b/gdb/gdbthread.h @@ -377,7 +377,7 @@ extern struct cmd_list_element *thread_cmd_list; `set print thread-events'. */ extern int print_thread_events; -extern void print_thread_info (struct ui_out *uiout, int thread, +extern void print_thread_info (struct ui_out *uiout, char *threads, int pid); extern struct cleanup *make_cleanup_restore_current_thread (void); |