aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-param.c
diff options
context:
space:
mode:
authorAaron Merey <amerey@redhat.com>2020-03-02 12:46:47 +0000
committerNick Clifton <nickc@redhat.com>2020-03-02 12:46:47 +0000
commitb312fea191f0118c2438198f5069d25b0b527178 (patch)
tree9f37be99059bb51a91a8102a00f27fd4fa2f73af /gdb/python/py-param.c
parent728d32c496435cbd2529f7de9f5277d88c9c04e2 (diff)
downloadgdb-b312fea191f0118c2438198f5069d25b0b527178.zip
gdb-b312fea191f0118c2438198f5069d25b0b527178.tar.gz
gdb-b312fea191f0118c2438198f5069d25b0b527178.tar.bz2
The procedure to find an unused port for the debuginfod tests is susceptible to a TOCTOU failure. Change port finding in order to avoid this. Also use 'expect' to interact with the server process since we now use the server's output to determine whether a port is in use.
* binutils/testsuite/binutils-all/debuginfod.exp: Improve port selection.
Diffstat (limited to 'gdb/python/py-param.c')
0 files changed, 0 insertions, 0 deletions