DDD-like debugger for WinNT4
Kai Ruottu
karuottu@freenet.hut.fi
Fri Oct 1 00:00:00 GMT 1999
On 11 Sep 1999 22:47:19 GMT, khan@xraylith.wisc.edu (Mumit Khan)
wrote:
>In article < 37dace9e.7825234@news.sirinet.net >,
>marc mandel <mmandel@mail.sirinet.net> wrote:
>>I am looking for a debugger with a graphical interface (ala DDD and
>>gdb) for win32 (NT4WS) that will work with mingw32 and does not
>>require cygwin32.
>
>Insight, which is the latest GUI-fied incarnation of gdb, is a very
>nice piece of work, and works with any win32 executable created by
>GCC on x86-win32 (ie., you can debug Cygwin, Mingw, UWIN etc execs
>with insight).
>
>See http://sourceware.cygnus.com/insight/ for more info on the
>debugger (site has screen dumps I believe).
>
>The current build (URL below) needs Cygwin DLL to run. I have neither
>the time nor the inclination at this time to build a native version
>that does not require cygwin (it's going to take quite a bit of
>configuration twiddling and some code changes to get everything
>working under Mingw; contribution/fixes welcome of course).
I tried this with the Insight-snapshots sources, but saw it better to
copy the tcl/tk-8.04, tix4.1, itcl-3.0 and libgui parts to gdb-4.18
sources and try it there. The current 'gdb/...' parts are more and
more tied to Cygwin as the Win32-host. Ok, fixing the 'Unix-select()'
operations for the 'Win32-select()' in MS-libs etc., would get the
GDB-parts work again, but trying the gdb-4.18 first seemed more easy
at first...
Another reason to use gdb-4.18 is that some targets simply don't work
with the Insight-GDB-snapshot parts. So I have my 'Insight's for the
m68k-coff and m68k-elf targets as gdb-4.18-based...
The 'wish' etc. sample apps seem to work under mingw32 with the new
tcltk-8.04 DLLs, but the Insight itself just stops without any error
messages after opening the console window... Still quite a lot debug
work to do, all the serial, tcp/ip-handling etc. not even mentioned
yet...
>If you insist on not using Cygwin DLL, then this obviously doesn't help
>you much.
The motive for using mingw32 is that also Win3.1/Win32s has only the
MS-DLLs... Building some GDBs with the older 'gdbtk'-GUI's for
Win3.1/Win32s host was quite easy (after building my own libs for
mingw32/Win32s). The tcl/tk-8.0pl2 DLLs seemed also to be the only
working ones for Win32 with mingw32. And the pre-built (with Borland
C++ 4.52) tcl/tk-DLLs for Win3.1/Win32s seemed to be the right ones...
Yet another GUI could be the Cygnus 'WinGDB'-one, available only for
Windows, but it seems to be tied to Visual-C++ and 'nmake'... Lately
many magazines (UK, Swedish,...), books etc. have included the Borland
C++ Builder 1 & 3 with the Borland C++ 5.2 or Borland C++ 5.3 for
Win32, with MFC-classes etc. So a port of WinGDB for the 'almost free'
BCC could be possible and hoped (anyone interested?). And no more
head-scratching with the tcl/tk-stuff... Unfortunately mingw32 doesn't
have now the MFC stuff...
The 'mswin' subdir with the 'WinGDB' sources is included with the
Cygnus source releases like the eCos-1.2 devtools sources... Perhaps
the development with it has been stopped at Cygnus, but anybody is
free to continue...
Cheers, Kai
More information about the Gcc-help
mailing list