From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Seitz To: Serge Nikulin Cc: insight@sourceware.cygnus.com Subject: Re: How to embed path info into assembler sources? Date: Fri, 14 Jul 2000 06:01:00 -0000 Message-id: <396F0F32.5D544163@firetalk.com> References: <009301bfecef$ca393970$35758798@mis.amat.com> <396E02D0.AAC4D516@mvista.com> <002a01bfecf6$674d6aa0$35758798@mis.amat.com> <396E156C.A427B893@mvista.com> <001301bfed12$62bcd540$35758798@mis.amat.com> X-SW-Source: 2000-q3/msg00068.html Serge Nikulin wrote: > > So the problem is with GAS. > GAS does not incorporate path info into objects. > In comparison, gcc incorporates path info into intermediate *.s sources. > But it does it in native GAS format (.stabs). Apparently GAS in MRI mode > does not understand these stabs. > > The question is how to incorporate pathinfo into the object file or into the > final abs file. One suggestion: use objdump to verify that the path info is not included (or tell gdb to dump the symbol table, see "maint print symbols") and verify that the pathnames are not there. If they're not (and there is debug info), try assembling a file without "--mri" and repeating. If it's still not, I suggest you ask someone on the binutils list (CC gdb@sourceware.cygnus.com) and include all of the above info. Sorry, I haven't done any assembler-specific work yet. :-( Keith