]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Update regexp in gdb.debuginfod/fetch_src_and_symbols.exp
authorTom de Vries <tdevries@suse.de>
Wed, 23 Apr 2025 08:07:28 +0000 (10:07 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 23 Apr 2025 08:07:28 +0000 (10:07 +0200)
commitd8ad730791302c1ae13c54eaba7dccac0d09d656
treee1c61ed32a56992b401aa1c091ed95efe936382b
parent1b4493da0897761187816d795de2562cf91ffc8a
[gdb/testsuite] Update regexp in gdb.debuginfod/fetch_src_and_symbols.exp

Since commit 7b80401da00 ("Handle DWARF 5 separate debug sections"), test-case
gdb.debuginfod/fetch_src_and_symbols.exp fails here:
...
(gdb) file fetch_src_and_symbols_alt.o^M
Reading symbols from fetch_src_and_symbols_alt.o...^M
warning: could not find supplementary DWARF file \
  (fetch_src_and_symbols_dwz.o) for fetch_src_and_symbols_alt.o^M
(gdb) FAIL: $exp: no_url: file fetch_src_and_symbols_alt.o
...
because this is expected:
...
(gdb) file fetch_src_and_symbols_alt.o^M
Reading symbols from fetch_src_and_symbols_alt.o...^M
warning: could not find '.gnu_debugaltlink' file for \
  fetch_src_and_symbols_alt.o^M
(gdb) PASS: $exp: no_url: file fetch_src_and_symbols_alt.o
...

Fix this by updating the regexp.

Tested on x86_64-linux.
gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp