diff options
Diffstat (limited to 'gdb/command.c')
-rw-r--r-- | gdb/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/command.c b/gdb/command.c index e12db1b..412ff21 100644 --- a/gdb/command.c +++ b/gdb/command.c @@ -260,7 +260,7 @@ delete_cmd (name, list) register struct cmd_list_element *c; struct cmd_list_element *p; - while (*list && !strcmp ((*list)->name, name)) + while (*list && STREQ ((*list)->name, name)) { if ((*list)->hookee) (*list)->hookee->hook = 0; /* Hook slips out of its mouth */ @@ -272,7 +272,7 @@ delete_cmd (name, list) if (*list) for (c = *list; c->next;) { - if (!strcmp (c->next->name, name)) + if (STREQ (c->next->name, name)) { if (c->next->hookee) c->next->hookee->hook = 0; /* hooked cmd gets away. */ |