From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11412 invoked by alias); 16 May 2011 10:49:21 -0000 Received: (qmail 11404 invoked by uid 22791); 16 May 2011 10:49:20 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-gw0-f41.google.com (HELO mail-gw0-f41.google.com) (74.125.83.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 May 2011 10:49:07 +0000 Received: by gwaa12 with SMTP id a12so1806704gwa.0 for ; Mon, 16 May 2011 03:49:06 -0700 (PDT) Received: by 10.236.131.39 with SMTP id l27mr3863031yhi.509.1305542946329; Mon, 16 May 2011 03:49:06 -0700 (PDT) Received: from harkness-72.resnet.brown.edu ([138.16.23.72]) by mx.google.com with ESMTPS id s21sm2308300yhn.93.2011.05.16.03.49.04 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 May 2011 03:49:05 -0700 (PDT) From: Siddhartha Jain Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Lots of warnings when starting debugging Date: Mon, 16 May 2011 10:49:00 -0000 Message-Id: To: gdb@sourceware.org Mime-Version: 1.0 (Apple Message framework v1084) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00072.txt.bz2 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_loc= al_var_macports_sources_rsync.macports.org_release_ports_lang_gcc46/work/bu= ild/x86_64-apple-darwin10/libstdc++-v3/src/.libs/bitmap_allocator.o" - no d= ebug information available for "../../../../gcc-4.6-20110325/libstdc++-v3/s= rc/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 m= y own. This is also happening even with gdb version 7.2. It doesn't howeve= r 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