diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-30 08:06:24 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-30 08:06:24 +0000 |
commit | 87703540b03e31d3d34a0645b2e03011471f4167 (patch) | |
tree | 944c64f308f55bcd1098d27ad7df4381388e5356 | |
parent | a926288bee10a49a8ce095a3997db075256d697e (diff) | |
download | ruby-87703540b03e31d3d34a0645b2e03011471f4167.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | addr2line.c | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -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> * vm_dump.c: undef HAVE_BACKTRACE when the OS is FreeBSD (in other diff --git a/addr2line.c b/addr2line.c index 443333f256..a562a831e9 100644 --- a/addr2line.c +++ b/addr2line.c @@ -346,6 +346,10 @@ parse_debug_line_cu(int num_traces, void **traces, fprintf(stderr, "Unsupported operation in %s\n", binary_filename); break; + case DW_LNE_set_discriminator: + /* TODO:currently ignore */ + uleb128(&p); + break; default: fprintf(stderr, "Unknown extended opcode: %d in %s\n", op, binary_filename); |