+2012-03-24 Mike Frysinger <vapier@gentoo.org>
+
+ * c/clone5.c: Update output to ignore decoded signal string.
+ * c/fcntl1.c, c/kill2.c, c/kill3.c, c/mprotect1.c, c/pipe5.c,
+ c/readlink5.c, c/rtsigprocmask1.c, c/rtsigsuspend1.c, c/sig10.c,
+ c/sig11.c, c/sig3.c, c/sig4.c, c/sig5.c, c/sig6.c, c/sig7.c,
+ c/sig8.c, c/sigreturn1.c, c/sigreturn2.c, c/syscall1.c,
+ c/syscall2.c, c/syscall3.c, c/syscall4.c, c/sysctl2.c: Likewise.
+
2012-03-21 Mike Frysinger <vapier@gentoo.org>
* asm/addqpc.ms: Update output to ignore decoded signal string.
#notarget: cris*-*-elf
#xerror:
#output: Unimplemented clone syscall *
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include <stddef.h>
#notarget: cris*-*-elf
#xerror:
#output: Unimplemented fcntl*
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include <fcntl.h>
#include <stdio.h>
/* Basic kill functionality test; suicide.
#xerror:
-#output: program stopped with signal 6.\n
+#output: program stopped with signal 6 (*).\n
*/
#include <stdio.h>
/* Basic kill functionality test; suicide.
#xerror:
-#output: program stopped with signal 6.\n
+#output: program stopped with signal 6 (*).\n
*/
#include <stdio.h>
#notarget: cris*-*-elf
#xerror:
#output: Unimplemented mprotect call (0x0, 0x2001, 0x4)\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include <stdlib.h>
#include <stdio.h>
#notarget: cris*-*-elf
#xerror:
#output: Terminating simulation due to writing pipe * from one single thread\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include <stddef.h>
#include <signal.h>
#dest: ./readlink5.c.x
#xerror:
#output: Unimplemented readlink syscall (*)\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include "readlink2.c"
#cc: additional_flags=-pthread
#xerror:
#output: Unimplemented rt_sigprocmask syscall (0x3, 0x0, 0x3dff*\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
Testing a signal handler corner case. */
#notarget: cris*-*-elf
#xerror:
#output: Unimplemented rt_sigsuspend syscall arguments (0x1, 0x2)\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include <unistd.h>
#cc: additional_flags=-pthread
#xerror:
#output: Exiting pid 42 due to signal 9\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include <stdlib.h>
#cc: additional_flags=-pthread
#xerror:
#output: Unimplemented signal: 77\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include <stdlib.h>
/* Check that TRT happens at an abort (3) call, single thread.
#xerror:
-#output: program stopped with signal 6.\n
+#output: program stopped with signal 6 (*).\n
*/
#include <stdlib.h>
#cc: additional_flags=-pthread
#xerror:
#output: Exiting pid 42 due to signal 6\n
-#output: program stopped with signal 6.\n
+#output: program stopped with signal 6 (*).\n
*/
#include <stdlib.h>
/* Check that TRT happens for an uncaught non-abort signal, single thread.
#xerror:
#output: Unimplemented signal: 7\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include <stdlib.h>
#cc: additional_flags=-pthread
#xerror:
#output: Exiting pid 42 due to signal 7\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include <stdlib.h>
#notarget: cris*-*-elf
#xerror:
#output: Unimplemented rt_sigaction syscall (0x8, 0x3df*\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include <stdio.h>
#include <signal.h>
/* Check that TRT happens for an ignored catchable signal, single thread.
#xerror:
#output: Unimplemented signal: 14\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
Sure, it'd probably be better to support signals in single-thread too,
but that's on an as-need basis, and I don't have a need for it yet. */
#notarget: cris*-*-elf
#xerror:
#output: Invalid sigreturn syscall: no signal handler active (0x1, 0x2, 0x3, 0x4, 0x5, 0x6)\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include <unistd.h>
#cc: additional_flags=-pthread
#xerror:
#output: Invalid sigreturn syscall: no signal handler active (0x1, 0x2, 0x3, 0x4, 0x5, 0x6)\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include <stdlib.h>
#notarget: cris*-*-elf
#xerror:
#output: Unimplemented syscall: 166 (0x1, 0x2, 0x3, 0x4, 0x5, 0x6)\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include <unistd.h>
#notarget: cris*-*-elf
#xerror:
#output: Unimplemented syscall: 0 (0x3, 0x2, 0x1, 0x4, 0x6, 0x5)\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include <unistd.h>
#sim: --cris-unknown-syscall=stop
#xerror:
#output: Unimplemented syscall: 166 (0x1, 0x2, 0x3, 0x4, 0x5, 0x6)\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include "syscall1.c"
#sim: --cris-unknown-syscall=stop
#xerror:
#output: Unimplemented syscall: 0 (0x3, 0x2, 0x1, 0x4, 0x6, 0x5)\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
*/
#include "syscall2.c"
/* Check error message for invalid sysctl call.
#xerror:
#output: Unimplemented _sysctl syscall *\n
-#output: program stopped with signal 4.\n
+#output: program stopped with signal 4 (*).\n
#notarget: cris*-*-elf
*/