delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/29/13:09:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <50156DBD.8030003@prager.ws>
Date: Sun, 29 Jul 2012 13:07:09 -0400
From: Bernd Prager <bernd AT prager DOT ws>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Who is corinna?
X-Identified-User: {1020:box307.bluehost.com:pragerws:prager.ws} {sentby:smtp auth 168.100.249.107 authed with bernd+prager.ws}
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

All,

I am trying to debug a compiled c++ program with gdb.

When I start gdb it claims the symbols are loaded. When I try to list 
the source code I get:

(gdb) list

/home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/winsup/cygwin/crt0.c: 
No such file or directory.
         in 
/home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/winsup/cygwin/crt0.c

When I try to single step trough the program I get:

(gdb) start
Temporary breakpoint 1 at 0x401173
Starting program: /home/bernd/Test/a.exe
[New Thread 3820.0x8a0]
[New Thread 3820.0x41c]

Temporary breakpoint 1, 0x00401173 in main ()
(gdb) next
Single stepping until exit from function main,
which has no line number information.
0x004011c2 in _fu0___ZSt4cout ()

Does anybody has an idea what is going on?

I am using
CYGWIN_NT-5.1 ny015GZVTL1 1.7.16(0.262/5/3) 2012-07-20 22:55 i686 Cygwin
GNU gdb (GDB) 7.3.50.20111026-cvs (cygwin-special)
g++ (GCC) 4.5.3
ln (GNU coreutils) 8.15

Thank you for any help.
-- Bernd

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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