]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Removed remaining traces of address space padding technology as it
authorTom Hughes <tom@compton.nu>
Sun, 16 Oct 2005 13:52:50 +0000 (13:52 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 16 Oct 2005 13:52:50 +0000 (13:52 +0000)
is not longer relevant with the new address space manager.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4938

coregrind/m_syswrap/syswrap-main.c

index 44393294f452dbee7e9feab31729c07c7389bfbe..469eb4aa981608345661f9e7ae09b84098b753dc 100644 (file)
@@ -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;