2009-01-14 Pedro Alves * mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups without a live selected thread. --- gdb/mi/mi-main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: src/gdb/mi/mi-main.c =================================================================== --- src.orig/gdb/mi/mi-main.c 2009-01-14 14:15:21.000000000 +0000 +++ src/gdb/mi/mi-main.c 2009-01-14 14:21:03.000000000 +0000 @@ -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 ();