|
From: Nicholas N. <nj...@cs...> - 2005-02-11 15:01:00
|
On Fri, 11 Feb 2005, Tom Hughes wrote: > This is a typical failure: > > ! at 0x........: accept (in /...libc...) > --- 5 ---- > ! at 0x........: accept (socket.S:63) > > The current stripping strips "/.*libc.*" to "...libc..." which is > fine if there is no debug information available. > > If debug information is available then you just get the name of > the source file and the line number, and there is no sane way to > know that socket.S is part of glibc and strip it to "...libc..." so > that it matches. > > I guess that one option for many tests would be to discard the > location completely and just keep the function name? Hmm, but when the line number is from our test program, we definitely want to keep that. Maybe parameterise the filters: pass them the names of any files that should not stripped from the trace, and strip all others? N |