Index: gdb/target-dcache.h |
diff --git a/gdb/testsuite/gdb.cp/formatted-ref.cc b/gdb/target-dcache.h |
similarity index 62% |
copy from gdb/testsuite/gdb.cp/formatted-ref.cc |
copy to gdb/target-dcache.h |
index b0119be6e61099eb6ef17a526cf189682b770b39..59e0b3d788b457dfd5fdc3164174d2f3abfc190c 100644 |
--- a/gdb/testsuite/gdb.cp/formatted-ref.cc |
+++ b/gdb/target-dcache.h |
@@ -1,4 +1,4 @@ |
-/* Copyright 2007-2012 Free Software Foundation, Inc. |
+/* Copyright (C) 1992-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -15,29 +15,21 @@ |
You should have received a copy of the GNU General Public License |
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
-/* Author: Paul N. Hilfinger, AdaCore Inc. */ |
+#ifndef TARGET_DCACHE_H |
+#define TARGET_DCACHE_H |
-enum Enum1 { Val10=10, Val11, Val12 }; |
+#include "dcache.h" |
-struct Struct1 |
-{ |
- int x, y; |
-}; |
+extern void target_dcache_invalidate (void); |
-int f1 (Struct1& s, Enum1& e, int& i) |
-{ |
- return s.x; /* Set breakpoint marker here. */ |
-} |
+extern DCACHE *target_dcache_get (void); |
-Struct1 s1 = { 13, 19 }; |
+extern DCACHE *target_dcache_get_or_init (void); |
-int i1 = 23; |
+extern int target_dcache_init_p (void); |
-Enum1 e1 = Val11; |
+extern int stack_cache_enabled_p (void); |
-int main(void) |
-{ |
+extern int code_cache_enabled_p (void); |
- f1 (s1, e1, i1); |
- |
-} |
+#endif /* TARGET_DCACHE_H */ |