[Lldb-commits] [PATCH] Fix -gdb-exit to detach if was attached or destroy otherwise (MI)

Greg Clayton clayborg at gmail.com
Thu Mar 12 10:57:37 PDT 2015


Process::Finalize() only gets called when the lldb_private::Process destructor is called. We should do similar logic in lldb_private::Process::Destroy(). Currently Process::Destroy() calls the virtual WillDestrory(), DoDestroy() and DidDestroy(), but we should probably fix Process::Destroy() to do more generic logic and check the GetShouldDetach() and call Process::Detach() first before calling the subclass DoDestroy()...


http://reviews.llvm.org/D8298

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list