|
From: <sv...@va...> - 2005-06-10 23:16:16
|
Author: njn Date: 2005-06-11 00:16:13 +0100 (Sat, 11 Jun 2005) New Revision: 3874 Log: Move two decls out of core.h into pub_core_syscalls.h where they belong. Modified: trunk/coregrind/core.h trunk/coregrind/pub_core_syscalls.h Modified: trunk/coregrind/core.h =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/core.h 2005-06-10 23:09:45 UTC (rev 3873) +++ trunk/coregrind/core.h 2005-06-10 23:16:13 UTC (rev 3874) @@ -220,13 +220,6 @@ // Run a thread from beginning to end.=20 extern VgSchedReturnCode VGO_(thread_wrapper)(Word /*ThreadId*/ tid); =20 -// Allocates a stack for the first thread, then runs it, -// as if the thread had been set up by clone() -extern void VGP_(main_thread_wrapper_NORETURN)(ThreadId tid); - -// Return how many bytes of a thread's Valgrind stack are unused -extern SSizeT VGA_(stack_unused)(ThreadId tid); - // wait until all other threads are dead extern void VGA_(reap_threads)(ThreadId self); =20 @@ -300,3 +293,4 @@ /*--------------------------------------------------------------------*/ /*--- end ---*/ /*--------------------------------------------------------------------*/ + Modified: trunk/coregrind/pub_core_syscalls.h =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/pub_core_syscalls.h 2005-06-10 23:09:45 UTC (rev 3873= ) +++ trunk/coregrind/pub_core_syscalls.h 2005-06-10 23:16:13 UTC (rev 3874= ) @@ -36,6 +36,13 @@ // but also the code that executes them, and related stuff. //-------------------------------------------------------------------- =20 +// Return how many bytes of a thread's Valgrind stack are unused +extern SSizeT VGA_(stack_unused)(ThreadId tid); + +// Allocates a stack for the first thread, then runs it, +// as if the thread had been set up by clone() +extern void VGP_(main_thread_wrapper_NORETURN)(ThreadId tid); + extern HChar* VG_(resolve_filename_nodup)(Int fd); extern HChar* VG_(resolve_filename)(Int fd); =20 |