> On Oct 24, 2017, at 12:02 AM, cui bixiong <cuibixi...@gmail.com> wrote: > > 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 reset baseboard is very important feature too, but in lldb-server > maybe not support currently i guess.
Yes lldb-server does support a full connection to a remote OS. On baseboards you are typically debugging the entire OS so lldb-server won't work because you have to OS to run it in the background. Supporting the test suite on baseboards will take some effort. > > Best Regards > --cuibixiong > > On Mon, Oct 23, 2017 at 11:06 PM, Greg Clayton <clayb...@gmail.com > <mailto:clayb...@gmail.com>> wrote: > > > On Oct 22, 2017, at 6:21 AM, cuibixiong via lldb-dev > > <lldb-dev@lists.llvm.org <mailto:lldb-dev@lists.llvm.org>> wrote: > > > > Hi > > > > did anyone konw LLDB support lldb + openocd to run dotest.py in bare > > board like ARM or other non-x86 architecture? > > We run the test suite on iOS devices using the platform stuff. This requires > a running lldb-server on the remote system, so we only have the test suite > running when we have the lldb-server running in platform mode on the other > side. For this to work with baseboards, we would need the JTAG box to respond > to many GDB remote protocol packets that "lldb-server platform" implements. I > am sure for baseboards the test suite would need to be modified. A few ideas > there: > - Have the test suite watch for a triple with no os (like "arm64-none-none") > and have it go into a baseboard mode > - Many tests that might rely on writing to files, reading from files for > stdin, and others, would need to be skipped in this mode > - Any tests that build and debug shared libraries would either need to be > modified to build multiple static binaries or skipped > - We might need to make a Bareboard platform and would load the ELF files > into memory instead of copying them over like the current platforms do > > So there would be quite a lot of modifications required to get the test suite > running. We will be happy to help you if you choose to try this. > > Greg Clayton > > > > > Best Regards > > —cuibixiong > > _______________________________________________ > > lldb-dev mailing list > > lldb-dev@lists.llvm.org <mailto:lldb-dev@lists.llvm.org> > > http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev > > <http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev> > >
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev