[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [valgrind] [Bug 79362] Debug info is lost for .so files when they are dlclose'd
From:       Julian Seward <bugzilla_noreply () kde ! org>
Date:       2017-08-01 6:49:42
Message-ID: bug-79362-17878-XYTvmfE7n6 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=79362

--- Comment #66 from Julian Seward <jseward@acm.org> ---
(In reply to Philippe Waroquiers from comment #63)

Thanks for the feedback.  I'll fix the small stuff.

> * For execontext, instead of just storing the execcontext
>   (e.g. in an mc chunk allocated by memecheck for each block), we now store
>   an execontext + epoch.

I did consider this design, in some detail, but decided not to do that.
Instead I kept semantics of ExeContext unchanged and added a new type
ExeContextAndEpoch.

The problem is that we would lose the ability to do pointer-comparisons
on ExeContext*s.  Currently, if two ExeContext*s (the addresses) are
different then we are sure that the vectors of addresses are different
(and vice versa), because m_execontext.c carefully de-duplicates them.
And I was unsure what to do about maintaining those semantics if we add
an epoch to ExeContext.

That said, fixing XTree, the GDB server and all the other tools (if it
is possible) would be a good thing.

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic