Article View: gnu.gcc.help
Article #49579iris5 debuging info
From: Sebastian L. Brings
Date: Fri, 07 Jan 1994 21:33
Date: Fri, 07 Jan 1994 21:33
16 lines
1412 bytes
1412 bytes
I'm using the iris5 port on my box, so I don't have the benefits of debugging info with gcc-2.5.7 ( -g not supportet in this version). Now I looked how the native cc does it. It creates a .s file with the source lines in the form of # <line> <C-statement> In fact, it does it allways, regardeless of -g switch. The only difference I could examine is , that when -g is specified an aditional step after assembling is done - elf2elf -q file.o -. elf2elf is the dwarf debugging info pass. Is it possible for gcc to print the source lines in the form above into the .s file and then run elf2elf after assembling ? I'm not sure that the "# line statement" is the only thing cc does to create debugging info, but if so, it would be a cheap way for gcc to produce it too. Sebastian
Technical Details
Message-ID:
<940107212828_100112.657_BHJ21-1@CompuServe.COM>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!compuserve.COM!100112.657Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,d3de5795b223346e,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-01-07 14:15:36 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!compuserve.COM!100112.657 From: 100112.657@compuserve.COM (Sebastian L. Brings) Newsgroups: gnu.gcc.help Subject: iris5 debuging info Date: 7 Jan 1994 16:33:54 -0500 Organization: GNUs Not Usenet Lines: 18 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <940107212828_100112.657_BHJ21-1@CompuServe.COM>