mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
initUnwindContext: put back into the loop, some initialisations for
ARM which were originally in the loop but inadvertantly got lifted out during recent merging. This appears to make stack unwinding work again on ARM-Linux. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10988
This commit is contained in:
parent
9249a3eae7
commit
7db25d24a4
@ -2015,16 +2015,16 @@ static void initUnwindContext ( /*OUT*/UnwindContext* ctx )
|
||||
ctx->state[j].reg[i].tag = RR_Undef;
|
||||
/* ctx->state[j].reg[i].arg = 0; */
|
||||
}
|
||||
# if defined(VGA_arm)
|
||||
/* All callee-saved registers (or at least the ones we are
|
||||
summarising for) should start out as RR_Same, on ARM. */
|
||||
ctx->state[j].reg[11].tag = RR_Same;
|
||||
/* ctx->state[j].reg[13].tag = RR_Same; */
|
||||
ctx->state[j].reg[14].tag = RR_Same;
|
||||
ctx->state[j].reg[12].tag = RR_Same;
|
||||
/* this can't be right though: R12 (IP) isn't callee saved. */
|
||||
# endif
|
||||
}
|
||||
# if defined(VGA_arm)
|
||||
/* All callee-saved registers (or at least the ones we are
|
||||
summarising for) should start out as RR_Same, on ARM. */
|
||||
ctx->state[j].reg[11].tag = RR_Same;
|
||||
/* ctx->state[j].reg[13].tag = RR_Same; */
|
||||
ctx->state[j].reg[14].tag = RR_Same;
|
||||
ctx->state[j].reg[12].tag = RR_Same;
|
||||
/* this can't be right though: R12 (IP) isn't callee saved. */
|
||||
# endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user