|
From: Julian S. <js...@ac...> - 2005-05-04 14:12:27
|
On Wednesday 04 May 2005 14:58, Benoit Peccatte wrote:
> I'm trying to adapt my tool to valgrind 3.0
> The problem I'm getting on a simple test file is that I get many
> "Unhandled CFI instruction 0:9" 9 is for DW_CFA_register in the dwarf
> reader.
I think I fixed that the other day. Can you svn up and
try again?
J
case DW_CFA_register:
reg = read_leb128( &instr[i], &nleb, 0);
i += nleb;
reg2 = read_leb128( &instr[i], &nleb, 0);
i += nleb;
if (reg < 0 || reg >= N_CFI_REGS)
return 0; /* fail */
if (reg2 < 0 || reg2 >= N_CFI_REGS)
return 0; /* fail */
ctx->reg[reg].tag = RR_Reg;
ctx->reg[reg].reg = reg2;
break;
|