Another Alternate GUI for Bochs

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: Another Alternate GUI for Bochs

Post 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.
User avatar
TNick
Posts: 18
Joined: Fri May 09, 2008 7:50 am
Location: Brasov, Romania

Re: Another Alternate GUI for Bochs

Post 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. :lol:

Nick
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Re: Another Alternate GUI for Bochs

Post 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).
User avatar
TNick
Posts: 18
Joined: Fri May 09, 2008 7:50 am
Location: Brasov, Romania

Re: Another Alternate GUI for Bochs

Post 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. :mrgreen: 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. :oops:
Nick
Attachments

[The extension patch has been deactivated and can no longer be displayed.]

stlw
Member
Member
Posts: 357
Joined: Fri Apr 04, 2008 6:43 am
Contact:

Re: Another Alternate GUI for Bochs

Post 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. :mrgreen: 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. :oops:
Nick
bewing, could you take a look ?
I if the patch is fine - I would like to merge it.

Stanislav
WindowsNT
Member
Member
Posts: 77
Joined: Thu Jun 26, 2008 12:55 pm

Re: Another Alternate GUI for Bochs

Post 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.
Post Reply