April 03, 2004
>
>So do you know much about the CodeView format and how it differs from the COFF format? That's vague I know.
>
>I'm just been trying to get my head around the format for this debugger me and Charles are writing and wonder if your a good resource for this subject.

you may want look for stuff created by Al Stevens (former Dr. Dobbs columnist) he had many discussions about this in his column because he had to create a Windows debugger for GCC C++.

http://sources.redhat.com/ml/gdb-patches/2002-09/msg00445.html http://www.alstevens.com/quincy.html


April 03, 2004
Ilya Minkov wrote:

> And steering of GDB can be fairly easily embedded into IDEs. This will also shift the situation of GDC being the
> new playground for language features.

I can't get GDB to work with D in windows, I get
"not in executable format: File format not recognized"
I think GDB doesn't understand codeview.

CDB (comes with windbg) is another dos debugger but I can't understand how to use that.

> -eye

-- 
-Anderson: http://badmama.com.au/~anderson/
April 03, 2004
J Anderson schrieb:
> Ilya Minkov wrote:

> I can't get GDB to work with D in windows, I get
> "not in executable format: File format not recognized"
> I think GDB doesn't understand codeview.

No, it doesn't work with DMD or DigitalMars executables. I meant using
it with GDC. GCC uses its own debugging information format under
Windows, i think it is stabs? The documentation is too vague and says nothing specific on the subject, as far as i can remember.

Ah, this page here gives more clues:

http://developer.apple.com/documentation/DeveloperTools/gdb/gdbint/gdbint_6.html#SEC40

> CDB (comes with windbg) is another dos debugger but I can't understand how to use that.

You probably mean command line debugger? Wonderful, i didn't know it exists. ;) It apparently diverges from common conventions of JDB and GDB.

http://www.codeproject.com/debug/windbg_part1.asp

Here you can find a table with commands. This page also states that the
table has been taken from a help file which is distributed with windbg. :>

-eye
April 05, 2004
"J Anderson" <REMOVEanderson@badmama.com.au> wrote in message news:c4kkr7$2der$1@digitaldaemon.com...
> So do you know much about the CodeView format and how it differs from the COFF format? That's vague I know.

The debug info format is distinct from the object file format. Codeview (CV) format can be embedded in both OMF and COFF files. Neither OMF nor COFF specify any debug format other than how line numbers correspond to source files.

What I'd do first is google and download specs for Codeview, ELF, Dwarf, and Portable Executable (PE) file formats. The debugger need not be concerned with OMF nor COFF, since the debugger does not deal with object files.


April 07, 2004
Walter wrote:

>
>The debug info format is distinct from the object file format. Codeview (CV)
>format can be embedded in both OMF and COFF files. Neither OMF nor COFF
>specify any debug format other than how line numbers correspond to source
>files.
>
>What I'd do first is google and download specs for Codeview, ELF, Dwarf, and
>Portable Executable (PE) file formats. The debugger need not be concerned
>with OMF nor COFF, since the debugger does not deal with object files.
>  
>
I'm probably wrong, but unfortunately the Codeview specs don't appear to be online.  There have been a few other frustrated people in other newsgroups who say the same thing.

However there appears to be heaps of info about PE.

-- 
-Anderson: http://badmama.com.au/~anderson/
April 13, 2004
"J Anderson" <REMOVEanderson@badmama.com.au> wrote in message news:c50o7h$2kbv$1@digitaldaemon.com...
> Walter wrote:
> >The debug info format is distinct from the object file format. Codeview
(CV)
> >format can be embedded in both OMF and COFF files. Neither OMF nor COFF specify any debug format other than how line numbers correspond to source files.
> >
> >What I'd do first is google and download specs for Codeview, ELF, Dwarf,
and
> >Portable Executable (PE) file formats. The debugger need not be concerned with OMF nor COFF, since the debugger does not deal with object files.
> >
> >
> I'm probably wrong, but unfortunately the Codeview specs don't appear to be online.  There have been a few other frustrated people in other newsgroups who say the same thing.

Microsoft used to make it available as part of their "Open Tools" program. I suggest contacting MS and seeing if they'll release a spec to you.


1 2
Next ›   Last »