Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(630)

Unified Diff: gdb/target-dcache.h

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/target.c ('k') | gdb/target-dcache.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */
« no previous file with comments | « gdb/target.c ('k') | gdb/target-dcache.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698