aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-06-08 15:45:39 +0000
committerPierre Muller <muller@sourceware.org>2009-06-08 15:45:39 +0000
commit300d028478a0e0f52fe934488be96acc74e12e44 (patch)
tree7de225f8b323dc570e08cae7c98436e722f229df /gdb/cli
parent72f80ae0282556eb0d550876b764e47a7a940c37 (diff)
downloadgdb-300d028478a0e0f52fe934488be96acc74e12e44.zip
gdb-300d028478a0e0f52fe934488be96acc74e12e44.tar.gz
gdb-300d028478a0e0f52fe934488be96acc74e12e44.tar.bz2
* cli/cli-decode.c (add_alias_cmd): Correct assertion.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index db7789f..e748ee6 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -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;
}