X-Spam-Check-By: sourceware.org Date: Wed, 25 Oct 2006 07:30:46 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Debugging symbols with GDB Message-ID: <20061025113046.GE20837@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On Wed, Oct 25, 2006 at 10:15:02AM +0200, Angelo Graziosi wrote: >Try to debug the segment faults of Emacs-cvs buildings I have observed the >following on which I would ask some comment. > > >When one build the following test case with -g option >---------------------------------------- >$ cat hello.c >#include > >int main() >{ > printf("Hello, World!"); > return 0; >} > >gcc -g hello.c -o hello >---------------------------------------- > >then GDB says "no debugging symbols found": WJFFM. Maybe you should be specifying an explicit ".exe" when you build. -- 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/