mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-18 04:00:12 -08:00
eh_frame_unwind: correctly commit cfa_out - it is still unclear if we need this channel, since all we do right now is commit cfa to the sp. so presumably callers could just look at the parent's sp? but my understanding of this is not strong enough to know if that is 100% reliable, since my understanding is that the cfa is an abstract thing specifically because it may *not* be the sp. but not sure, need to look more into it later.
This commit is contained in:
1 parent
99f35bb342
commit
cc82127537
1 file changed
+4
@@ -687,6 +687,10 @@ eh_uwnd_step(Arch arch, MemoryMap *memory_map, UWND_ModuleInfo *module_info, U64
|
||||
//- rjf: commit new register values, if we succeeded
|
||||
if(!done)
|
||||
{
|
||||
if(cfa_out)
|
||||
{
|
||||
cfa_out[0] = cfa;
|
||||
}
|
||||
result.status = UWND_StepStatus_Good;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user