This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: How to get the ".file and filename" section in assembly file.


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.


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