summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/debug.rb2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9cfe54e8208..d973e81689e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Nov 07 01:14:22 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
+
+ * lib/debug.rb: add help for 'pp' and 'r[estart]'. patch
+ from Sho Hashimoto. [Bug #5093] [ruby-dev:44222]
+
Sun Nov 6 14:49:58 2011 Tanaka Akira <akr@fsij.org>
* ext/socket/rubysocket.h (rsock_recvmsg): declared.
diff --git a/lib/debug.rb b/lib/debug.rb
index e99f69826a3..3f61bc79faf 100644
--- a/lib/debug.rb
+++ b/lib/debug.rb
@@ -545,7 +545,9 @@ Commands
th[read] [sw[itch]] <nnn> switch thread context to nnn
th[read] stop <nnn> stop thread nnn
th[read] resume <nnn> resume thread nnn
+ pp expression evaluate expression and pretty_print its value
p expression evaluate expression and print its value
+ r[estart] restart program
h[elp] print this help
<everything else> evaluate
EOHELP