aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorJens Remus <jremus@linux.ibm.com>2023-11-23 15:43:36 +0100
committerAndreas Krebbel <krebbel@linux.ibm.com>2023-11-23 15:51:03 +0100
commit9c422a59953cd6b64bc8ed5f3d6e72a180f13540 (patch)
treea821b7cd402a2db9334ec6c4165b2d677522d18f /gdb/testsuite/gdb.python
parentf5027ee818100ee6411a21592d3297610ae09657 (diff)
downloadbinutils-9c422a59953cd6b64bc8ed5f3d6e72a180f13540.zip
binutils-9c422a59953cd6b64bc8ed5f3d6e72a180f13540.tar.gz
binutils-9c422a59953cd6b64bc8ed5f3d6e72a180f13540.tar.bz2
s390: Position independent verification of relative addressing
Opcode test cases for z/Architecture instructions that use relative addressing contained hardcoded offsets in the test verification patterns. Inserting or reordering of instructions into those test cases therefore required updating of those hardcoded offsets. Use regular expressions with backreferences to verify results of test cases containing instructions with relative addressing. This makes the verification position independent. gas/ * testsuite/gas/s390/esa-g5.d: Make opcode test verification pattern position independent where possible. * testsuite/gas/s390/esa-z900.d: Likewise. * testsuite/gas/s390/zarch-z900.d: Likewise. * testsuite/gas/s390/zarch-z10.d: Likewise. * testsuite/gas/s390/zarch-z196.d: Likewise. * testsuite/gas/s390/zarch-zEC12.d: Likewise. Signed-off-by: Jens Remus <jremus@linux.ibm.com> Reviewed-by: Andreas Krebbel <krebbel@linux.ibm.com>
Diffstat (limited to 'gdb/testsuite/gdb.python')
0 files changed, 0 insertions, 0 deletions