Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: "Mikael" Subject: Re: Error debuging with Cygwin: No symbol table is loaded. Use the "file" command Date: Mon, 20 Jun 2005 18:27:48 +0200 Lines: 57 Message-ID: References: <42B6E81B DOT 6010808 AT verizon DOT net> X-RFC2646: Format=Flowed; Response X-IsSubscribed: yes "Fernando Barsoba" wrote: > Hello all, > > I'm using Eclipse/CDT/Cygwin, and I'm trying to debug an application. I'm > getting the following error: "No symbol table is loaded. Use the "file" > command." I debug from withing Emacs and when I get that error message it usually means I forgot to compile with the -g flag. > > I'm a little bit confused about the origin of the problem. I have been > able to debug with Eclispe/CDT/MinGW in the past, so I directly pointed > out to a Cygwin configuration problem. > > Any idea? Below you'll find the complete output from the Debug console. > > Thanks, > > Fernando > > ------------------------------------------------------------------------ > > info threads > No registers. > No symbol table is loaded. Use the "file" command. > No symbol table is loaded. Use the "file" command. > No symbol table is loaded. Use the "file" command. > info program > Using the running image of child thread 3592.0xe60. > Program stopped at 0x401053. > It stopped at a breakpoint that has since been deleted. > Type "info stack" or "info registers" for more information. > info threads > 2 thread 3592.0x4f8 * 1 thread 3592.0xe60 info sharedlibrary > DLL Name Load Address > ntdll.dll 7c901000 > /cygdrive/f/WINDOWS/system32/kernel32.dll 7c801000 > /usr/bin/cygwin1.dll 61001000 > /cygdrive/f/WINDOWS/system32/advapi32.dll 77dd1000 > /cygdrive/f/WINDOWS/system32/rpcrt4.dll 77e71000 > /cygdrive/f/WINDOWS/system32/secur32.dll 77fe1000 > /cygdrive/f/WINDOWS/system32/user32.dll 77d41000 > /cygdrive/f/WINDOWS/system32/gdi32.dll 77f11000 > No symbol table is loaded. Use the "file" command. > No symbol table is loaded. Use the "file" command. > No symbol table is loaded. Use the "file" command. > Single stepping until exit from function main, > which has no line number information. > No breakpoint number 1. > > > -- 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/