Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1094)

Side by Side Diff: sim/testsuite/sim/cris/c/rtsigprocmask1.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sim/testsuite/sim/cris/c/readlink5.c ('k') | sim/testsuite/sim/cris/c/rtsigsuspend1.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Compiler options: 1 /* Compiler options:
2 #notarget: cris*-*-elf 2 #notarget: cris*-*-elf
3 #cc: additional_flags=-pthread 3 #cc: additional_flags=-pthread
4 #xerror: 4 #xerror:
5 #output: Unimplemented rt_sigprocmask syscall (0x3, 0x0, 0x3dff*\n 5 #output: Unimplemented rt_sigprocmask syscall (0x3, 0x0, 0x3dff*\n
6 #output: program stopped with signal 4.\n 6 #output: program stopped with signal 4 (*).\n
7 7
8 Testing a signal handler corner case. */ 8 Testing a signal handler corner case. */
9 9
10 #include <stddef.h> 10 #include <stddef.h>
11 #include <stdlib.h> 11 #include <stdlib.h>
12 #include <stdio.h> 12 #include <stdio.h>
13 #include <unistd.h> 13 #include <unistd.h>
14 #include <signal.h> 14 #include <signal.h>
15 #include <pthread.h> 15 #include <pthread.h>
16 #include <errno.h> 16 #include <errno.h>
(...skipping 25 matching lines...) Expand all
42 retcode 42 retcode
43 = pthread_sigmask (SIG_BLOCK + SIG_UNBLOCK + SIG_SETMASK, NULL, &sigs); 43 = pthread_sigmask (SIG_BLOCK + SIG_UNBLOCK + SIG_SETMASK, NULL, &sigs);
44 /* Direct return of the error number; i.e. not using -1 and errno, 44 /* Direct return of the error number; i.e. not using -1 and errno,
45 is the actual documented behavior. */ 45 is the actual documented behavior. */
46 if (retcode == ENOSYS) 46 if (retcode == ENOSYS)
47 printf ("ENOSYS\n"); 47 printf ("ENOSYS\n");
48 48
49 printf ("xyzzy\n"); 49 printf ("xyzzy\n");
50 return 0; 50 return 0;
51 } 51 }
OLDNEW
« no previous file with comments | « sim/testsuite/sim/cris/c/readlink5.c ('k') | sim/testsuite/sim/cris/c/rtsigsuspend1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698