mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* addr2line.c (parse_debug_line_cu): explicitly specify signed char
because DWARF's line_Base is signed char and char maybe unsigned. patched by Rei Odaira. [ruby-dev:48068] [Bug #9654] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d550d72249
commit
d2b1deda92
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Mon Mar 24 13:13:36 2014 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* addr2line.c (parse_debug_line_cu): explicitly specify signed char
|
||||
because DWARF's line_Base is signed char and char maybe unsigned.
|
||||
patched by Rei Odaira. [ruby-dev:48068] [Bug #9654]
|
||||
|
||||
Sun Mar 23 11:03:50 2014 Kohei Suzuki <eagletmt@gmail.com>
|
||||
|
||||
* vm_method.c (rb_method_entry_get_without_cache): me->klass is 0
|
||||
|
|
|
@ -294,7 +294,7 @@ parse_debug_line_cu(int num_traces, void **traces,
|
|||
is_stmt = default_is_stmt = *(unsigned char *)p;
|
||||
p++;
|
||||
|
||||
line_base = *(char *)p;
|
||||
line_base = *(signed char *)p;
|
||||
p++;
|
||||
|
||||
line_range = *(unsigned char *)p;
|
||||
|
|
Loading…
Reference in a new issue