This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Extracting Debug (meta data) from executable images?


Siegfried Heintze wrote:

> What is the relationship between cygwin, windows and these formats and
> libraries? Can I use these linux libraries to read debug information in
> images created with g++ on cygwin?
> 
> If not, how do I read the debug information in images created with g++ on
> cygwin?

The gcc / binutils / gdb distributed with Cygwin use stabs.  I believe
that patches to get dwarf2 working have been submitted, and in theory if
you build your own toolchain you should be able to do this.

But "extracting debug info" is way too vague of a term to offer any
meaningful help.  You'd have to state exactly what you're trying to do. 
Try "man objdump" or "objdump -g file", or read the binutils/bfd
internals manuals.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]