This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb.base/siginfo-thread.exp: Increase timeout for 'gcore' command
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Weimin Pan <weimin dot pan at oracle dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 16 Mar 2017 14:45:21 +0000
- Subject: Re: [PATCH] gdb.base/siginfo-thread.exp: Increase timeout for 'gcore' command
- Authentication-results: sourceware.org; auth=none
- References: <1488338603-107524-1-git-send-email-weimin.pan@oracle.com>
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 (齐尧)