summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gdbinit2
-rw-r--r--ChangeLog4
2 files changed, 5 insertions, 1 deletions
diff --git a/.gdbinit b/.gdbinit
index 61c18cd..2a38da8 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -269,7 +269,7 @@ define rp
else
if ($flags & RUBY_T_MASK) == RUBY_T_DATA
if ((struct RTypedData *)($arg0))->typed_flag == 1
- printf "T_DATA(typed): "
+ printf "T_DATA(%s): ", ((struct RTypedData *)($arg0))->type->wrap_struct_name
print (struct RTypedData *)($arg0)
else
printf "T_DATA: "
diff --git a/ChangeLog b/ChangeLog
index a979125..1538b39 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Jun 5 16:39:13 2010 Tanaka Akira <akr@fsij.org>
+
+ * .gdbinit (rp): show type name for RTypedData.
+
Sat Jun 5 15:59:08 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ruby.c (process_options, load_file_internal): $0 seen from