-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Please re-generate configure script before use :) Allow to have debugger and non-debugger version in same binary. Just compile Bochs with --enable-debugger and specify -debugger option in command line - and it run Bochs internal debugger. If -debugger not supplied it will run normal optimized build. This is first draft of the idea provided for initial testing. When -debugger is not supplied emulation speed is affected ~1% which I think if very reasonable taking into account extra capability. When -debugger is supplied the emulation speed is affected severely as before. There are potential ways how to make debugger cost cheaper (not addressed here yet): - data watchpoints could be implemented in cheap way so they won't cost any emulation performance if not used (meaning there are no active watchpoints set). - similarly code breakpoints could be optimized using the same mechanisms Also: - it would be nice to have GUI debugger button which will switch into debugger even if started as 'optimized' and if already done it would be nice to do 'optimized continue' which will switch to fast mode until some even drops you into the debugger back. Also code is just hacky for now, will be improving the logic while doing more testing. Especially need to test without handlers chaining compiled and when SMP is enabled. For now I need as much feedback as possible. What to improve ? Bugs ? How to make it more user friendly ? --------- Co-authored-by: Stanislav Shwartsman <[email protected]> Co-authored-by: Stanislav Shwartsman <[email protected]>
- Loading branch information
1 parent
05954ee
commit 119af93
Showing
32 changed files
with
364 additions
and
324 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 was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.