Fixed compilation problems in armel, ia64 and powerpc
diff --git a/sysdeps/linux-gnu/breakpoint.c b/sysdeps/linux-gnu/breakpoint.c
index 5ca131a..9104189 100644
--- a/sysdeps/linux-gnu/breakpoint.c
+++ b/sysdeps/linux-gnu/breakpoint.c
@@ -6,8 +6,6 @@
#include "common.h"
#include "arch.h"
-static unsigned char break_insn[] = BREAKPOINT_VALUE;
-
#ifdef ARCH_HAVE_ENABLE_BREAKPOINT
extern void arch_enable_breakpoint(pid_t, Breakpoint *);
void
@@ -20,6 +18,9 @@
arch_enable_breakpoint(pid, sbp);
}
#else
+
+static unsigned char break_insn[] = BREAKPOINT_VALUE;
+
void
enable_breakpoint(pid_t pid, Breakpoint *sbp) {
unsigned int i, j;