aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-01-14 14:22:01 +0000
committerPedro Alves <palves@redhat.com>2009-01-14 14:22:01 +0000
commit244bf9aeb143cd161515f5773feb301fbb5585e3 (patch)
treebc0922558913f0260f0304d0f0f316d17fcf613b /gdb
parent18aae699341ae6abc0a1e66be83667ec44b664d9 (diff)
downloadgdb-244bf9aeb143cd161515f5773feb301fbb5585e3.zip
gdb-244bf9aeb143cd161515f5773feb301fbb5585e3.tar.gz
gdb-244bf9aeb143cd161515f5773feb301fbb5585e3.tar.bz2
* mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups
without a live selected thread.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/mi/mi-main.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b4a8dc1..caff8a8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
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 ();