aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-02 00:56:37 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-02 00:56:37 +0000
commite00d1dc8a5dbd8ab410d19b1a24d385f2410ba57 (patch)
treea6ed2a3114a3693262786a15e3731a16814c149a /gdb/top.c
parent76b79d6ec8ffbc873e6d9c05617b621843d5bc3e (diff)
downloadgdb-e00d1dc8a5dbd8ab410d19b1a24d385f2410ba57.zip
gdb-e00d1dc8a5dbd8ab410d19b1a24d385f2410ba57.tar.gz
gdb-e00d1dc8a5dbd8ab410d19b1a24d385f2410ba57.tar.bz2
s/NO_FUNCTION/NULL/
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 6ed92e8..7552de7 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -698,7 +698,7 @@ execute_command (char *p, int from_tty)
execute_user_command (c, arg);
else if (c->type == set_cmd || c->type == show_cmd)
do_setshow_command (arg, from_tty & caution, c);
- else if (c->function.cfunc == NO_FUNCTION)
+ else if (c->function.cfunc == NULL)
error ("That is not a command, just a help topic.");
else if (call_command_hook)
call_command_hook (c, arg, from_tty & caution);