-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hw debug api: modify single stepping checks
On aarch32, single stepping is configured by setting an instruction breakpoint to mismatch mode. The way that it is checked whether a given breakpoint is being used as a normal breakpoint or for single-stepping is by checking if it has been configured to mismatch. This works because the HW debug API does not currently provide a way to otherwise configure mismatch breakpoints, but seems like an unsatisfactory solution. Whether single-stepping is enabled, and the breakpoint that is being used for it is already stored in the TCB of a thread, and this commit changes checks related to single-stepping to use this information instead. Signed-off-by: Alwin Joshy <[email protected]>
- Loading branch information
1 parent
28ffc62
commit b397473
Showing
3 changed files
with
7 additions
and
11 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