|
From: <sv...@va...> - 2014-10-04 21:08:50
|
Author: florian
Date: Sat Oct 4 22:08:42 2014
New Revision: 14598
Log:
The XArray element type of variable "described" is HChar not UChar.
Modified:
trunk/coregrind/m_debuginfo/debuginfo.c
Modified: trunk/coregrind/m_debuginfo/debuginfo.c
==============================================================================
--- trunk/coregrind/m_debuginfo/debuginfo.c (original)
+++ trunk/coregrind/m_debuginfo/debuginfo.c Sat Oct 4 22:08:42 2014
@@ -3074,7 +3074,7 @@
DiVariable* var,
PtrdiffT var_offset,
PtrdiffT residual_offset,
- XArray* /*UChar*/ described,
+ XArray* /*HChar*/ described,
Int frameNo,
ThreadId tid )
{
@@ -3102,7 +3102,7 @@
vg_assert(described);
vg_assert(var && var->name);
have_descr = VG_(sizeXA)(described) > 0
- && *(UChar*)VG_(indexXA)(described,0) != '\0';
+ && *(HChar*)VG_(indexXA)(described,0) != '\0';
have_srcloc = var->fndn_ix > 0 && var->lineNo > 0;
tagL[0] = tagR[0] = xagL[0] = xagR[0] = 0;
|