Page 2 of 2

Re: Graphical Bochs Debugger Frontend

Posted: Thu Jul 16, 2009 1:56 pm
by Abunada
If by BFR you mean the bochs debugger interface, which I am assuming that you are (since this is the title of the thread) then I got mine working with Bochs version 2.4.1 by compiling it using the following command:

Code: Select all

./configure --enable-debugger --enable-disasm --enable-debugger-gui --disable-plugins -with-x11
make && sudo make install
Then adding the following line to the bochs rc file:

Code: Select all

display_library: x, option="gui_debug"
This uses the GTK frontend of the Bochs Debuggers, if this troubles you try using a different display library like wxWidgets for example. For that you need to change the option --with-x11 to the option --with-wx and changing the bochsrc file correspondingly as stated here. Try reverting back to previous versions if troubles continue. I think 2.4.0 will do but not before that, since its the first version with debugger GUI support (as far as I know).

I hope this helps.

Re: Graphical Bochs Debugger Frontend

Posted: Sat Jul 18, 2009 3:15 pm
by bewing
thomasnilsen wrote: I added the options="gui_debug" to the display line in bochs rc.. When i do that bochs seg-faults.. When i remove it everything is ok..

Im not sure what this is or how to find out really what went wrong. Anyone had success with bochs and the x + gui_debug ?
I'm the guy who wrote 95% of that frontend. On bochs, it is supposed to work for the win32, x, and sdl "display libraries" -- but you need a lot of GTK dependencies to make it work on x. It is possible to use it on bochs 2.3.5, but that requires lots of patching. However, there have been reports to me (in a previous version) of the thing failing to compile or run on some linuxes. It has been heavily tested on several other linuxes (running x) with no problems seen.

If you get a segfault the way you say, I'm going to guess that the problem is in your GTK+ lib. As I recall, there is a minimum GTK+ rev level required of 2.4.10.