svn commit: r199191 - stable/7/lib/libdwarf
Navdeep Parhar
np at FreeBSD.org
Wed Nov 11 19:00:12 UTC 2009
Author: np
Date: Wed Nov 11 19:00:12 2009
New Revision: 199191
URL: http://svn.freebsd.org/changeset/base/199191
Log:
MFC r195747
Modified:
stable/7/lib/libdwarf/dwarf_loc.c
Directory Properties:
stable/7/lib/libdwarf/ (props changed)
Modified: stable/7/lib/libdwarf/dwarf_loc.c
==============================================================================
--- stable/7/lib/libdwarf/dwarf_loc.c Wed Nov 11 18:28:12 2009 (r199190)
+++ stable/7/lib/libdwarf/dwarf_loc.c Wed Nov 11 19:00:12 2009 (r199191)
@@ -236,7 +236,7 @@ dwarf_op_num(uint8_t pointer_size, uint8
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, uint
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. */
More information about the svn-src-stable-7
mailing list