Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Aug 2011 11:40:58 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Marius Strobl <marius@alchemy.franken.de>
Cc:        src-committers@FreeBSD.org, Ruslan Mahmatkhanov <cvs-src@yandex.ru>, Garrett Cooper <yanegomi@gmail.com>, svn-src-all@FreeBSD.org, Andriy Gapon <avg@FreeBSD.org>, svn-src-head@FreeBSD.org
Subject:   Re: svn commit: r224683 - head/lib/libthread_db
Message-ID:  <937CC3F7-CA11-4C85-AB45-8EB4431B7FEE@xcllnt.net>
In-Reply-To: <20110807115256.GG48988@alchemy.franken.de>
References:  <201108061748.p76HmUbM061259@svn.freebsd.org> <4E3DA560.6020100@yandex.ru> <CAGH67wSFRXLRBVcoR8RME111pE7UaZ%2By-k8qmTtCkOy%2BMC3Dhw@mail.gmail.com> <4E3DBAF8.5040102@FreeBSD.org> <20110806232415.GE48988@alchemy.franken.de> <96C6C36B-E521-4438-9AEF-59D9A922D3B4@xcllnt.net> <20110807115256.GG48988@alchemy.franken.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On Aug 7, 2011, at 4:52 AM, Marius Strobl wrote:
> 
> Okay, but then I don't know how to properly fix this given that
> thr_p{read,write}_long() still seem to do the wrong thing as they
> supply sizeof(long) rather than the size of a long on the target
> to thr_p{read,write}() as the size of the value in the target
> address space.

Don't worry about cross use. The implementation isn't quite there
yet. That's why you see sizeof(long) in some places even though
that's obviously only vid for the native case.

FYI,

-- 
Marcel Moolenaar
marcel@xcllnt.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?937CC3F7-CA11-4C85-AB45-8EB4431B7FEE>