Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 2009 19:00:12 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r199191 - stable/7/lib/libdwarf
Message-ID:  <200911111900.nABJ0CEq003913@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911111900.nABJ0CEq003913>