From: Nicholas Nethercote Date: Fri, 4 Oct 2002 09:22:30 +0000 (+0000) Subject: comment wibbles X-Git-Tag: svn/VALGRIND_1_9_4~252 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd6989e7b7eacc3a019dbbfdb9258e6f17d2c50d;p=thirdparty%2Fvalgrind.git comment wibbles git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1175 --- diff --git a/addrcheck/ac_main.c b/addrcheck/ac_main.c index 3063b1a0ff..ac38e9bad9 100644 --- a/addrcheck/ac_main.c +++ b/addrcheck/ac_main.c @@ -1304,8 +1304,7 @@ void check_is_readable_asciiz ( CorePart part, ThreadState* tst, static void addrcheck_new_mem_startup( Addr a, UInt len, Bool rr, Bool ww, Bool xx ) { - // JJJ: this ignores the permissions and just makes it readable, like the - // old code did, AFAICT + /* Ignore the permissions, just make it readable. Seems to work... */ DEBUG("new_mem_startup(%p, %u, rr=%u, ww=%u, xx=%u)\n", a,len,rr,ww,xx); SK_(make_accessible)(a, len); } diff --git a/helgrind/hg_main.c b/helgrind/hg_main.c index f824be9d73..68276e164e 100644 --- a/helgrind/hg_main.c +++ b/helgrind/hg_main.c @@ -778,8 +778,7 @@ void eraser_pre_mem_write(CorePart part, ThreadState* tst, static void eraser_new_mem_startup( Addr a, UInt len, Bool rr, Bool ww, Bool xx ) { - // JJJ: this ignores the permissions and just makes it readable, like the - // old code did, AFAICT + /* Ignore the permissions, just make it readable. Seems to work... */ make_segment_readable(a, len); } diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c index c6ddc142e0..2e8f7120a2 100644 --- a/memcheck/mc_main.c +++ b/memcheck/mc_main.c @@ -873,8 +873,7 @@ void check_is_readable_asciiz ( CorePart part, ThreadState* tst, static void memcheck_new_mem_startup( Addr a, UInt len, Bool rr, Bool ww, Bool xx ) { - // JJJ: this ignores the permissions and just makes it readable, like the - // old code did, AFAICT + /* Ignore the permissions, just make it readable. Seems to work... */ DEBUG("new_mem_startup(%p, %u, rr=%u, ww=%u, xx=%u)\n", a,len,rr,ww,xx); SK_(make_readable)(a, len); }