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 /addr2line.c | |
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
Diffstat (limited to 'addr2line.c')
-rw-r--r-- | addr2line.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |