diff options
author | Andrew Burgess <aburgess@redhat.com> | 2023-02-28 21:40:17 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2023-04-03 12:11:32 +0100 |
commit | 4fc808ae2a3dee6a791c2a90b25db9c7a3790563 (patch) | |
tree | fe0614df7312896a43b493167fc5733b56d48d87 /gas | |
parent | 71f18376db954e95a44a9281d05699a228070f77 (diff) | |
download | gdb-4fc808ae2a3dee6a791c2a90b25db9c7a3790563.zip gdb-4fc808ae2a3dee6a791c2a90b25db9c7a3790563.tar.gz gdb-4fc808ae2a3dee6a791c2a90b25db9c7a3790563.tar.bz2 |
opcodes/arm: adjust whitespace in cpsie instruction
While I was working on the disassembler styling for ARM I noticed that
the whitespace in the cpsie instruction was inconsistent with most of
the other ARM disassembly output, the disassembly for cpsie looks like
this:
cpsie if,#10
notice there's no space before the '#10' immediate, most other ARM
instructions have a space before each operand.
This commit updates the disassembler to add the missing space, and
updates the tests I found that tested this instruction.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/gas/arm/archv6.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/t16-bad.s | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gas/testsuite/gas/arm/archv6.d b/gas/testsuite/gas/arm/archv6.d index bee9909..ec609b5 100644 --- a/gas/testsuite/gas/arm/archv6.d +++ b/gas/testsuite/gas/arm/archv6.d @@ -219,7 +219,7 @@ Disassembly of section .text: 0+34c <[^>]*> e6ef2475 ? uxtb r2, r5, ror #8 0+350 <[^>]*> 16ef2075 ? uxtbne r2, r5 0+354 <[^>]*> 16ef2475 ? uxtbne r2, r5, ror #8 -0+358 <[^>]*> f10a00ca ? cpsie if,#10 -0+35c <[^>]*> f10a00d5 ? cpsie if,#21 +0+358 <[^>]*> f10a00ca ? cpsie if, #10 +0+35c <[^>]*> f10a00d5 ? cpsie if, #21 0+360 <[^>]*> f8cd0510 ? srsia sp, #16 0+364 <[^>]*> f9ed0510 ? srsib sp!, #16 diff --git a/gas/testsuite/gas/arm/t16-bad.s b/gas/testsuite/gas/arm/t16-bad.s index 9d2ced3..8b0865d 100644 --- a/gas/testsuite/gas/arm/t16-bad.s +++ b/gas/testsuite/gas/arm/t16-bad.s @@ -131,8 +131,8 @@ l: @ Miscellaneous bkpt #257 - cpsie ai,#5 - cpsid ai,#5 + cpsie ai, #5 + cpsid ai, #5 @ Conditional suffixes addeq r0,r1,r2 |