Patches from Anderson Lizardo and Riku Voipio to reach Debian version 0.5-3.1

* Add generic support for arm targets
* Save funtion arguments on arm
* Add thumb instruction support
* Add basic arm/eabi support
* fix exec() testcase cleanup
* fix memory corruption in clone() test
* fix tracing child with "-p" option
diff --git a/wait_for_something.c b/wait_for_something.c
index c65de41..9440652 100644
--- a/wait_for_something.c
+++ b/wait_for_something.c
@@ -64,14 +64,26 @@
 		    get_instruction_pointer(event.proc);
 	}
 	switch (syscall_p(event.proc, status, &tmp)) {
-	case 1:
-		event.thing = LT_EV_SYSCALL;
-		event.e_un.sysnum = tmp;
-		return &event;
-	case 2:
-		event.thing = LT_EV_SYSRET;
-		event.e_un.sysnum = tmp;
-		return &event;
+		case 1:
+			event.thing = LT_EV_SYSCALL;
+			event.e_un.sysnum = tmp;
+			return &event;
+		case 2:
+			event.thing = LT_EV_SYSRET;
+			event.e_un.sysnum = tmp;
+			return &event;
+		case 3:
+			event.thing = LT_EV_ARCH_SYSCALL;
+			event.e_un.sysnum = tmp;
+			return &event;
+		case 4:
+			event.thing = LT_EV_ARCH_SYSRET;
+			event.e_un.sysnum = tmp;
+			return &event;
+		case -1:
+			event.thing = LT_EV_NONE;
+			continue_process(event.proc->pid);
+			return &event;
 	}
 	if (WIFEXITED(status)) {
 		event.thing = LT_EV_EXIT;