This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Lots of warnings when starting debugging


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]