Re: Wrong file name entry in .debug_info section

2018-08-03 Thread Rainer Orth
Hi Kamlesh, > temporarly removing compiler option -P do solve the problem Here. > But ,do you think this is the permanent solution of this bug? > > If you see here hello.s , compiler puts .file "hello.s". > why this info is not being used. > > If we make compiler use this info than problem will b

Re: Wrong file name entry in .debug_info section

2018-08-02 Thread kamlesh kumar
Hi Rainer, temporarly removing compiler option -P do solve the problem Here. But ,do you think this is the permanent solution of this bug? If you see here hello.s , compiler puts* .file "hello.s".* why this info is not bein

Re: Wrong file name entry in .debug_info section

2018-08-02 Thread Rainer Orth
Hi Kamlesh, > gcc is putting wrong enrty inside .debug_info section into attribute > DW_AT_name if -xassembler-with-cpp option is used with debugging enabled. > > Considering following example > hello.s > > > when below comm

Wrong file name entry in .debug_info section

2018-08-02 Thread kamlesh kumar
Hi devs, gcc is putting wrong enrty inside .debug_info section into attribute DW_AT_name if -xassembler-with-cpp option is used with debugging enabled. Considering following example hello.s when below command is issued: gc