Define enum out of the scope of struct
authorYao Qi <yao.qi@linaro.org>
Thu, 19 Nov 2015 13:58:29 +0000 (13:58 +0000)
committerYao Qi <yao.qi@linaro.org>
Thu, 19 Nov 2015 14:01:03 +0000 (14:01 +0000)
commit6c1c9a8bbd2aa3fbc627525b452e7dbbaf40efc5
tree8bf68c9327d8f7e2084677cd7b07f44a3064954b
parent9caa33114e9195b0d28ad46d21a11a8f838ffb07
Define enum out of the scope of struct

This patch moves the enum definition out of the scope of struct, and
fixes the following error.

gdb/gdbserver/linux-aarch64-low.c:681:18: error: 'OPERAND_REGISTER' was not declared in this scope
   operand.type = OPERAND_REGISTER;
                  ^
gdb/gdbserver:

2015-11-19  Yao Qi  <yao.qi@linaro.org>

* linux-aarch64-low.c (enum aarch64_operand_type): New.
(struct aarch64_operand): Move enum out.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-aarch64-low.c