Re: [lldb-dev] did anyone konw LLDB support lldb + openocd to run dotest.py in bare board like ARM or other non-x86 architecture?

2017-10-26 Thread cui bixiong via lldb-dev
Hi : I build a armhf qemu enviroment to test ARM lldb + lldb-server testsuite. source code base on LLVM + LLDB + LLD + CLANG formal release 5.0.0. Target: lldb-server platform --listen *: --server Host : (lldb) platform select remote-linux Platform: remote-linux Con

Re: [lldb-dev] did anyone konw LLDB support lldb + openocd to run dotest.py in bare board like ARM or other non-x86 architecture?

2017-10-24 Thread cui bixiong via lldb-dev
Hi sorry, i'm confuse, in my mind, lldb-server maybe like gdb-server, running on Linux-like platform listening RSP command which send form gdb and use ptrace syscall to debug which you want to debug program is it support remote download to batch mode run all testsuite? certainly i think

Re: [lldb-dev] how to load elf to the remote

2017-10-18 Thread cui bixiong via lldb-dev
Hi all: i still have the same problem, did lldb support for ARM or other non-X86 platform run remote lldb-testsuite ? Best Regards --cuibixiong On Thu, Oct 19, 2017 at 8:59 AM, 眼镜 via lldb-dev wrote: > >>> python dotest.py --compiler //x --log-success -p xx.py > > I

Re: [lldb-dev] how to load elf to the remote

2017-10-18 Thread cui bixiong via lldb-dev
Hi all: Best Regards --cuibixiong On Thu, Oct 19, 2017 at 8:59 AM, 眼镜 via lldb-dev wrote: > >>> python dotest.py --compiler //x --log-success -p xx.py > > I want to run lldb testsuite on the remote (Dev Kit), but can not > load elf to the remote. Now, i need your help,

Re: [lldb-dev] How can lldb debug a remote bare-metal platform?

2017-09-20 Thread cui bixiong via lldb-dev
believe that there is no process on the other end. So later > when you try to say "process launch", it tries to send the "A" packet which > tries to launch your program by sending the name of the process file to > launch. > > There was recently an Op

Re: [lldb-dev] How can lldb debug a remote bare-metal platform?

2017-09-18 Thread cui bixiong via lldb-dev
t. Since it is a bare board connection, it > should respond with "1" (one) to the "qfThreadInfo" packet followed by "l" > to the next ThreadInfo packet (read GDB protocol docs on this. > > Let me know if the patch mentioned above (which is already checked in)

[lldb-dev] How can lldb debug a remote bare-metal platform?

2017-09-17 Thread cui bixiong via lldb-dev
Hi: Currently I porting lldb for Hifive1 (riscv bare board) w/ openocd 0.10.0, but it always show "error: Process must be launched." I use GNU gdb to remote connect and debugging w/ the same openocd + elf, it work OK. I want to know how to launch Process in bare board? thanks a