From 244bf9aeb143cd161515f5773feb301fbb5585e3 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 14 Jan 2009 14:22:01 +0000 Subject: * 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(-) (limited to 'gdb/mi/mi-main.c') diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index dc48e47..f290753 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -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 (); -- cgit v1.1