* cli/cli-decode.c (add_alias_cmd): Correct assertion.
authorPierre Muller <muller@sourceware.org>
Mon, 8 Jun 2009 15:45:39 +0000 (15:45 +0000)
committerPierre Muller <muller@sourceware.org>
Mon, 8 Jun 2009 15:45:39 +0000 (15:45 +0000)
gdb/ChangeLog
gdb/cli/cli-decode.c

index a9d908809d2f76504e7c1afc0219d280bcffd5c8..22aa1fff8122a9525524ff0cd7e71f20fb2a7b57 100644 (file)
@@ -1,3 +1,7 @@
+2009-06-08  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * cli/cli-decode.c (add_alias_cmd): Correct assertion.
+
 2009-06-07  Pedro Alves  <pedro@codesourcery.com>
 
        * hppa-tdep.c (_initialize_hppa_tdep): Add declaration.
index db7789f796a906fd104bbba895d42e710957e81a..e748ee6ea8d51b4f65ded07bdfd045a91370c839 100644 (file)
@@ -251,7 +251,7 @@ add_alias_cmd (char *name, char *oldname, enum command_class class,
                                                     &prehook, &prehookee,
                                                     &posthook, &posthookee);
       /* If this happens, it means a programmer error somewhere.  */
-      gdb_assert (!aliases && !prehook && prehookee
+      gdb_assert (!aliases && !prehook && !prehookee
                  && !posthook && ! posthookee);
       return 0;
     }