|
From: <sv...@va...> - 2005-09-29 10:24:27
|
Author: sewardj
Date: 2005-09-29 11:24:17 +0100 (Thu, 29 Sep 2005)
New Revision: 4818
Log:
Comment-only changes
Modified:
trunk/coregrind/m_syswrap/syswrap-amd64-linux.c
trunk/coregrind/m_syswrap/syswrap-x86-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-amd64-linux.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/m_syswrap/syswrap-amd64-linux.c 2005-09-29 00:35:18 U=
TC (rev 4817)
+++ trunk/coregrind/m_syswrap/syswrap-amd64-linux.c 2005-09-29 10:24:17 U=
TC (rev 4818)
@@ -212,9 +212,11 @@
" ud2\n" // should never get here
);
=20
-/*
- Allocate a stack for the main thread, and run it all the way to the
- end. =20
+
+/* Allocate a stack for the main thread, and run it all the way to the
+ end. Although we already have a working VgStack
+ (VG_(interim_stack)) it's better to allocate a new one, so that
+ overflow detection works uniformly for all threads.
*/
void VG_(main_thread_wrapper_NORETURN)(ThreadId tid)
{
Modified: trunk/coregrind/m_syswrap/syswrap-x86-linux.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/m_syswrap/syswrap-x86-linux.c 2005-09-29 00:35:18 UTC=
(rev 4817)
+++ trunk/coregrind/m_syswrap/syswrap-x86-linux.c 2005-09-29 10:24:17 UTC=
(rev 4818)
@@ -214,7 +214,7 @@
=20
/* Allocate a stack for the main thread, and run it all the way to the
end. Although we already have a working VgStack
- (VG_(the_root_stack)) it's better to allocate a new one, so that
+ (VG_(interim_stack)) it's better to allocate a new one, so that
overflow detection works uniformly for all threads.
*/
void VG_(main_thread_wrapper_NORETURN)(ThreadId tid)
|