This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Extracting Debug (meta data) from executable images?
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 07 Dec 2005 13:18:17 -0800
- Subject: Re: Extracting Debug (meta data) from executable images?
- References: <23239280.1133989199317.JavaMail.SYSTEM@CCC-NOVA1>
- Reply-to: cygwin at cygwin dot com
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/