The (known_scno(tcp) == __NR_exit_group) check introduced along with
native_scno makes that specific IA64 test redundant.

--- a/process.c
+++ b/process.c
@@ -443,18 +443,11 @@ struct tcb *tcp;
 }
 
 int
-internal_exit(tcp)
-struct tcb *tcp;
+internal_exit(struct tcb *tcp)
 {
        if (entering(tcp)) {
                tcp->flags |= TCB_EXITING;
 #ifdef __NR_exit_group
-# ifdef IA64
-               if (ia32) {
-                       if (tcp->scno == 252)
-                               tcp->flags |= TCB_GROUP_EXITING;
-               } else
-# endif
                if (known_scno(tcp) == __NR_exit_group)
                        tcp->flags |= TCB_GROUP_EXITING;
 #endif


-- 
ldv

Attachment: pgpDAqAmPyW0X.pgp
Description: PGP signature

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to