On Dec 8, 2007 12:50 AM, Nicholas Nethercote <[EMAIL PROTECTED]> wrote:
> Tom, can you try the following. In createSecVBitTable(), change the NULL
> parameter passed to OSetGen_Create to 'mycmp', and define 'mycmp' as
> follows:
>
> Word mycmp( void* key, void* elem )
> {
> Addr a1 = *(Addr*)key;
> SecVBitNode* n = (SecVBitNode*)elem;
> Addr a2 = n->a;
> if (a1 < a2) return -1;
> if (a1 > a2) return 1;
> return 0;
> }
>
> This does give the ordering that we expect for Addrs. Does the assertion
> still occur in this case?
No - that fixes the original assertion that I was seeing.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers