> After a lengthy debugging session it turns out this is the change that breaks 
> core file loading on FreeBSD. The core file has no sections (the core data 
> and thread / register notes are in program segments), so 
> ParseSectionHeaders() returns 0.

Oh dang.  I originally had a comment on that in the first version of the patch 
to draw attention to whether that was valid or not to have no sections.  I 
ultimately removed the comment.

Okay - so I can easily just call the method.  Of course, if there are no 
sections, it also won't pick up the notes either.  Is this a case where its 
creating a module on the fly?

http://reviews.llvm.org/D4302



_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to