X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <47C50942.1040609@x-ray.at> Date: Wed, 27 Feb 2008 07:54:58 +0100 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.12) Gecko/20080201 SeaMonkey/1.1.8 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gdb, no line numbers after gcc -g ??? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hugh Sasse schrieb: > With gdb under cygwin I'm getting: > > Program received signal SIGSEGV, Segmentation fault. > 0x00405309 in image_doubles_read () > (gdb) where > #0 0x00405309 in image_doubles_read () > #1 0x004063c8 in doublesimage_read () > #2 0x004076fc in main () > (gdb) info locals > No symbol table info available. > > Now, the program was definitely compiled with -g, which has been > sufficient on other systems (Suns) to give me line numbers in the > past. According to what I can find with Google it should be > sufficient, and I can find little about this problem on cygwin with > my searching. Have I missed something obvious? I updated my cygwin > last week using the latest setup.exe, and the versions Looks like you have added -s (strip) to your gcc or -S to your ld. man ld: --strip-all, --strip-debug -- Reini -- 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/