This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] new test for separate debug info
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- Cc: ezannoni at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Thu, 13 Nov 2003 14:23:56 -0500
- Subject: Re: [RFA] new test for separate debug info
- References: <20031113175555.9EE3F4B3FA@berman.michael-chastain.com>
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