diff options
| author | Navdeep Parhar <np@FreeBSD.org> | 2009-07-17 21:15:09 +0000 |
|---|---|---|
| committer | Navdeep Parhar <np@FreeBSD.org> | 2009-07-17 21:15:09 +0000 |
| commit | d82ccc60d9c4f050765a6083273eab26780f6b43 (patch) | |
| tree | ac3a8bf63d1f896ed13172c90fdc479c3c3b0b4f /lib/libdwarf | |
| parent | 412c439591d1d6cf906266d372b30d07a9325a00 (diff) | |
Notes
Diffstat (limited to 'lib/libdwarf')
| -rw-r--r-- | lib/libdwarf/dwarf_loc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libdwarf/dwarf_loc.c b/lib/libdwarf/dwarf_loc.c index 6012142678e8..6449706c2cc5 100644 --- a/lib/libdwarf/dwarf_loc.c +++ b/lib/libdwarf/dwarf_loc.c @@ -236,7 +236,7 @@ dwarf_op_num(uint8_t pointer_size, uint8_t *p, int len) case DW_OP_plus_uconst: case DW_OP_regx: case DW_OP_piece: - uval = dwarf_decode_sleb128(&p); + uval = dwarf_decode_uleb128(&p); break; /* Operations with a signed LEB128 operand. */ @@ -458,7 +458,7 @@ dwarf_loc_fill(Dwarf_Locdesc *lbuf, uint8_t pointer_size, uint8_t *p, int len) case DW_OP_plus_uconst: case DW_OP_regx: case DW_OP_piece: - operand1 = dwarf_decode_sleb128(&p); + operand1 = dwarf_decode_uleb128(&p); break; /* Operations with a signed LEB128 operand. */ |
