Re: How to disable the bochs debugger

Volker Ruppert <[email protected]> Thu, 28 Apr 2016 19:19:13 +0200
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <[email protected]>
Hi!

> whenever I call bochs (version 2.6, which is included in Debian/Jessie), I get a window with the
> virtual pc (but the simulation does not start) and a debugger command line (or a debugger window
> with the wx gui). The simulation starts, when I enter "continue". This is annoying. With bochs
> version 2.4.6 (included in Debian/Wheezy) the simulation starts immediately.
>
> How can I disable the debugger at the start of bochs? Is there an option to do this?

This is a little tricky, since the -q command line option only skips the 
config interface (textconfig or gui menus), but it does not force the 
debugger to execute the "continue" command. You can use the debugger 
capability to process a text file with a list of commands before showing 
the prompt (or waiting for a gui button).

Create a text file containing the character 'c' and a newline. Then 
start bochs at the command line with the "q" and "rc" option like this:

bochs -q -rc debug.rc

Of course you can give the file a different name, the extension "rc" is 
not mandatory. Bochs with debugger runs slower than without it, so it 
would be better to use a binary without this facility.

--
Thanks,
Volker


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z