[Lldb-commits] [PATCH] D18697: Fix a bug in linux core file handling
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 1 09:09:12 PDT 2016
What if you are simultaneously debugging 2 processes with the same pid?
Does this fail?
On Fri, Apr 1, 2016 at 9:06 AM Pavel Labath <labath at google.com> wrote:
> labath created this revision.
> labath added reviewers: clayborg, zturner.
> labath added a subscriber: lldb-commits.
> There was a bug in linux core file handling, where if there was a running
> process with the same
> process id as the id in the core file, the core file debugging would fail,
> as we would pull some
> pieces of information (ProcessInfo structure) from the running process
> instead of the core file.
> I fix this by routing the ProcessInfo requests through the Process class
> and overriding it in
> ProcessElfCore to return correct data.
> A (slightly convoluted) test is included.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-commits