Condition continue debugger command
"Stanislav Shwartsman" <[email protected]> Sat, 3 Jun 2017 22:17:36 +0300
| Newsgroups | gmane.comp.emulators.bochs.devel |
|---|---|
| Message-ID | <[email protected]> |
I just merged new experimental feature you might be find interesting. The feature is ‘conditional continue’ and the syntax is: Ø Continue if <expression> The continue will happen ONLY when expression is evaluated as TRUE. For this reason new operators >, <, >=, <=, ==, != were added to the expression evaluation. So now you could set a breakpoint in the beginning of function and write rc script which looks like: - Set breakpoint - c ; reach bp - c if rax < 10 ; actually it turns bp to conditional - c if rax < 10 ; actually it turns bp to conditional - c if rax < 10 ; actually it turns bp to conditional - c if rax < 10 ; actually it turns bp to conditional - c if rax < 10 ; actually it turns bp to conditional - c if rax < 10 ; actually it turns bp to conditional - c if rax < 10 ; actually it turns bp to conditional - c if rax < 10 ; actually it turns bp to conditional - … how many false steps are expected ? At the end you stopped on right break point! Collection comments about the extension and ways to improve it, probably apply to other Bochs commands Thanks, Stanislav From: Doug Gale [mailto:[email protected]] Sent: Monday, 16 January 2017 0:57 To: [email protected] Subject: [Bochs-developers] Debugger improvements I have made several improvements in the debugger. I have fixed several issues with proper handling of 64-bit addresses, and added support for 64 bit symbols. I have added several symbol lookups and rewritten info tab to walk PAE tables. I would like these improvements to be merged into the project. How should I proceed? You can browse my changes by looking at the commits at my github, at https://github.com/doug65536/bochs/commits/fix_64bit_symbols Thanks ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ bochs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bochs-developers