* mi/mi-main.c (mi_cmd_execute): Also allow -list-thread-groups
authorPedro Alves <palves@redhat.com>
Wed, 14 Jan 2009 14:22:01 +0000 (14:22 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 14 Jan 2009 14:22:01 +0000 (14:22 +0000)
without a live selected thread.

gdb/ChangeLog
gdb/mi/mi-main.c

index b4a8dc152e493b606fc4fee3e67c985ea641ebee..caff8a8ee54805e801b8eda0f3055e6cd5f3ddca 100644 (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
index dc48e4712d0e4298f7cb2880fded117e06cdfd99..f290753beae9c29e6018f400bfc7bc2e7fdd83a2 100644 (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 ();