public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Who is corinna?
Date: Mon, 30 Jul 2012 03:47:00 -0000	[thread overview]
Message-ID: <20120730034736.GA10607@ednor.casa.cgf.cx> (raw)
In-Reply-To: <50156DBD.8030003@prager.ws>

On Sun, Jul 29, 2012 at 01:07:09PM -0400, Bernd Prager wrote:
>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?

Sure looks like your program is not compiled with debugging information,
i.e., "gcc -g" was not used when compiling and linking the program.

As to who Corrina is, here's a link:

http://www.imdb.com/title/tt0109484/

cgf

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

  reply	other threads:[~2012-07-30  3:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-29 17:09 Bernd Prager
2012-07-30  3:47 ` Christopher Faylor [this message]
2012-07-30  9:13   ` Corinna Vinschen
2012-07-30 15:58     ` Andrew DeFaria
2012-07-30 11:38   ` Bernd Prager
2012-07-30 12:20     ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120730034736.GA10607@ednor.casa.cgf.cx \
    --to=cgf-use-the-mailinglist-please@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).