GCC-3.4.4-2(exp) problems ? (was Re: Debugging symbols with GDB)

2006-10-25 Thread Angelo Graziosi
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: -

Re: Debugging symbols with GDB

2006-10-25 Thread Angelo Graziosi
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

Re: Debugging symbols with GDB

2006-10-25 Thread Christopher Faylor
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

Debugging symbols with GDB

2006-10-25 Thread Angelo Graziosi
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;