Skip to content

Commit

Permalink
* .gdbinit (rp, iseq): load dummy_gdb_enums on demand.
Browse files Browse the repository at this point in the history
  [ruby-dev:38606]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Jun 15, 2009
1 parent 63bd8a7 commit b1f3890
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .gdbinit
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
define rp
if dummy_gdb_enums.special_consts
end
if (VALUE)($arg0) & RUBY_FIXNUM_FLAG
printf "FIXNUM: %ld\n", (long)($arg0) >> 1
else
Expand Down Expand Up @@ -627,6 +629,8 @@ define rb_backtrace
end

define iseq
if dummy_gdb_enums.special_consts
end
if ($arg0)->type == ISEQ_ELEMENT_NONE
echo [none]\n
end
Expand All @@ -648,6 +652,3 @@ define iseq
print *(ADJUST*)($arg0)
end
end

if dummy_gdb_enums.special_consts
end
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Mon Jun 15 11:04:30 2009 Nobuyoshi Nakada <[email protected]>

* .gdbinit (rp, iseq): load dummy_gdb_enums on demand.
[ruby-dev:38606]

Sun Jun 14 14:57:57 2009 Koichi Sasada <[email protected]>

* thread.c, vm_eval.c: add Thread.backtrace.
Expand Down
4 changes: 2 additions & 2 deletions version.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define RUBY_VERSION "1.9.2"
#define RUBY_RELEASE_DATE "2009-06-14"
#define RUBY_RELEASE_DATE "2009-06-15"
#define RUBY_PATCHLEVEL -1
#define RUBY_BRANCH_NAME "trunk"

Expand All @@ -8,7 +8,7 @@
#define RUBY_VERSION_TEENY 1
#define RUBY_RELEASE_YEAR 2009
#define RUBY_RELEASE_MONTH 6
#define RUBY_RELEASE_DAY 14
#define RUBY_RELEASE_DAY 15

#include "ruby/version.h"

Expand Down

0 comments on commit b1f3890

Please sign in to comment.