delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/16/04:37:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: Brian Ford <ford AT vss DOT fsi DOT com>
Cc: cygwin AT cygwin DOT com, <binutils AT sources DOT redhat DOT com>, <dave AT beermex DOT com>,
<cgf AT redhat DOT com>
Subject: Re: Support for DDWARF-2 debug info? (on Cygwin)
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0301141037200 DOT 12926-100000 AT eos>
From: Nick Clifton <nickc AT redhat DOT com>
Date: 16 Jan 2003 09:36:09 +0000
In-Reply-To: <Pine.GSO.4.44.0301141037200.12926-100000@eos>
Message-ID: <m31y3dqvw5.fsf@north-pole.nickc.cambridge.redhat.com>
Lines: 18
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1
MIME-Version: 1.0

Hi Brian,

> The coff versions of sec_to_styp_flags and styp_to_sec_flag in bfd
> look to see if the section name begins with .debug and modify the
> section flags appropriately.  The PE versions do not even look at
> the section name.

Ahh, yes, you are right.  I guess that no-one has tried to
incporporate DWARF2 sections into the PE format before.  I guess that,
for now you are going to have to add similar name-checking code to the
PE versions.

Ideally what we ought to do is give gcc some way to tell gas that
"this section is a debug section" and then gas could do the right
thing.  Perhaps a new pseudo op ".debug_section <name>" ?

Cheers
        Nick


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019