public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Siddhartha Jain <tmfs10@gmail.com>
To: gdb@sourceware.org
Subject: Lots of warnings when starting debugging
Date: Mon, 16 May 2011 10:49:00 -0000	[thread overview]
Message-ID: <DBF02C03-F5DE-488D-8CCE-5DD0F6F3AF66@gmail.com> (raw)

Hi,

I'm using g++ 4.6 on OSX 10.6 and gdb version 6.3.5. Whenever I try running my program via gdb, I get a large number of errors like

warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc46/work/build/x86_64-apple-darwin10/libstdc++-v3/src/.libs/bitmap_allocator.o" - no debug information available for "../../../../gcc-4.6-20110325/libstdc++-v3/src/bitmap_allocator.cc"


All of the warnings relate to files in libstdc++-v3 or libgcc

This is happening with both the macport gdb 4.6 and the gdb I compiled on my own. This is also happening even  with gdb version 7.2. It doesn't however happen with g++-4.2 that is installed via XCode.

Did I compile g++ wrong or something? I would be grateful if someone could shed some light on this.

Thanks
--Sid

                 reply	other threads:[~2011-05-16 10:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=DBF02C03-F5DE-488D-8CCE-5DD0F6F3AF66@gmail.com \
    --to=tmfs10@gmail.com \
    --cc=gdb@sourceware.org \
    /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).