* cli/cli-decode.c (add_alias_cmd): Correct assertion.

This commit is contained in:
Pierre Muller 2009-06-08 15:45:39 +00:00
parent 72f80ae028
commit 300d028478
2 changed files with 5 additions and 1 deletions

View 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.

View 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;
}