This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [RFA] new test for separate debug info


Michael Elizabeth Chastain writes:
 > My test bed says:
 > 
 >   binutils HEAD, stabs+
 >     3 ERROR, 7 PASS, 44 FAIL, 1 UNRESOLVED
 >     # not okay

woah. I didn't test this. And I guess nobody did until now. RH ships
only dwarf2 toolchains.


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

the warning is coming from gdb, dbxread.c. I'll look into this.

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

OK.

elena


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