PATCH: Support stabs in libjava test

Andrew Haley aph@cambridge.redhat.com
Mon Jun 10 09:56:00 GMT 2002


H . J . Lu writes:
 > On Mon, Jun 10, 2002 at 05:36:24PM +0100, Andrew Haley wrote:
 > > H . J . Lu writes:
 > >  > When stabs is used, I get
 > >  > 
 > >  > /tmp/ccgCe9gi.s: Assembler messages:^M
 > >  > /tmp/ccgCe9gi.s:29: Warning: .stabs: description field 'a0004' too big, try a
 > >  > different debug format^M
 > >  > /tmp/ccgCe9gi.s:263: Warning: .stabs: description field '10001' too big, try a
 > >  > different debug format^M
 > >  > 
 > >  > and the test is marked "FAIL". I am enclosing a patch to filter it out.
 > > 
 > > Why filter it out?  This looks like a real failure.
 > > 
 > > Okay, it's probably not very important, but I would presume that the
 > > debugging info is being truncated or incorrectly emitted.  Perhaps an
 > > XFAIL would be appropriate.
 > 
 > I got it in almost every single test. The resulting binary runs fine.
 > It is just that you may not be able to debug it.

I see.  

Surely that means that libgcj cannot be built with stabs debugging
info, at least not on this target.  This is bad, and we perhaps do not
want to mark the tests as PASS if this is the case.

 > If I mark it XFAIL, will the resulting binary be run? Also how do I
 > mark it XFAIL for stabs?  I don't believe we encode the debug type
 > in the host triplet.

You're right -- this wouldn't work.

Andrew.



More information about the Gcc-patches mailing list