<div dir="ltr"><div>I have ported lldb for remotely debugging our target. The lldb is connected to the target simulator using the gdb remote protocol.</div><div><br></div><div>$lldb --arch vliw app.elf</div><div>(lldb)process connect --plugin gdb-remote connect://localhost:51000</div>
<div><br></div><div>The above command connects the lldb with the target simulator waiting at port '51000'. And the debug commands work properly.</div><div><br></div><div>But once the execution of the application completes, I am facing the problem in restarting the application for debugging again.</div>
<div><br></div><div>For restarting the application being debugged, I think lldb should send the 'R' packet. When would lldb send the 'R' packet?</div><div><br></div><div>Currently the target simulator sends the SIGTERM signal (T0fthread:0001) after completing the program execution. And on receiving this signal, lldb doesn't doesn't display the message "Program exited normally". </div>
<div><br></div><div>Also when I gave the 'continue' command to restart the application debugging again, lldb sends the 'C0f' packet.</div><div><br></div><div><br></div><div style>Thanks,</div><div style>Chandra Kumar R.</div>
</div>