* mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups

without a live selected thread.
This commit is contained in:
Pedro Alves 2009-01-14 14:22:01 +00:00
parent 18aae69934
commit 244bf9aeb1
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-01-14 Pedro Alves <pedro@codesourcery.com>
* mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups
without a live selected thread.
2009-01-14 Joel Brobecker <brobecker@adacore.com>
Update the copyright notice of some of the files I missed

View File

@ -1355,7 +1355,8 @@ mi_cmd_execute (struct mi_parse *parse)
&& (is_exited (inferior_ptid))
&& (strcmp (parse->command, "thread-info") != 0
&& strcmp (parse->command, "thread-list-ids") != 0
&& strcmp (parse->command, "thread-select") != 0))
&& strcmp (parse->command, "thread-select") != 0)
&& strcmp (parse->command, "list-thread-groups") != 0)
{
struct ui_file *stb;
stb = mem_fileopen ();