aboutsummaryrefslogtreecommitdiff
path: root/zlib/uncompr.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-08-30 19:40:31 +0930
committerAlan Modra <amodra@gmail.com>2020-08-30 20:49:32 +0930
commit2781f857e6a654521f0decebb809989b72afa2c5 (patch)
treece94a580e92857aa5a88e173b6a8088a0ae314d1 /zlib/uncompr.c
parentc930281005b0a01ab824864c231c19c297bfdda5 (diff)
downloadgdb-2781f857e6a654521f0decebb809989b72afa2c5.zip
gdb-2781f857e6a654521f0decebb809989b72afa2c5.tar.gz
gdb-2781f857e6a654521f0decebb809989b72afa2c5.tar.bz2
cr16 disassembly error of disp20 fields
When looking at the UB errors, I noticed that cbitb_test.d disassembly wasn't reproducing the input assembly. That turned out to be an error in make_argument case arg_cr. This fixes that and makes some general tidies. opcodes/ * cr16-dis.c: Formatting. (parameter): Delete struct typedef. Use dwordU instead throughout file. (make_argument <arg_idxr>): Simplify detection of cbitb, sbitb and tbitb. (make_argument <arg_cr>): Extract 20-bit field not 16-bit. gas/ * testsuite/gas/cr16/cbitb_test.d: Update expected output. * testsuite/gas/cr16/cbitw_test.d: Likewise. * testsuite/gas/cr16/sbitb_test.d: Likewise. * testsuite/gas/cr16/sbitw_test.d: Likewise. * testsuite/gas/cr16/storb_test.d: Likewise. * testsuite/gas/cr16/storw_test.d: Likewise. * testsuite/gas/cr16/tbitb_test.d: Likewise. * testsuite/gas/cr16/tbitw_test.d: Likewise.
Diffstat (limited to 'zlib/uncompr.c')
0 files changed, 0 insertions, 0 deletions