Fix an illegal memory access triggered when trying to examine an input file containin...
[deliverable/binutils-gdb.git] / gdb / filename-seen-cache.h
index a644b1a80871200358f04fc81b1d76fb61c549d3..ee064c32565aea699574e802b8b50eee737e90aa 100644 (file)
@@ -1,6 +1,6 @@
 /* Filename-seen cache for the GNU debugger, GDB.
 
-   Copyright (C) 1986-2018 Free Software Foundation, Inc.
+   Copyright (C) 1986-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#ifndef FILENAME_SEEN_CACHE_H
+#define FILENAME_SEEN_CACHE_H
+
 #include "defs.h"
-#include "common/function-view.h"
+#include "gdbsupport/function-view.h"
 
 /* Cache to watch for file names already seen.  */
 
@@ -59,3 +62,5 @@ private:
   /* Table of files seen so far.  */
   htab_t m_tab;
 };
+
+#endif /* FILENAME_SEEN_CACHE_H */
This page took 0.054092 seconds and 4 git commands to generate.