X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 26 Feb 2008 14:15:28 +0000 (WET) From: Hugh Sasse <hgs AT dmu DOT ac DOT uk> To: cygwin AT cygwin DOT com Subject: Re: gdb, no line numbers after gcc -g ??? In-Reply-To: <47C41CB6.1B6B8E05@dessent.net> Message-ID: <Pine.GSO.4.64.0802261411120.23279@brains.eng.cse.dmu.ac.uk> References: <Pine DOT GSO DOT 4 DOT 64 DOT 0802261259480 DOT 22280 AT brains DOT eng DOT cse DOT dmu DOT ac DOT uk> <47C41CB6 DOT 1B6B8E05 AT dessent DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: <cygwin.cygwin.com> List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, 26 Feb 2008, Brian Dessent wrote: > Hugh Sasse wrote: > > > Is there anything else I need to do in order to get line numbers > > reported correctly? What other information would be good to provide? > > -g should work fine. Try compiling and debugging a simple testcase, and > paste the entire transcript of all commands and output. OK, it works for a hello world, it says the symbols are loaded. Therefore, as was most likely, I've munged something. How do I interrogate object files to see which is/are missing the symbol data (if that's what would throw everything else off the scent)? 14:11:51$ file *.o area.o: MS Windows COFF Intel 80386 object file doublesimage.o: MS Windows COFF Intel 80386 object file ellipse.o: MS Windows COFF Intel 80386 object file fft_2d_filter.o: MS Windows COFF Intel 80386 object file fsv.o: MS Windows COFF Intel 80386 object file fsv_common.o: MS Windows COFF Intel 80386 object file image.o: MS Windows COFF Intel 80386 object file lex.yy.o: MS Windows COFF Intel 80386 object file merge_sort.o: MS Windows COFF Intel 80386 object file pngimage.o: MS Windows COFF Intel 80386 object file rawimage.o: MS Windows COFF Intel 80386 object file y.tab.o: MS Windows COFF Intel 80386 object file Not much detail in there.... Thank you, and for the quick reply :-) > > Brian > Hugh -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/