Move ARM register numbers enum to arch/arm.h
authorYao Qi <yao.qi@linaro.org>
Thu, 30 Jul 2015 14:07:38 +0000 (15:07 +0100)
committerYao Qi <yao.qi@linaro.org>
Thu, 30 Jul 2015 14:07:38 +0000 (15:07 +0100)
commitec74129274bf2fb65aac9381a19731c570f7be29
tree0c56172e9e9917e7ad23577f33ae8d307882e267
parent0ea6402e6ce0af0623f0cfd180b626c7ccc41891
Move ARM register numbers enum to arch/arm.h

This patch moves ARM register numbers enum to arch/arm.h, so that it
can used by GDBserver too.

This patch also creates a new directory gdb/arch in which arch-specific
or target-specific files are placed.

gdb:

2015-07-30  Yao Qi  <yao.qi@linaro.org>

* arm-tdep.h (enum gdb_regnum): Move it to ...
* arch/arm.h: ... here.  New file.
* Makefile.in (HFILES_NO_SRCDIR): Add arch/arm.h.
gdb/ChangeLog
gdb/Makefile.in
gdb/arch/arm.h [new file with mode: 0644]
gdb/arm-tdep.h