public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Lots of warnings when starting debugging
@ 2011-05-16 10:49 Siddhartha Jain
  0 siblings, 0 replies; only message in thread
From: Siddhartha Jain @ 2011-05-16 10:49 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-16 10:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-16 10:49 Lots of warnings when starting debugging Siddhartha Jain

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