delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/20/14:05:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 20 Jun 2005 14:04:41 -0400
From: Fernando Barsoba <fbarsoba AT verizon DOT net>
Subject: Re: Error debuging with Cygwin: No symbol table is loaded. Use the "file" command
In-reply-to: <d96qec$us0$1@sea.gmane.org>
To: cygwin AT cygwin DOT com
Message-id: <42B70539.1020603@verizon.net>
MIME-version: 1.0
References: <42B6E81B DOT 6010808 AT verizon DOT net> <d96qec$us0$1 AT sea DOT gmane DOT org>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-IsSubscribed: yes

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019