gdb.base/skip.exp: Clean up multiple references to same test name.
[deliverable/binutils-gdb.git] / gdb / skip.c
index ba38194b534c36aac85d5a4fa528ada81184e316..d90910d8980ac415ec4a513e6503e007ecd1617c 100644 (file)
@@ -1,6 +1,6 @@
 /* Skipping uninteresting files and functions while stepping.
 
-   Copyright (C) 2011-2015 Free Software Foundation, Inc.
+   Copyright (C) 2011-2016 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -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.024702 seconds and 4 git commands to generate.