Debugging symbols with GDB

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Wed Oct 25 12:43:00 GMT 2006


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/



More information about the Cygwin mailing list