-
Notifications
You must be signed in to change notification settings - Fork 588
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support
QSaveRegisterState
and QRestoreRegisterState
packets
LLDB uses these to save and restore register states around debuggee function calls. Use these as cues to start/stop diversions. We're making some assumptions here about how these are used. We start a diversion at the first `QSaveRegisterState` and end the diversion when that saved state is restored. This restores not only the registers on the target thread but all tracee memory and registers on all threads. During a diversion, register states can be saved and restored in any order, but restoring a register state after the diversion has ended won't work.
- Loading branch information
1 parent
24495b7
commit 662a7f0
Showing
4 changed files
with
144 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters