www.delorie.com/archives/browse.cgi | search |
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 <rurban AT x-ray DOT at> |
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: | <Pine DOT GSO DOT 4 DOT 64 DOT 0802261259480 DOT 22280 AT brains DOT eng DOT cse DOT dmu DOT ac DOT uk> |
In-Reply-To: | <Pine.GSO.4.64.0802261259480.22280@brains.eng.cse.dmu.ac.uk> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |