summaryrefslogtreecommitdiff
path: root/gdb/dcache.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-12-07 03:56:43 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-12-07 03:56:43 +0000
commitecd8390290ac2bf41f22122ea01924dcd108af34 (patch)
treefc8310b6f500d05013970d228f2993a81dd6b14b /gdb/dcache.c
parentc13f725cbfef435a3cbc607745a9b917a756c101 (diff)
downloadgdb-ecd8390290ac2bf41f22122ea01924dcd108af34.tar.gz
import gdb-1999-12-06 snapshot
Diffstat (limited to 'gdb/dcache.c')
-rw-r--r--gdb/dcache.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/dcache.c b/gdb/dcache.c
index 5f09ca88686..c43413965ae 100644
--- a/gdb/dcache.c
+++ b/gdb/dcache.c
@@ -538,6 +538,13 @@ dcache_info (exp, tty)
}
}
+/* Turn dcache on or off. */
+void
+set_dcache_state (int what)
+{
+ dcache_enabled_p = !!what;
+}
+
void
_initialize_dcache ()
{