valgrind/valgrind-3.7.0-addToXA.patch
Jakub Jelinek b750ff5fd7 3.7.0-3
2012-05-07 16:02:03 +02:00

12 lines
514 B
Diff

--- valgrind-3.7.0/coregrind/m_debuginfo/readdwarf3.c (revision 12489)
+++ valgrind-3.7.0/coregrind/m_debuginfo/readdwarf3.c (revision 12490)
@@ -2661,7 +2661,7 @@ static void parse_type_DIE ( /*MOD*/XArr
boundE.cuOff = posn;
vg_assert(parser->qparentE[parser->sp].Te.TyArray.boundRs);
VG_(addToXA)( parser->qparentE[parser->sp].Te.TyArray.boundRs,
- &boundE );
+ &boundE.cuOff );
/* And record the child itself */
goto acquire_Bound;
}