From 244bf9aeb143cd161515f5773feb301fbb5585e3 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 14 Jan 2009 14:22:01 +0000 Subject: [PATCH] * mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups without a live selected thread. --- gdb/ChangeLog | 5 +++++ gdb/mi/mi-main.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b4a8dc152e4..caff8a8ee54 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-01-14 Pedro Alves + + * mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups + without a live selected thread. + 2009-01-14 Joel Brobecker Update the copyright notice of some of the files I missed diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index dc48e4712d0..f290753beae 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 (); -- 2.30.2