How to setup LLDB with "openocd and JTAG board"
<p>I'm trying to use lldb with openocd/jtag board but I'm in trouble.
I already use openocd with gdb to develop on L0 STMicroelectronics board and it works perfectly.
Now I want the same with lldb.</p>

<p>I do that on LLDB host side</p>

<pre><code>$ lldb bin/token.elf 
(lldb) target create "bin/token.elf"
Current executable set to 'bin/token.elf' (arm).
(lldb) platform select remote-gdb-server
  Platform: remote-gdb-server
  Connected: no
(lldb) platform connect connect://localhost:5557
  Platform: remote-gdb-server
  Hostname: (null)
  Connected: yes
(lldb) target list 
Current targets:
* target #0: /home/cme/Projects/Tacos/ledger/trunk/se/build/st31_bolos/bin/token.elf ( arch=arm-unknown-unknown, platform=host )
</code></pre>

<p>On the openocd/GDB server side I correctly see the "Info : accepting 'gdb' connection on tcp/5557"</p>

<p>But now I don't found how to continue:</p>

<pre><code>(lldb) process launch 
error: process launch failed: Child exec failed.
</code></pre>

<p>I also tried "process continue", but lldb complains there is no process</p>

<p>With gdb, the process is considered as already running and I use reset/continue commands, never the 'run' command.</p>

<p>Does anybody know how to use lldb with openocd/jtag gdb-server?</p>

<p>Thanks for your help</p>

<p>C/M.</p>