[uClibc-cvs] uClibc/libc/sysdeps/linux/arm sigaction.c,1.1,1.2

Erik Andersen andersen at codepoet.org
Wed Jan 22 17:43:16 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/arm
In directory winder:/tmp/cvs-serv23345/libc/sysdeps/linux/arm

Modified Files:
	sigaction.c 
Log Message:
Update sigaction syscall names to act more like glibc.  Fix the x86 sigaction
implementation such that gdb can actually debug signal handlers.  Gdb behaves
much better now, for example, on multi-threaded apps.
 -Erik


Index: sigaction.c
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/arm/sigaction.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- sigaction.c	22 Jan 2003 15:35:45 -0000	1.1
+++ sigaction.c	22 Jan 2003 17:43:13 -0000	1.2
@@ -58,7 +58,7 @@
 
     /* XXX The size argument hopefully will have to be changed to the
        real size of the user-level sigset_t.  */
-    result = __rt_sigaction(sig, act ? __ptrvalue (&kact) : NULL,
+    result = __syscall_rt_sigaction(sig, act ? __ptrvalue (&kact) : NULL,
 	    oact ? __ptrvalue (&koact) : NULL, _NSIG / 8);
 
     if (oact && result >= 0) {
@@ -96,7 +96,7 @@
 	}
 # endif
     }
-    result = __sigaction(sig, act ? __ptrvalue (&kact) : NULL,
+    result = __syscall_sigaction(sig, act ? __ptrvalue (&kact) : NULL,
 	    oact ? __ptrvalue (&koact) : NULL);
 
     if (oact && result >= 0) {




More information about the uClibc-cvs mailing list