Re: [RFA] new test for separate debug info

Elena Zannoni
2003-11-13T19:23:58Z

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