]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Fix timeout in gdb.ada/call_pn.exp
authorTom de Vries <tdevries@suse.de>
Sat, 21 Sep 2024 04:12:40 +0000 (06:12 +0200)
committerTom de Vries <tdevries@suse.de>
Sat, 21 Sep 2024 04:12:40 +0000 (06:12 +0200)
commit4a8a2d17999cd2b19cb568e240b208e94c428c8f
tree8b414dc2dd04a4ebc49b5e1ed6bd3fb08feecfa9
parentf121b8cf753a7890ceb6533393e8fd242445e27d
[gdb/testsuite] Fix timeout in gdb.ada/call_pn.exp

With test-case gdb.ada/call_pn.exp and glibc debug info installed, I ran into
this timeout:
...
(gdb) maint expand-symtabs^M
FAIL: gdb.ada/call_pn.exp: maint expand-symtabs (timeout)
...

The timeout was related to running the cpu at base frequency of 400Mhz instead
of boost frequency of 3.5Ghz (efficiency core) or 4.7Ghz (performance core).

But when investigating the test-case I realized that the maint expand-symtabs
could be limited to the source files, so use that to speed up the test-case.

Tested on x86_64-linux.

Co-Authored-By: Tom Tromey <tom@tromey.com>
Approved-By: Tom Tromey <tom@tromey.com>
PR testsuite/32177
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32177
gdb/testsuite/gdb.ada/call_pn.exp