<div dir="ltr">Hi,<div>I have been trying to debug my kernel Extension. In order to enter a kernel into a panic mode, I have put hard debug point using (int $3). When the target system starts, the kernel waits into panic mode for debugger to attach.</div><div><br></div><div>Now the problem is:</div><div><br></div><div>What should I set target in lldb command<span class="gmail-comment-copy" style="font-size:13px;margin:0px;padding:0px;border:0px;color:rgb(36,39,41);font-family:arial,"helvetica neue",helvetica,sans-serif;line-height:16.9px">? I have mach_kernel from KDK (kernel debug kit) and also have my own kernel extension. if I set mach_kernel a target I am not able put breakpoint in my kernel extension and if I make target as my kernel ext ..i can put breakpoint but then after hitting continue it says invalid process ..... So the question is how to proceed after connecting bebugger in panic mode???</span><span style="font-size:13px;color:rgb(36,39,41);font-family:arial,"helvetica neue",helvetica,sans-serif;line-height:16.9px"> – </span><a href="http://stackoverflow.com/users/6458887/hrishikesh-chaudhari" title="6 reputation" class="gmail-comment-user gmail-owner" style="font-size:13px;margin:0px;padding:1px 5px;border:0px;color:rgb(0,119,204);text-decoration:none;white-space:nowrap;font-family:arial,"helvetica neue",helvetica,sans-serif;line-height:16.9px;background-color:rgb(224,234,241)">hrishikesh chaudhari</a><span style="font-size:13px;color:rgb(36,39,41);font-family:arial,"helvetica neue",helvetica,sans-serif;line-height:16.9px"> </span><span class="gmail-comment-date" dir="ltr" style="font-size:13px;margin:0px;padding:0px;border-top-width:0px;border-right-width:0px;border-left-width:0px;border-bottom-style:none;border-color:initial;color:rgb(145,153,161);font-family:arial,"helvetica neue",helvetica,sans-serif;line-height:16.9px"><a class="gmail-comment-link" href="http://stackoverflow.com/questions/38372082/how-to-do-remote-kernel-degugging-on-maverics-10-9-osx-using-lldb/38525793#comment64448058_38372082" style="margin:0px;padding:0px;border-top-width:0px;border-right-width:0px;border-left-width:0px;border-bottom-style:none;border-color:initial;color:rgb(0,89,153);text-decoration:none"><span title="2016-07-22 12:52:43Z" class="gmail-relativetime-clean" style="margin:0px;padding:0px;border:0px">Jul 22 at 12:52</span></a></span><span style="font-size:13px;color:rgb(36,39,41);font-family:arial,"helvetica neue",helvetica,sans-serif;line-height:16.9px">   </span></div><div><a class="gmail-comment-delete gmail-delete-tag" title="delete this comment" style="padding:0px;border:0px;font-size:13px;color:rgb(0,119,204);overflow:hidden;width:14px;height:14px;vertical-align:middle;display:inline-block;font-family:arial,"helvetica neue",helvetica,sans-serif;line-height:16.9px;background-image:url("");background-position:-40px -319px;background-repeat:no-repeat"></a><div>Thanks</div>-- <br><div class="gmail_signature"><p><font face="comic sans ms,sans-serif" color="#cc0000">Hrishikesh Chaudahri</font></p></div>
</div></div>