diff options
author | Andrew Burgess <aburgess@redhat.com> | 2024-08-10 12:26:49 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2024-09-10 15:11:05 +0100 |
commit | a80935397a191dcf87ab19a0bae5c74c87a263e9 (patch) | |
tree | a25f23741e0e0c2a145358340bbc544b834ae150 /ld/testsuite/ld-x86-64/call1a.d | |
parent | 523b8f4f29ef79032f850b7189765d815a59a330 (diff) | |
download | binutils-a80935397a191dcf87ab19a0bae5c74c87a263e9.zip binutils-a80935397a191dcf87ab19a0bae5c74c87a263e9.tar.gz binutils-a80935397a191dcf87ab19a0bae5c74c87a263e9.tar.bz2 |
gdb/testsuite: add return after a call to 'untested'
In gdb.base/corefile-buildid.exp, in the function
do_corefile_buildid_tests, if we fail to find the build-id for the
test binary then we call 'untested', but then push on with the test,
which inevitably fails as the rest of the test depends on having found
the build-id.
I think we're missing a 'return' after the call to 'untested' which
I've now added.
Also I noticed that we call build_id_debug_filename_get and then
manually remove '.debug' from the end. This is no longer necessary,
we can just ask build_id_debug_filename_get to not add the suffix.
Diffstat (limited to 'ld/testsuite/ld-x86-64/call1a.d')
0 files changed, 0 insertions, 0 deletions