Add end_psymtab_common, have all debug info readers call it.
[deliverable/binutils-gdb.git] / gdb / skip.c
index 79d07bd68448b3e395e8acb3d1d204500845da51..a1cdd725c9af9be4088d221d35fefa2fe5305beb 100644 (file)
@@ -1,6 +1,6 @@
 /* Skipping uninteresting files and functions while stepping.
 
-   Copyright (C) 2011-2014 Free Software Foundation, Inc.
+   Copyright (C) 2011-2015 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.024399 seconds and 4 git commands to generate.