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).
stlw
Member
Member
Posts: 357
Joined: Fri Apr 04, 2008 6:43 am
Contact:

Re: Another Alternate GUI for Bochs

Post by stlw »

Love4Boobies wrote:So what what got uploaded in the Bochs trunk? Who's maintaining it and what debugger does it use?
I merged the last debuggfer version published by bewing and waiting for news from him. It looks like he is busy by making X-windows version of the same debugger interface.
Anyway - if meanwhile ANYBODY has patches or bugfixes for debugger code which was integrated into Bochs - you are welcome to send them to me or submit into Bochs Sourceforge.net patches tracker or post into Bochs-Developers mailing list. I prefer to have bugs fixed for the case bewing disappear because of any problem ...

Stanislav
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: Another Alternate GUI for Bochs

Post by Love4Boobies »

So will you also keep the old Bochs debugger? Will Bochs come with 2 debuggers?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
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 »

What I called the Windows version 1.0 (which is still what's posted at the beginning of this thread) is what Stanislav integrated into bochs SO FAR. However, kmtdk found two bugs, and Stanislav found one more -- and kmtdk requested one feature that was reasonable enough for me to actually add. Also, I have been doing major editing and fixed a few of my own. I am creating a new version with all of it included.
Further:
As Stanislav said, I have been working on creating a "combined" version that is sort-of portable between Win32 and X (using GTK2+) -- all the OS-dependent code has been combed out into a second file. I am almost done (just 5 teeny issues left to fix -- it might be done today). That will be version 1.1 -- but all the Linux people around here need to do the testing on it that they have promised.

At this point, you could easily say that WindowsNT, Stanislav and I are all supporting the current version of the GUI frontend, but I am still the one that is creating the NEXT version.

And the answer is yes, the old internal debugger is eventually planned to become optional -- along with this GUI version, and any other that anyone comes up with.
WindowsNT
Member
Member
Posts: 77
Joined: Thu Jun 26, 2008 12:55 pm

Re: Another Alternate GUI for Bochs

Post by WindowsNT »

Hey guys. Sup? I 've been away for a long time.
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 »

WindowsNT wrote:Hey guys. Sup? I 've been away for a long time.
Heh. I noticed. :wink:
Your GUI, with my mods, has now been completely ported for Linux. It has nearly been ported to Mac. The interface between Bochs and the debugger has been standardized for all "vga drivers". And a new version of Bochs is due out at any moment, which completely incorporates the GUI debugger as the officially internal GUI debugger for Bochs. :)

I am now doing the same thing to Bochs as I did to your code -- a rather brutal rewrite of the entire code, looking to make it slicker and faster.
chenhy
Posts: 18
Joined: Sun Feb 08, 2009 8:02 pm

Re: Another Alternate GUI for Bochs

Post by chenhy »

Dear Windows NT, Hi, I am HY and my email address is [plain email address suppressed by Brendan].
May I cna get a copy of your source code to reference?
Thank you.
chenhy
Posts: 18
Joined: Sun Feb 08, 2009 8:02 pm

Re: Another Alternate GUI for Bochs

Post by chenhy »

I download bochs-2.3.7.win32msvc-src.zip and use Visual Studio 6.0+SP6 use V1.1.zip patch into the source
and got some errors

:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(144) : error C2664: 'DialogBoxParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__
*,unsigned int,unsigned int,long)'
None of the functions with this name in scope match the target type
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(113) : error C2601: 'A_DP' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(139) : error C2601: 'ShowAskDialog' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(153) : error C2601: 'ThisEditProc' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(190) : error C2601: 'BtnProc' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(221) : error C2601: 'LVProc' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(528) : error C2601: 'SpListView' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(541) : error C2601: 'SpBtn' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(555) : error C2601: 'InitMenus' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(613) : error C2601: 'InsertListRow' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(634) : error C2601: 'SetSizeIOS' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(720) : error C2601: 'MoveLists' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(786) : error C2601: 'VResizeLists' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(795) : error C2601: 'RedrawColumns' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(932) : error C2601: 'HideTree' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(938) : error C2601: 'ShowFW' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(945) : error C2601: 'Invalidate' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(950) : error C2601: 'SetStatusText' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(955) : error C2601: 'GetLIText' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(961) : error C2601: 'GetInputEntry' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(966) : error C2601: 'SetLIState' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(975) : error C2601: 'GetNextSelectedLI' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(982) : error C2601: 'GetASMTopIdx' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(988) : error C2601: 'ScrollASM' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(993) : error C2601: 'ToggleWSchecks' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1001) : error C2601: 'MakeListsGray' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1024) : error C2601: 'SetOutWinTxt' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1035) : error C2601: 'SelectHistory' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1043) : error C2601: 'ClearInputWindow' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1048) : error C2601: 'SetMenuCheckmark' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1059) : error C2601: 'MenuFromIdx' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1071) : error C2601: 'GrayMenuItem' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1082) : error C2601: 'StartListUpdate' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1091) : error C2601: 'EndListUpdate' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1098) : error C2601: 'DispMessage' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1104) : error C2601: 'ShowMemData' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1147) : error C2601: 'FillPTree' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1174) : error C2601: 'MakeTreeChild' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1184) : error C2601: 'DelWatchpoint' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1191) : error C2601: 'NewFont' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1224) : error C2601: 'B_WP' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg_os_specific.h(1755) : error C2601: 'OSInit' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(21) : error C2601: 'MakeXlatTables' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(45) : error C2601: 'DoMatch' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(100) : error C2601: 'VMatching' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(109) : error C2601: 'IsMatching' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(117) : error C2601: 'SetHorzLimits' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(139) : error C2601: 'DockResize' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(185) : error C2601: 'upr' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(202) : error C2601: 'ShowEflags' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(220) : error C2601: 'UpdateStatus' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(277) : error C2601: 'ReadBxLMem' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(304) : error C2601: 'isSSDisasm' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(329) : error C2601: 'ParseIDText' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(413) : error C2601: 'FillRegs' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(447) : error C2601: 'ParseBkpt' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(486) : error C2601: 'FillSSE' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(547) : error C2601: 'FillMMX' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(618) : error C2601: 'FillDebugRegs' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(654) : error C2601: 'FillAsm' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(745) : error C2601: 'LoadRegList' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(889) : error C2601: 'doAsmScroll' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(928) : error C2601: 'CanDoLA' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(947) : error C2601: 'InitRegObjects' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(1082) : error C2601: 'doUpdate' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(1115) : error C2601: 'FillGDT' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(1229) : error C2601: 'FillIDT' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(1326) : error C2601: 'AddPagingLine' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(1353) : error C2601: 'FillPAGE' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(1420) : error C2601: 'FillStack' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(1613) : error C2601: 'prtbrk' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(1629) : error C2601: 'FillBrkp' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(1761) : error C2601: 'MakeBL' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(1818) : error C2601: 'FillDataX' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(1844) : error C2601: 'ShowData' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(1919) : error C2601: 'MakeRDnames' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(1944) : error C2601: 'DoAllInit' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2008) : error C2601: 'RefreshDataWin' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2040) : error C2601: 'OnBreak' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2095) : error C2601: 'HexFromAsk' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2112) : error C2601: 'FindHex' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2132) : error C2601: 'AskText' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2142) : error C2601: 'InitDataDump' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2199) : error C2601: 'ToggleSeeReg' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2214) : error C2601: 'doNewWSize' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2236) : error C2601: 'ToggleGDT' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2256) : error C2601: 'ToggleIDT' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2276) : error C2601: 'TogglePAGE' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2292) : error C2601: 'ToggleStack' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2310) : error C2601: 'ToggleBrkpt' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2326) : error C2601: 'TogglePTree' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2343) : error C2601: 'doFind' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2400) : error C2601: 'doStepN' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2428) : error C2601: 'doDisAsm' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2464) : error C2601: 'SetBreak' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2525) : error C2601: 'SetWatchpoint' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2559) : error C2601: 'ChangeReg' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2599) : error C2601: 'SetMemLine' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2675) : error C2601: 'HotKey' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(2956) : error C2601: 'ActivateMenuItem' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(3264) : error C2601: 'InitDebugDialog' : local function definitions are illegal
D:\Bochs_develop\bochs-2.3.7.win32msvc-src-00d\bochs-2.3.7\gui\enh_dbg.h(3264) : fatal error C1003: error count exceeds 100; stopping compilation
Error executing cl.exe.

bochs.exe - 102 error(s), 110 warning(s)

I don't know why, but I will keep to findout whats is wrong whit this.
HY
chenhy
Posts: 18
Joined: Sun Feb 08, 2009 8:02 pm

Re: Another Alternate GUI for Bochs

Post by chenhy »

