| commit | 733ccb8b3fd5422606d5c1ebeba246fa89c8f9ae | [log] [tgz] |
|---|---|---|
| author | Tom de Vries <tdevries@suse.de> | Wed Oct 08 22:08:49 2025 +0200 |
| committer | Tom de Vries <tdevries@suse.de> | Wed Oct 08 22:08:49 2025 +0200 |
| tree | 7ba71c41a4aeaed16d1f8ab8383fe02721781e5d | |
| parent | aa99a69e9eb42fc058a921ed8e793396ff4f506e [diff] |
[gdb/testsuite] Fix ERROR in expect_build_id_in_core_file
With test-case gdb.python/py-corefile.exp I run into:
...
PASS: $exp: test mapped files data: show-build-ids
ERROR: tcl error sourcing gdb.python/py-corefile.exp.
ERROR: bad option "0x1fa178": \
must be -nobackslashes, -nocommands, or -novariables
while executing
"subst 0x$offset + 0"
...
Fix this using "[subst 0x$offset]" instead.
Tested on x86_64-linux.