From: Tom Hughes Date: Sun, 16 Oct 2005 13:52:50 +0000 (+0000) Subject: Removed remaining traces of address space padding technology as it X-Git-Tag: svn/VALGRIND_3_1_0~294 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c0c5256036f3db0d5606bdbeeac92308739d0ead;p=thirdparty%2Fvalgrind.git Removed remaining traces of address space padding technology as it is not longer relevant with the new address space manager. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4938 --- diff --git a/coregrind/m_syswrap/syswrap-main.c b/coregrind/m_syswrap/syswrap-main.c index 44393294f4..469eb4aa98 100644 --- a/coregrind/m_syswrap/syswrap-main.c +++ b/coregrind/m_syswrap/syswrap-main.c @@ -722,7 +722,6 @@ void VG_(client_syscall) ( ThreadId tid ) /* Syscall may block, so run it asynchronously */ vki_sigset_t mask; -// vg_assert(!(sci->flags & PadAddr)); PRINT(" --> [async] ... \n"); mask = tst->sig_mask; @@ -769,9 +768,6 @@ void VG_(client_syscall) ( ThreadId tid ) guest state. Indeed doing so could be construed as incorrect. */ -// if (sci->flags & PadAddr) -// VG_(pad_address_space)(VG_(client_end)); - SysRes sres = VG_(do_syscall6)(sysno, sci->args.arg1, sci->args.arg2, sci->args.arg3, sci->args.arg4, @@ -891,13 +887,6 @@ void VG_(post_syscall) (ThreadId tid) VG_TDICT_CALL(tool_post_syscall, tid, sysno, res); } -//zz if (flags & PadAddr) { -//zz vg_assert(!mayBlock); -//zz VG_(unpad_address_space)(VG_(client_end)); -//zz //VG_(sanity_check_memory)(); -//zz } -//zz - /* The syscall is done. */ sci->status.what = SsIdle;