Define enum out of struct
authorYao Qi <yao.qi@linaro.org>
Wed, 14 Oct 2015 08:23:14 +0000 (09:23 +0100)
committerYao Qi <yao.qi@linaro.org>
Wed, 14 Oct 2015 08:30:39 +0000 (09:30 +0100)
commit6448a3e4daecbdba25e5c76b0fbb0c21583a1347
tree8089ea64028e5762c83f7730a116af1a2f2aafc0
parent82c88aa6294d6f764bc1ad9b55497b73a4743bb1
Define enum out of struct

This patch moves the definition of enum out of the scope of struct
aarch64_memory_operand, otherwise it breaks GDB build in c++ mode.

gdb:

2015-10-14  Yao Qi  <yao.qi@linaro.org>

* arch/aarch64-insn.h (struct aarch64_memory_operand): Move enum
out of it.
(enum aarch64_memory_operand_type): New.
gdb/ChangeLog
gdb/arch/aarch64-insn.h