about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-11 11:59:39 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-11 11:59:39 -0700
commit272e786bda374bd256759344b70f32381e021ee1 (patch)
tree32852fc22b7b43535e056e531a11445913992367
parent5798a11bf083ef3a0a2bbf2f55ddb6dfa1ee6b17 (diff)
downloadmu-272e786bda374bd256759344b70f32381e021ee1.tar.gz
1344
-rw-r--r--027debug.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/027debug.cc b/027debug.cc
index 1e313d98..bbce5d6e 100644
--- a/027debug.cc
+++ b/027debug.cc
@@ -72,3 +72,13 @@ case _DUMP_TRACE: {
   DUMP("");
   break;
 }
+
+:(before "End Primitive Recipe Declarations")
+_DUMP_MEMORY,
+:(before "End Primitive Recipe Numbers")
+Recipe_number["$dump-memory"] = _DUMP_MEMORY;
+:(before "End Primitive Recipe Implementations")
+case _DUMP_MEMORY: {
+  dump_memory();
+  break;
+}