Page 8 of 8
Re: Another Alternate GUI for Bochs
Posted: Tue Mar 24, 2009 11:01 am
by bewing
You guys do not seem to understand that bochs does not debug just one program at a time. There is not just one sourcecode. Bochs debugs an entire operating system consisting of potentially thousands of programs all at once. The bootloader loads a kernel, which loads a scheduler, which loads a shell, which loads any other program that the user requests -- while reusing memory. There is no way to reliably map a textfile of sourcecode into the emulated linear or physical address space.
Now, bochs does have something called a "context" -- but even that is not an easy thing to use.
re: buttons -- it sounds to me like you got all of the mods now.
Re: Another Alternate GUI for Bochs
Posted: Tue Mar 24, 2009 1:38 pm
by TNick
No doubt about it. But, in initial stages of development (that's where I stand) it might be useful to test your functions having the source traced. Or in stage1 - stage 2. After these stages are left behind, each of us will probablly think about a kernel level debugger (or something like it). I'm not talking about a full OS. I'm thinking about my poor 1.44 floppy image, mostly filled with 0's.
Nick
Re: Another Alternate GUI for Bochs
Posted: Tue Mar 24, 2009 10:08 pm
by pcmattman
Still, I see there's no way to make GUI debugger aware of loaded symbols. Am I missing something? If not, is this "feature" planned anytime soon?
Try GDB - either in your own kernel (probably a bit advanced) or a stub in Bochs (similar to what QEMU does).
Re: Another Alternate GUI for Bochs
Posted: Wed Mar 25, 2009 2:44 pm
by TNick
Here is the patch. Sorry for the delay, I had an interesting meeting with win32.jeefo. In the end it end up leaving and I decided to let him take *.exe.
Nothing ireplaceble.... not even Windows
On top of all changest that I've posted there are a few more, so please use the patch.
@pcmattman: Thank you for this suggestion. Me and GDB... no, we're not good friends.
Nick
Re: Another Alternate GUI for Bochs
Posted: Fri Mar 27, 2009 6:10 am
by stlw
TNick wrote:Here is the patch. Sorry for the delay, I had an interesting meeting with win32.jeefo. In the end it end up leaving and I decided to let him take *.exe.
Nothing ireplaceble.... not even Windows
On top of all changest that I've posted there are a few more, so please use the patch.
@pcmattman: Thank you for this suggestion. Me and GDB... no, we're not good friends.
Nick
bewing, could you take a look ?
I if the patch is fine - I would like to merge it.
Stanislav
Re: Another Alternate GUI for Bochs
Posted: Mon Jun 20, 2011 2:47 pm
by WindowsNT
Long time guys.
I 've restarted an old project with Bochs and I really like the gui debugger the way it is now.
Thumbs up to Bruce and to everyone that contributed to what I originally created.