[RFA] [gdb.threads/testsuite] failure while checking backtrace into main

Denis PILAT denis.pilat@st.com
Fri Feb 2 14:28:00 GMT 2007


> While checking for non-regression in the gdb.threads part of the 
> testsuite, I noticed one test fails with gcc4 since the argument of 
> the main are removed by the compiler so don't appear when printing 
> backtrace:
> FAIL: gdb.threads/pthreads.exp: check backtrace from main thread
>
> Either we can change the .exp file to avoid checking these arguments, 
> or we can ensure compiler keeps them as proposed hereby.

We can also just remove the testing of argc and argv from the 
pthreads.exp file, that would be better I think.

-- 
Denis

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pthreads.exp.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070202/90ac2e0e/attachment.ksh>


More information about the Gdb-patches mailing list