Ability to load core dumps through python interface on maci64

Hi,

Patch to teach lldb to load core files via python interface is attached (thanks Samuel!). From my rudimentary testing on maci64, it appears to work.

Any chance this functionality can make it to the product?

Thanks and Regards,

Prabhat

core-python.diff (3.16 KB)

There is no need for the changes to SBProcess.h and SBProcess.cpp and this can all be done internally (no one would ever use the SBProcess::LoadCore() so this should all be handled internally in SBTarget::LoadCore()).

I have a cleaned up patch that I will commit soon.

That makes sense. Thank you Greg!
We are really looking forward to this functionality esp. on maci64 but would rather have this in-product than a local patch. Should we post separately on Apple dev forum?

Thanks and Regards,
Prabhat