emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Emacs-cvs on Cygwin (Mystery!)


From: Eli Zaretskii
Subject: Re: Building Emacs-cvs on Cygwin (Mystery!)
Date: Fri, 22 Sep 2006 16:19:49 +0300

> Date: Fri, 22 Sep 2006 00:20:43 +0200 (MET DST)
> From: Angelo Graziosi <address@hidden>
> 
> This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found)

We need to solve this ``no debugging symbols found'' problem.  Can you
please post the transcript of the entire configure+build procedure, or
(better) look there for the command that stripped the symbols from the
binary?

The ``normal'' build should invoke GCC with the -g option, and should
NOT use the -s option to GCC or the linker in the command that links
temacs.exe.  This should produce temacs.exe with debugging symbols,
and then dumping emacs.exe should produce emacs.exe with debugging
symbols.

What happens if you type "gdb ./temacs.exe", does it also say ``no
debugging symbols found''?

> (gdb) r

"r -Q" is better, as it doesn't load any init files.

> Starting program: /usr/local/emacs-22.0.50/bin/emacs.exe 
> Loaded symbols for /c/WINDOWS/system32/ntdll.dll
> Loaded symbols for /c/WINDOWS/system32/kernel32.dll
> Loaded symbols for /usr/X11R6/bin/cygICE-6.dll
> Loaded symbols for /usr/bin/cygwin1.dll
> Loaded symbols for /c/WINDOWS/system32/advapi32.dll
> Loaded symbols for /c/WINDOWS/system32/rpcrt4.dll
> Loaded symbols for /usr/X11R6/bin/cygSM-6.dll
> Loaded symbols for /usr/X11R6/bin/cygX11-6.dll
> Loaded symbols for /usr/X11R6/bin/cygXaw3d-7.dll
> Loaded symbols for /usr/X11R6/bin/cygXext-6.dll
> Loaded symbols for /usr/X11R6/bin/cygXmu-6.dll
> Loaded symbols for /usr/X11R6/bin/cygXt-6.dll
> Loaded symbols for /usr/X11R6/bin/cygXpm-4.dll
> Loaded symbols for /usr/bin/cygncurses-8.dll
> Loaded symbols for /usr/bin/cygjpeg-62.dll
> Loaded symbols for /usr/bin/cygpng12.dll
> Loaded symbols for /usr/bin/cygz.dll
> Loaded symbols for /usr/bin/cygtiff-5.dll
> Loaded symbols for /usr/bin/cygungif-4.dll
> 
> [1]+  Stopped                 gdb ./emacs

Can you type "fg" at this point, to get back into GDB?

If that works, can you type "bt" inside GDB and get a meaningful
traceback?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]