aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-01-14 15:21:55 +0000
committerPedro Alves <palves@redhat.com>2009-01-14 15:21:55 +0000
commit041d0fd7f40422a8acc9eae6efbf18d63b2552a0 (patch)
tree6b980a256339dc1a17eaa2c4135d786651090b0a /gdb
parentdc1981d76992dfb9e56a6425baff2caf7eefc86e (diff)
downloadgdb-041d0fd7f40422a8acc9eae6efbf18d63b2552a0.zip
gdb-041d0fd7f40422a8acc9eae6efbf18d63b2552a0.tar.gz
gdb-041d0fd7f40422a8acc9eae6efbf18d63b2552a0.tar.bz2
* mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
previous change.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/mi/mi-main.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c9c4616..cbcd0e6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2009-01-14 Pedro Alves <pedro@codesourcery.com>
+ * mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
+ previous change.
+
+2009-01-14 Pedro Alves <pedro@codesourcery.com>
+
* remote.c (extended_remote_mourn_1): Invalidate our notion of
current general thread.
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index f290753..b905a9e 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -1352,11 +1352,11 @@ mi_cmd_execute (struct mi_parse *parse)
{
if (target_can_async_p ()
&& target_has_execution
- && (is_exited (inferior_ptid))
+ && 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, "list-thread-groups") != 0)
+ && strcmp (parse->command, "thread-select") != 0
+ && strcmp (parse->command, "list-thread-groups") != 0))
{
struct ui_file *stb;
stb = mem_fileopen ();