diff options
author | Pedro Alves <palves@redhat.com> | 2009-01-14 14:22:01 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-01-14 14:22:01 +0000 |
commit | 244bf9aeb143cd161515f5773feb301fbb5585e3 (patch) | |
tree | bc0922558913f0260f0304d0f0f316d17fcf613b /gdb/mi/mi-main.c | |
parent | 18aae699341ae6abc0a1e66be83667ec44b664d9 (diff) | |
download | gdb-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/mi/mi-main.c')
-rw-r--r-- | gdb/mi/mi-main.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 (); |