Replace the block_found global with explicit data-flow
[deliverable/binutils-gdb.git] / gdb / skip.c
index ba38194b534c36aac85d5a4fa528ada81184e316..a1cdd725c9af9be4088d221d35fefa2fe5305beb 100644 (file)
@@ -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);
This page took 0.040601 seconds and 4 git commands to generate.