[01/10/2009]Hy
After comment one line in the gui\win32dialog.cpp
look like
>>>
case BX_SYNC_EVT_ASK_PARAM:
param = event->u.param.param;
if (param->get_type() == BXT_PARAM_STRING) {
sparam = (bx_param_string_c *)param;
opts = sparam->get_options()->get();
if (opts & sparam->IS_FILENAME) {
if (opts & sparam->SELECT_FOLDER_DLG) {
event->retcode = BrowseDir(sparam->get_label(), sparam->getptr());
} else if (param->get_parent() == NULL) {
event->retcode = AskFilename(GetBochsWindow(), (bx_param_filename_c *)sparam, "txt");
} else {
event->retcode = FloppyDialog((bx_param_filename_c *)sparam);
}
return event;
} else {
event->retcode = AskString(sparam);
return event;
}
} else if (param->get_type() == BXT_LIST) {
event->retcode = Cdrom1Dialog();
return event;
} else if (param->get_type() == BXT_PARAM_BOOL) {
UINT flag = MB_YESNO | MB_SETFOREGROUND;
if (((bx_param_bool_c *)param)->get() == 0) {
flag |= MB_DEFBUTTON2;
}
((bx_param_bool_c *)param)->set(MessageBox(GetActiveWindow(), param->get_description(), param->get_label(), flag) == IDYES);
event->retcode = 0;
return event;
}
case BX_ASYNC_EVT_REFRESH:
#if BX_DEBUGGER
//[HY]- RefreshDebugDialog();
//[HY]- return event;
#endif
case BX_SYNC_EVT_TICK: // called periodically by siminterface.
// fall into default case
default:
return (*old_callback)(old_callback_arg, event);
}
}

void win32_init_notify_callback()
{
SIM->get_notify_callback(&old_callback, &old_callback_arg);
assert (old_callback != NULL);
SIM->set_notify_callback(win32_notify_callback, NULL);
}

#endif // BX_USE_TEXTCONFIG && defined(WIN32)

<<<

Then I can built it successfully, thanks!
Hy
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Another Alternate GUI for Bochs

Post by Troy Martin »

Good lord...
tags on aisle five!
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
chenhy
Posts: 18
Joined: Sun Feb 08, 2009 8:02 pm

Re: Another Alternate GUI for Bochs

Post by chenhy »

[Test result]
1. Download Bochs CVS sources and follow your hints to built it the result is successfully.
But need to to:
a. Rename .cc files to .cpp
b. Manual added MSVC .dsp & .dsw & added the newly added .cpp files that different from Bochs v2.3.7 source.
c. Add 'display_library: win32, options="gui_debug" but not "display_library: win32, options="windebug"
in you bochsrc file.

2. Got the screensnapshot for you to reference, thank you.

Regards,
HY

Sorry, I don't know why I can't upload my file onto this forum?
So, anything need to know please feel free to email me to know.
My MSN is [email protected]
Please feel free to contact with me.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Another Alternate GUI for Bochs

Post by Combuster »

There comes the spam - and please do not discuss the same thing in two threads at once.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
stlw
Member
Member
Posts: 357
Joined: Fri Apr 04, 2008 6:43 am
Contact:

Re: Another Alternate GUI for Bochs

Post by stlw »

chenhy, if you want help with learning using the forum, open another topic and ask questions there.
if you want to help with Bochs development - bochs.sf.net has its own forums.
Write there what yu coul help and how.
But if you can't learn simple stuff of using a forum - I ask myself how do want to help ?

Stanislav
nathanjphillips
Posts: 3
Joined: Sat Feb 21, 2009 5:50 pm

Re: Another Alternate GUI for Bochs

Post by nathanjphillips »

Is there a binary copy of the latest Bochs that includes the debugger GUI anywhere? Or an idea of when the "imminent" release will be available on the Bochs site? The inability to step over calls in the text debugger has made me put great debugging capabilities into my Kernel, but I would still find it very useful!
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Another Alternate GUI for Bochs

Post by Combuster »

nathanjphillips wrote:The inability to step over calls in the text debugger

Code: Select all

lb (current EIP + 5)
c
Or am I missing something?
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
ru2aqare
Member
Member
Posts: 342
Joined: Fri Jul 11, 2008 5:15 am
Location: Hungary

Re: Another Alternate GUI for Bochs

Post by ru2aqare »

Combuster wrote:
nathanjphillips wrote:The inability to step over calls in the text debugger

Code: Select all

lb (current EIP + 5)
c
Or am I missing something?
Recent Bochs versions even have a 'n' command (as for 'next') which steps over instructions like call, int etc. Don't even need to insert a breakpoint (which is good, since sometimes I miscalculate the address of the breakpoint...)
Post Reply