Error debuging with Cygwin: No symbol table is loaded. Use the "file" command

Fernando Barsoba fbarsoba@verizon.net
Mon Jun 20 21:26:00 GMT 2005


Mikael wrote:

>"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.
>
>  
>
Now it works, thank you very much. I forgot to put the -g in the makefile.


Fernando~

>>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/
>
>
>
>  
>



--
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