]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Drop address from test name in gdb.mi/mi-memory-changed.exp
authorTom de Vries <tdevries@suse.de>
Mon, 10 Nov 2025 14:37:13 +0000 (15:37 +0100)
committerTom de Vries <tdevries@suse.de>
Mon, 10 Nov 2025 14:37:13 +0000 (15:37 +0100)
commit0f2aaaad61c513e5d84feb40237d6bdd46528e9d
tree2db9e9aa43804897931ad06316457ce3fcf2b8e0
parent7c50362625b57baed166a4628f7a9be0857a8196
[gdb/testsuite] Drop address from test name in gdb.mi/mi-memory-changed.exp

I ran the testsuite twice, once with target board unix, and once with target
board unix/-fPIE/-pie, compare the two sum files, and got for test-case
gdb.mi/mi-memory-changed.exp:
...
< PASS: $exp: set var *(unsigned int *) 0x4011b0 = 0xe5894855
---
> PASS: $exp: set var *(unsigned int *) 0x5555555551c3 = 0xe5894855
...

Fix this by dropping the concrete address from the test name:
...
PASS: $exp: set var *(unsigned int *) 0x${main_addr} = ${main_insn}
...

Tested on x86_64-linux.
gdb/testsuite/gdb.mi/mi-memory-changed.exp