Hello,
I've got a quick question relating the Bochs internal debugger. I've just compiled Bochs myself, to get SDL support (and of course the internal debugger, since the standard binaries for Windows don't have the internal debugger). I was wondering if there is some sort of command-line or bochsrc way to pass a command to the debugger. For example, if Bochs starts my OS, I have to enter 'c' or 'continue' to make the OS actually start. Is there any way I can work around this so I don't have to enter it all the time (I debug my OS a lot ).
Thanks in advance,
Creature
Quick Question Relating Bochs Debugger
Quick Question Relating Bochs Debugger
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.
Re: Quick Question Relating Bochs Debugger
Hi,
Have a look -> here <- for information on execution control (including breakpoints ).
Cheers,
Adam
Have a look -> here <- for information on execution control (including breakpoints ).
Cheers,
Adam
Re: Quick Question Relating Bochs Debugger
Thank you very much .
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.
Re: Quick Question Relating Bochs Debugger
Huh. Why would you want to use SDL support under windows? It just slows down the rendering.
In my current rewrite of bochs, I was going to turn off every other "VGA window" driver except for the win32 driver, under windoze -- but if people can give me some good reasons why I shouldn't ....
(BTW, Stanislav should be updating bochs to a new version any day now, with the full GUI debugger on SDL, win32, and gtk.)
In my current rewrite of bochs, I was going to turn off every other "VGA window" driver except for the win32 driver, under windoze -- but if people can give me some good reasons why I shouldn't ....
(BTW, Stanislav should be updating bochs to a new version any day now, with the full GUI debugger on SDL, win32, and gtk.)
-
- Member
- Posts: 153
- Joined: Sun Jan 07, 2007 9:40 am
- Contact:
Re: Quick Question Relating Bochs Debugger
The Windows distro includes the debug interface in a different exe. I believe its BochsDbg.exe. Normally you can right click a .bxrc file and it will display a 'Debug' option for the file which will launch BochsDbg.exeCreature wrote:since the standard binaries for Windows don't have the internal debugger
-
- Member
- Posts: 524
- Joined: Sun Nov 09, 2008 2:55 am
- Location: Pennsylvania, USA
Re: Quick Question Relating Bochs Debugger
No x11?bewing wrote: (BTW, Stanislav should be updating bochs to a new version any day now, with the full GUI debugger on SDL, win32, and gtk.)
Re: Quick Question Relating Bochs Debugger
Yes, x11. And almost OSX, but the makefiles are really messed up.
Re: Quick Question Relating Bochs Debugger
Yes, it does slow things down, but I wanted to test some things in fullscreen mode. The SDL GUI isn't exactly the best thing around, but at least the cursor doesn't blink too fast anymore.bewing wrote:Huh. Why would you want to use SDL support under windows? It just slows down the rendering.
In my current rewrite of bochs, I was going to turn off every other "VGA window" driver except for the win32 driver, under windoze -- but if people can give me some good reasons why I shouldn't ....
(BTW, Stanislav should be updating bochs to a new version any day now, with the full GUI debugger on SDL, win32, and gtk.)
I'd use QEMU because it's much faster, but I hate the command line interface, I actually like the way Bochs handles the configuration through the bochsrc file. Besides that, Bochs and QEMU give me a very easy way to instantly debug my OS (VC++ -> F5 and bang, the entire OS compiles with minimal rebuild, links, updates the floppy and starts Bochs with the updated OS).
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.