Hello everyone !
Each time I start Bochs with the debugger enabled, a breakpoint is triggered.
I start to get tired of always giving back focus to the terminal and then type c and return each time I test my code. Is there a way to disable this ?
Making bochs' debugger less annoying
Re: Making bochs' debugger less annoying
You have the sourcecode. Just modify it so that on initialization, it automatically does one "continue". Then rebuild.
Re: Making bochs' debugger less annoying
I do:Neolander wrote:Each time I start Bochs with the debugger enabled, a breakpoint is triggered.
I start to get tired of always giving back focus to the terminal and then type c and return each time I test my code. Is there a way to disable this ?
echo "c" | bochs -f .bocshrc.my
Re: Making bochs' debugger less annoying
Thanks for the tip, hadn't thought of that yet. Had to change it on Windows to echo c instead of echo "c" though.stlw wrote:I do:Neolander wrote:Each time I start Bochs with the debugger enabled, a breakpoint is triggered.
I start to get tired of always giving back focus to the terminal and then type c and return each time I test my code. Is there a way to disable this ?
echo "c" | bochs -f .bocshrc.my
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.
Re: Making bochs' debugger less annoying
It doesn't work : *all* breakpoints are automatically passed, and grub crashes. Just as if "c" was echoed again each time Bochs looks for input.stlw wrote:I do:Neolander wrote:Each time I start Bochs with the debugger enabled, a breakpoint is triggered.
I start to get tired of always giving back focus to the terminal and then type c and return each time I test my code. Is there a way to disable this ?
echo "c" | bochs -f .bocshrc.my
However, this works :
Code: Select all
echo c > comm_test
bochs -qf support/bochsrc.txt -rc comm_test
rm -f comm_test