From 9febc84ad3517e6226418ca6b9280ab1f069209f Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 22 Jan 2003 17:43:14 +0000 Subject: 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 --- libc/sysdeps/linux/arm/sigaction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/arm/sigaction.c') diff --git a/libc/sysdeps/linux/arm/sigaction.c b/libc/sysdeps/linux/arm/sigaction.c index 5efd7f2a8..549d8a0c6 100644 --- a/libc/sysdeps/linux/arm/sigaction.c +++ b/libc/sysdeps/linux/arm/sigaction.c @@ -58,7 +58,7 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa /* 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 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa } # endif } - result = __sigaction(sig, act ? __ptrvalue (&kact) : NULL, + result = __syscall_sigaction(sig, act ? __ptrvalue (&kact) : NULL, oact ? __ptrvalue (&koact) : NULL); if (oact && result >= 0) { -- cgit v1.2.3