This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Debugging symbols with GDB
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 <stdio.h>
>
>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/