]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: make I disassembler macro available for new use
authorJan Beulich <jbeulich@suse.com>
Fri, 26 Jun 2020 14:44:31 +0000 (16:44 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 26 Jun 2020 14:44:31 +0000 (16:44 +0200)
commitd1c361252ba4902046fd7725f880fa166e88e3e4
tree93c559d124592fb11853c2c30c1db8a75bcd8116
parent198e1db737e636c8defe2c7300396330650c2967
x86: make I disassembler macro available for new use

The {Q|Q} construct on lgdt/lidt and the slightly different {Q|IQ}
struck me as odd when encountering. Realizing they both have the same
effect, let's free up the I macro by using the former form of construct
where needed (there aren't that many uses overall).

With there now being several multi-character macros also re-do "alt"
handling slightly: Terminate it when finding the closing brace, rather
than after the next single character. Also set the flag only when
actually in Intel syntax mode.
opcodes/ChangeLog
opcodes/i386-dis.c