1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* addr2line.c (parse_debug_line_cu): ignore DW_LNE_set_discriminator.

To ignore, it needs to read a sigle unsigned LEB128 integer.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2010-11-30 08:06:24 +00:00
parent a926288bee
commit 87703540b0
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Tue Nov 30 17:04:10 2010 NARUSE, Yui <naruse@ruby-lang.org>
* addr2line.c (parse_debug_line_cu): ignore DW_LNE_set_discriminator.
To ignore, it needs to read a sigle unsigned LEB128 integer.
Tue Nov 30 16:29:19 2010 NARUSE, Yui <naruse@ruby-lang.org> Tue Nov 30 16:29:19 2010 NARUSE, Yui <naruse@ruby-lang.org>
* vm_dump.c: undef HAVE_BACKTRACE when the OS is FreeBSD (in other * vm_dump.c: undef HAVE_BACKTRACE when the OS is FreeBSD (in other

View file

@ -346,6 +346,10 @@ parse_debug_line_cu(int num_traces, void **traces,
fprintf(stderr, "Unsupported operation in %s\n", fprintf(stderr, "Unsupported operation in %s\n",
binary_filename); binary_filename);
break; break;
case DW_LNE_set_discriminator:
/* TODO:currently ignore */
uleb128(&p);
break;
default: default:
fprintf(stderr, "Unknown extended opcode: %d in %s\n", fprintf(stderr, "Unknown extended opcode: %d in %s\n",
op, binary_filename); op, binary_filename);