Building
$ cat hello.c
#include
int main()
{
printf("Hello, World!");
return 0;
}
gcc -g hello.c -o hello
with gcc-3.4.4-2 (EXP) causes GDB ignoring the debug symbols:
-
Christopher Faylor wrote:
> Maybe you should be specifying an explicit ".exe" when you build.
On Cygwin
$ gcc -g hello.c -o hello
produces 'hello.exe':
$ ls -lrt
-rwxr-xr-x 1 Angelo Administrators8873 Oct 25 14:27 hello.exe
i.e. the same result of
$ gcc -g hello.c -o hello.ex
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 hell
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;
4 matches
Mail list logo