summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-10 20:24:43 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-10 20:24:43 (GMT)
commit574024147b3ff9fb0f157a1387dc62403faed29d (patch)
tree620a219461db9e933df34985afe32b8e6a6a4516 /.gdbinit
parentcc4072b3db93fffb03f7a4e9a43bd02b6ae0500b (diff)
* .gdbinit (SDR): add SDR function. It's only for VM debugging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gdbinit b/.gdbinit
index 6481376..c4cdd1f 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -768,3 +768,7 @@ define trace_machine_instructions
end
end
+define SDR
+ call rb_vmdebug_stack_dump_raw_current()
+end
+