mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
mips32: Add an extra case for mips32 in ML_(get_CFA) in witch Valgrind will call
compute_cfa to get the call frame address. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13890
This commit is contained in:
parent
00cbf4454f
commit
eb40633b9b
@ -2426,6 +2426,14 @@ Addr ML_(get_CFA) ( Addr ip, Addr sp, Addr fp,
|
||||
return compute_cfa(&uregs,
|
||||
min_accessible, max_accessible, di, cfsi);
|
||||
}
|
||||
#elif defined(VGA_mips32)
|
||||
{ D3UnwindRegs uregs;
|
||||
uregs.pc = ip;
|
||||
uregs.sp = sp;
|
||||
uregs.fp = fp;
|
||||
return compute_cfa(&uregs,
|
||||
min_accessible, max_accessible, di, cfsi);
|
||||
}
|
||||
|
||||
# else
|
||||
return 0; /* indicates failure */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user