On Thursday 10 January 2008, [EMAIL PROTECTED] wrote:
>  Uninitialised byte(s) found during client check request
>     at 0x4005FE: croak (dsyms2.c:23)
>     by 0x40066D: main (dsyms2.c:49)
>   Address 0x601043 is 7 bytes inside global var "global_i2"
> 
> Not terribly useful, but it's a start.

It is useful.

An interesting thing for cachegrind/callgrind would be to get global figures
on cache events related to data names. This would involve calling
VG_(get_dataname_and_offset) for every read/write access, which is a lot of
overhead.

A solution would be that a tool can build up its own optimized data structure
at the time the debug info of an ELF object is read in. One would need a hook
for this...

Do you have plans to resolve variable names for addresses from stack frames,
ie. something like
 VG_(get_dataname_and_offset_from_stackframe)(Char* function, Int stackoffset, 
...)
?

Cheers,
Josef

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to