This is an archive of the discontinued LLVM Phabricator instance.

Fix register read callback in linux-arm single stepping
ClosedPublic

Authored by tberghammer on Apr 22 2015, 3:16 AM.

Details

Summary

Fix register read callback in linux-arm single stepping

The previous read callback always read the value of the register what
caused problems when the emulator wrote some value into a register and
then expected to read the same value back. This CL add a register value
cache into the callbacks to return the correct value after a register
write also.

Diff Detail

Event Timeline

tberghammer retitled this revision from to Fix register read callback in linux-arm single stepping.
tberghammer updated this object.
tberghammer edited the test plan for this revision. (Show Details)
tberghammer added reviewers: clay.chang, omjavaid, sas.
tberghammer added a subscriber: Unknown Object (MLST).
tberghammer edited reviewers, added: clayborg; removed: clay.chang.Apr 22 2015, 11:05 AM

Fix register number kind

clayborg accepted this revision.Apr 24 2015, 9:14 AM
clayborg edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Apr 24 2015, 9:14 AM
labath closed this revision.Apr 27 2015, 2:32 AM

Tamas is on holiday, so I have committed this on his behalf.