aboutsummaryrefslogtreecommitdiff
path: root/gdb/skip.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/skip.c')
-rw-r--r--gdb/skip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/skip.c b/gdb/skip.c
index ba38194..a1cdd72 100644
--- a/gdb/skip.c
+++ b/gdb/skip.c
@@ -131,7 +131,7 @@ skip_function_command (char *arg, int from_tty)
}
else
{
- if (lookup_symbol (arg, NULL, VAR_DOMAIN, NULL) == NULL)
+ if (lookup_symbol (arg, NULL, VAR_DOMAIN, NULL).symbol == NULL)
{
fprintf_filtered (gdb_stderr,
_("No function found named %s.\n"), arg);