This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to get the ".file and filename" section in assembly file.
- From: Andrew Haley <aph at redhat dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 02 Feb 2010 10:04:08 +0000
- Subject: Re: How to get the ".file and filename" section in assembly file.
- References: <27417944.post@talk.nabble.com>
On 02/02/2010 10:01 AM, Prashant Purohit wrote:
>
> I am porting GCC to a new dummy architecture and I am successful to
> get the required assembly file from cc1 but that assembly file does not
> contain the ".file" section and filename as it was there in all other GCC
> ported targets.
>
> Please, tell me if there is any function or macro to do this as I
> was not able to find it in GCC Internals.
If I wanted to know that, I'd just use gdb to step through until the ".file"
was emitted. Why don't you do that?
Andrew.