Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1280 step all command fails in SMP mode

fixed_in_SVN
closed
nobody
Debugger (99)
5
2012-10-15
2011-12-17
laurent crignon
No

BOCHS 2.5 crashes when I type "s all 1" at the integrated debugger command prompt with more than one processor. It looks like a simple typo error in bx_dbg_stepN_command() routine:
...
bx_dbg_set_icount_guard(cpu, 1);
...
Replacing "cpu" with "ncpu" seems to fix the issue. The "s all 1" command works.

I have tested this fix in Windows 7 (64 bits). Bochs 2.5 was compiled with VS2008. Debugger and SMP were enabled. "cpu: count=2" in .bxrc file.

Discussion

  • Yes, bad typo. Fixed in SVN rev10833