[FT32] Replace hard-coded instruction patterns with macros
authorjamesbowman <jamesb@excamera.com>
Tue, 29 Sep 2015 16:06:29 +0000 (09:06 -0700)
committerjamesbowman <jamesb@excamera.com>
Tue, 29 Sep 2015 16:06:29 +0000 (09:06 -0700)
commit86feccb92092506f2a23a32345bc0f562ac4042b
tree8e660d5319fe9fa0bb61ed42fa4504de7015ed7b
parentc68c16371639f360d1b110eacf4b1a28ddb5cf53
[FT32] Replace hard-coded instruction patterns with macros

The stack unwinder can now use FT32_*() macros to interpet binary
instructions instead of local definitions.

2015-09-29  James Bowman  <james.bowman@ftdichip.com>

* ft32-tdep.c: #include "opcode/ft32.h".
Delete local macros IS_PUSH, PUSH_REG, IS_LINK, LINK_SIZE.
(ft32_analyze_prologue): Use FT32_* macros.
gdb/ChangeLog
gdb/ft32-tdep.c