|
From: <sv...@va...> - 2005-05-08 02:13:52
|
Author: njn
Date: 2005-05-08 03:13:47 +0100 (Sun, 08 May 2005)
New Revision: 3633
Modified:
trunk/coregrind/vg_mylibc.c
trunk/include/tool.h.base
Log:
Remove dead function VG_(exit_single)().
Modified: trunk/coregrind/vg_mylibc.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/vg_mylibc.c 2005-05-08 02:10:27 UTC (rev 3632)
+++ trunk/coregrind/vg_mylibc.c 2005-05-08 02:13:47 UTC (rev 3633)
@@ -358,16 +358,6 @@
return VG_(is_kerror)(res) ? -1 : 0;
}
=20
-/* Terminate this single thread */
-void VG_(exit_single)( Int status )
-{
- (void)VG_(do_syscall1)(__NR_exit, status );
- /* Why are we still alive here? */
- /*NOTREACHED*/
- *(volatile Int *)0 =3D 'x';
- vg_assert(2+2 =3D=3D 5);
-}
-
/* Pull down the entire world */
void VG_(exit)( Int status )
{
Modified: trunk/include/tool.h.base
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/include/tool.h.base 2005-05-08 02:10:27 UTC (rev 3632)
+++ trunk/include/tool.h.base 2005-05-08 02:13:47 UTC (rev 3633)
@@ -333,10 +333,6 @@
extern void VG_(exit)( Int status )
__attribute__ ((__noreturn__));
=20
-/* terminate the calling thread - probably not what you want */
-extern void VG_(exit_single)( Int status )
- __attribute__ ((__noreturn__));
-
/* Prints a panic message (a constant string), appends newline and bug
reporting info, aborts. */
__attribute__ ((__noreturn__))
|