* mi/mi-main.c (mi_cmd_execute): Clean up parenthesis mess from
authorPedro Alves <palves@redhat.com>
Wed, 14 Jan 2009 15:21:55 +0000 (15:21 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 14 Jan 2009 15:21:55 +0000 (15:21 +0000)
previous change.

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

index c9c4616..cbcd0e6 100644 (file)
@@ -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.
 
index f290753..b905a9e 100644 (file)
@@ -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 ();