From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29877 invoked by alias); 13 Nov 2003 17:55:47 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 29870 invoked from network); 13 Nov 2003 17:55:47 -0000 Received: from unknown (HELO smtp10.atl.mindspring.net) (207.69.200.246) by sources.redhat.com with SMTP; 13 Nov 2003 17:55:47 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by smtp10.atl.mindspring.net with esmtp (Exim 3.33 #1) id 1AKLh4-0005pU-00; Thu, 13 Nov 2003 12:55:46 -0500 Received: by berman.michael-chastain.com (Postfix, from userid 502) id 9EE3F4B3FA; Thu, 13 Nov 2003 12:55:55 -0500 (EST) To: ezannoni@redhat.com, gdb-patches@sources.redhat.com Subject: Re: [RFA] new test for separate debug info Message-Id: <20031113175555.9EE3F4B3FA@berman.michael-chastain.com> Date: Thu, 13 Nov 2003 17:55:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2003-11/txt/msg00268.txt.bz2 My test bed says: binutils 2.13.90.0.2-2-rh, dwarf-2 binutils 2.13.90.0.2-2-rh, stabs+ binutils 2.14, dwarf-2 binutils 2.14, stabs+ 1 UNSUPPORTED # okay binutils HEAD, dwarf-2 77 PASS # okay binutils HEAD, stabs+ 3 ERROR, 7 PASS, 44 FAIL, 1 UNRESOLVED # not okay The results are the same for all versions of gcc tested. Here is an excerpt from gdb.log: # gdb HEAD, gcc 3.3.2, binutils HEAD, -gstabs+ (gdb) dir /berman/fsf/_today_/source/gdb/HEAD/src/gdb/testsuite/gdb.base Source directories searched: /berman/fsf/_today_/source/gdb/HEAD/src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /berman/fsf/_today_/berman/test/gdb.base/sepdebug Reading symbols from /berman/fsf/_today_/berman/test/gdb.base/sepdebug...Reading symbols from /berman/fsf/_today_/berman/test/gdb.base/.debug/sepdebug.debug...Can't find any code sections in symbol file (gdb) ERROR: couldn't load /berman/fsf/_today_/berman/test/gdb.base/sepdebug into gdb. delete breakpoints (gdb) UNRESOLVED: gdb.base/sepdebug.exp: Delete all breakpoints when none From gdb-patches-return-28583-mec.gnu=mindspring.com@sources.redhat.com Wed Nov 12 17:26:42 2003 It looks like either binutils or gdb needs some work. If you could kludge the test to handle "Can't find any code sections in symbol file" then I would be happy with the test script as a test script. I have put up a test result tarball: ftp://ftp.shout.net/pub/users/mec/gdb/2003-11-10-sepdebug.tar.gz The interesting files are: native,HEAD,3.3.2,HEAD,stabs+,2/ gdb.log test.tar.gz I actually run the tests with: runtest ... --target_board unix/gdb:debug_flags=-gdwarf-2\\\\\\ -g2 ... runtest ... --target_board unix/gdb:debug_flags=-gstabs+\\\\\\ -g2 ... It might be some weird option-processing problem, but I doubt it, because I run dwarf-2 and stabs+ in the same way. That is, I don't just run dwarf-2 by leaving the debug_flags as default. Michael C