This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]