aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorLancelot SIX <lancelot.six@amd.com>2022-11-04 15:36:21 +0000
committerLancelot SIX <lancelot.six@amd.com>2022-11-04 16:18:27 +0000
commit36354a49b603408daf579d71a9684a0fc37311a7 (patch)
tree63bbe6277c65af340178d4e3ff7c3fc9b236f6db /binutils
parent45830439cef3c827ae5ddb3915a1edcf1206dc77 (diff)
downloadbinutils-36354a49b603408daf579d71a9684a0fc37311a7.zip
binutils-36354a49b603408daf579d71a9684a0fc37311a7.tar.gz
binutils-36354a49b603408daf579d71a9684a0fc37311a7.tar.bz2
[testsuite] gdb.base/dlmopen: Fix test name and use gdb_attach
One test name in gdb.base/dlmopen.exp changes from run to run since it includes a process id: PASS: gdb.base/dlmopen.exp: attach 3442682 This is not convenient do diff gdb.sum files to compare test runs. Fix by using gdb_attach helper function to handle attaching to the process as it produce a constant test name. While at it also check gdb_attach's return value to only run the rest of the test if the attach was successful. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions