aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-wince-tdep.c
diff options
context:
space:
mode:
authorAntoine Tremblay <antoine.tremblay@ericsson.com>2015-12-18 11:33:58 -0500
committerAntoine Tremblay <antoine.tremblay@ericsson.com>2015-12-18 11:38:45 -0500
commitcba7e83fda349cbf423fab274f5b8677d8148947 (patch)
treea8a80ad33154cf04b036714027196cd978188a8c /gdb/arm-wince-tdep.c
parentfa5308bdcc4967861d1277b45205c2623b154a64 (diff)
Share some ARM target dependent code from GDB with GDBServer
This patch is in preparation for software single stepping support on ARM it shares some functions and definitions that will be needed. No regressions, tested on ubuntu 14.04 ARMv7 and x86. With gdbserver-{native,extended} / { -marm -mthumb } Not tested: wince/bsd build. gdb/ChangeLog: * arch/arm.c (bitcount): Move from arm-tdep.c. (condition_true): Likewise. * arch/arm.h (Instruction Definitions): Move form arm-tdep.h. (condition_true): Move defenition from arm-tdep.h. (bitcount): Likewise. * arm-tdep.c (condition_true): Move to arch/arm.c. (bitcount): Likewise. * arm-tdep.h (Instruction Definitions): Move to arch/arm.h. * arm-wince-tdep.c: Include arch/arm.h. * armnbsd-tdep.c: Likewise.
Diffstat (limited to 'gdb/arm-wince-tdep.c')
-rw-r--r--gdb/arm-wince-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/arm-wince-tdep.c b/gdb/arm-wince-tdep.c
index 72295ba4ca..3abd89d541 100644
--- a/gdb/arm-wince-tdep.c
+++ b/gdb/arm-wince-tdep.c
@@ -24,6 +24,7 @@
#include "target.h"
#include "frame.h"
+#include "arch/arm.h"
#include "arm-tdep.h"
#include "windows-tdep.h"