diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-02 00:07:21 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-02 10:58:20 -0400 |
commit | f0c4dc40b2e16a876b5b61986de5014a78f76a5c (patch) | |
tree | 081740977f36d35892d79c180e792104293acfe8 /sim/m32c/opc2c.c | |
parent | d89a87ba3c100bdbe82c7bd98ad7b8a2435e002f (diff) | |
download | gdb-f0c4dc40b2e16a876b5b61986de5014a78f76a5c.zip gdb-f0c4dc40b2e16a876b5b61986de5014a78f76a5c.tar.gz gdb-f0c4dc40b2e16a876b5b61986de5014a78f76a5c.tar.bz2 |
sim: replace custom attributes with ansidecl.h
A lot of this code predates the common attributes. We had already
started migrating over piece by piece, so just do a pass across all
the attributes and replace most of them.
Diffstat (limited to 'sim/m32c/opc2c.c')
-rw-r--r-- | sim/m32c/opc2c.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sim/m32c/opc2c.c b/sim/m32c/opc2c.c index 3d8f2c1..6487427 100644 --- a/sim/m32c/opc2c.c +++ b/sim/m32c/opc2c.c @@ -249,13 +249,14 @@ dump_lines (opcode * op, int level, Indirect * ind) errors++; } else if (shift && (mask != 0xff)) - printf ("%*s int %s AU = (op[%d] >> %d) & 0x%02x;\n", + printf ("%*s int %s ATTRIBUTE_UNUSED = (op[%d] >> %d) & 0x%02x;\n", level, "", name, byte, shift, mask); else if (mask != 0xff) - printf ("%*s int %s AU = op[%d] & 0x%02x;\n", + printf ("%*s int %s ATTRIBUTE_UNUSED = op[%d] & 0x%02x;\n", level, "", name, byte, mask); else - printf ("%*s int %s AU = op[%d];\n", level, "", name, byte); + printf ("%*s int %s ATTRIBUTE_UNUSED = op[%d];\n", level, "", name, + byte); } else i++; |