Help to make Bochs GUI debugger working with MSDEV

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
stlw
Member
Member
Posts: 357
Joined: Fri Apr 04, 2008 6:43 am
Contact:

Help to make Bochs GUI debugger working with MSDEV

Post by stlw »

Hello everybody,

We are right about to release new Bochs version with Bochs debugger GUI integrated. It looks like working fine if compiled by gcc (linux or cygwin) but when compiled under MSDEV it crash on almost any debugger button or command.
Also it won't compile and work if uncommenting #define IS_WIN98 in win32_enh_dbg_osdep.cc.

Somebody could help ?
Step to reproduce:

1. Download Bochs CVS.
2. Configure using .conf.win32-vcpp witha adding --enable-debugger and --enable-debugger-gui options
3. Build using MSDEV with single nmake command from Bochs sources root folder.
(I use MSdev express edition from http://www.microsoft.com/express/vc)

Stanislav
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: Help to make Bochs GUI debugger working with MSDEV

Post by bewing »

Well, you could just revert to the working code I sent you 3 months ago.

It'll be a while before I can load the current version of bochs into MSVC and find out what's wrong.
stlw
Member
Member
Posts: 357
Joined: Fri Apr 04, 2008 6:43 am
Contact:

Re: Help to make Bochs GUI debugger working with MSDEV

Post by stlw »

bewing wrote:Well, you could just revert to the working code I sent you 3 months ago.

It'll be a while before I can load the current version of bochs into MSVC and find out what's wrong.
3 months ago code didn't work with Visual C++ 2008 as well - same symptoms, checked recently !
Moreover because of some typos (missed '(' and etc) et even won't compile.
On Visual C+ 2008 the LVIF_GROUPID is defined and therefore IS_WIN98 turned out to be undefined.

Code: Select all

#ifndef LVIF_GROUPID
#define IS_WIN98
// this define may not exist in some compilers
#define LVIF_GROUPID    0
#endif
As result bunch of the code which was #ifndef'ed IS_WIN98 will try to compile and fail on compilation errors.
Also it still won't work when compiled native into 64-bit code.

But were are lucky - Ben Lunt found the issue with LVIF_GROUPID and fixed the problem.
Still not in 64-bit native though ...

Stanislav
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: Help to make Bochs GUI debugger working with MSDEV

Post by bewing »

Well, it looks to me like you never updated the win32_enh_dbg.rc in bochs with the one I sent you in January. That's what having the wrong .rc file will do.
stlw
Member
Member
Posts: 357
Joined: Fri Apr 04, 2008 6:43 am
Contact:

Re: Help to make Bochs GUI debugger working with MSDEV

Post by stlw »

bewing wrote:Well, it looks to me like you never updated the win32_enh_dbg.rc in bochs with the one I sent you in January. That's what having the wrong .rc file will do.
Actually I did. But I will not surpried if I missed the .rc file - I never touched it myself just overwrote with new copy I got from you.
Could you look onto Bochs CVS and tell if the .rc file is up-to-date according to your expectations ?
Also if you have some updates to the rest debugger frontend code - could you share them ?

Thanks,
Stanislav
Post Reply