summaryrefslogtreecommitdiff
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
commite4bd67c61ebd902b89a95c156b7d4427ca9cc09b (patch)
treedb10d7e915fb5c308b55d39f01e693c959d8f904 /gdb/top.c
parent9c1b09fc53943ce1a713163915cc12d4bb9e65d7 (diff)
downloadgdb-e4bd67c61ebd902b89a95c156b7d4427ca9cc09b.tar.gz
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 6ed92e8edb6..7552de7fbf7 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);