This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: gdb and executables of MSVC++50
- To: gnu-win32 at cygnus dot com
- Subject: Re: gdb and executables of MSVC++50
- From: Stan Shebs <shebs at cygnus dot com>
- Date: 28 Jan 1998 11:22:41 -0800
- Newsgroups: cygnus.gnu-win32
- Organization: Cygnus Solutions
- References: <34CF5098.F0FB5980.cygnus.gnu-win32@krones.de>
- Stamped: newsgate-cygnus
lwerzinger@krones.de (Lothar Werzinger) writes:
> Is it possible to debug executables which were produced by the MSVC++
> (DevStudio 97 Service Pack 2) compiler with gdb? As far as I know, gdb
> supports COFF. but when I load the executable, gdb complains about
> finding no debug information.
This is a known problem. Some versions of Microsoft compilers are
supposedly capable of generating standard COFF debugging when you
give them a flag /Z or /Zi or some such, but I've never observed
this myself personally.
> As far as I found out gdb is capable of loading and executing the
> binary. The only thing I would need, is a converter that makes a gdb
> symbol file out of the *.pdb files of the MSVC++ compiler. Has anybody
> written such a program or is doing so? Besides the fact that the .pdb
> files are MS and binary, it should be just a question of demangling the
> MS names and remangle them in a way gdb understands them or?
Mangling algorithms are generally very compiler-specific. GDB could
in theory be taught to understand pdb files, and there is at least some
debug info documentation on MS' CDs, but it would be a major project,
even for a GDB expert.
Stan Shebs
Cygnus Solutions
shebs@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".