[PATCH] gdb.base/siginfo-thread.exp: Increase timeout for 'gcore' command

Yao Qi qiyaoltc@gmail.com
Thu Mar 16 14:45:00 GMT 2017


Weimin Pan <weimin.pan@oracle.com> writes:

> The following failed lines from running test case siginfo-thread:
>
> FAIL: gdb.base/siginfo-thread.exp: save a core file (timeout)
> FAIL: gdb.base/siginfo-thread.exp: extract si_addr
> FAIL: gdb.base/siginfo-thread.exp: p ssi_addr
>
> indicate the testsuite timed out when gdb was instructed to write the
> core file. The patch below fixes the problem by simply increasing the
> timeout by a factor of 2 to give gdb more time to generate core files.
>
> Tested in sparc64-linux-gnu. No regressions.

Did you see timeout fails in all gcore related tests?  gdb_gcore_cmd is
used in many places in gdb testsuite.  Did you investigate why it is so
slow to generate coredump in gdb?

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list