[gdb/testsuite] Wait longer for core generation
authorTom de Vries <tdevries@suse.de>
Thu, 1 Dec 2022 06:25:04 +0000 (07:25 +0100)
committerTom de Vries <tdevries@suse.de>
Thu, 1 Dec 2022 06:25:04 +0000 (07:25 +0100)
commitf0cb4aa909d0e3c1c656b2ba9758a59a2cde75de
treef00538f618ccd0519dee7c8cde1b00ccef86c4a2
parent32a5aa2625686a709b22db19300a578d96285dd1
[gdb/testsuite] Wait longer for core generation

When I run the gdb testsuite on a powerpc64le-linux system with (slow) nfs
file system, I run into timeouts due to core generation, like for instance:
...
(gdb) gcore $outputs/gdb.ada/task_switch_in_core/crash.gcore^M
FAIL: gdb.ada/task_switch_in_core.exp: save a corefile (timeout)
...

Fix this by using with_timeout_factor 3 in gdb_gcore_cmd.

Tested on powerpc64le-linux.
Approved-By: Tom Tromey <tom@tromey.com>
gdb/testsuite/lib/gdb.exp