In Windows under the role of bochsdbg habits, under Ubuntu, found that bochs bag did not bochsdbg, to compile their own $ apt-getsourcebochs $ cdbochs-2.3.7 $. /configure -- enable-debugger -- enable-disasm -- prefix =/usr $ make $ sudocpbochs/usr/bin/
Bochsdbg in Windows is used to it. In Ubuntu, it is found that bochsdbg does not exist in the bochs package. You need to compile it by yourself.
$ Apt-get source bochs
$ Bochs-2.3.7 cd
$./Configure -- enable-debugger -- enable-disasm -- prefix =/usr
$ Make
$ Sudo cp bochs/usr/bin/bochsdbg
Compilation error Solution
Error 1: iso c ++ forbids declaration of 'hash _ map' with no type
Modify: add the hash_map namespace and modify bx_debug/symbols. cc.
# Include
Using namespace _ gnu_cxx;
Error 2: The yacc command is not found.
Modify: Install the yacc package
Sudo apt-get install bison ++