Re: [lldb-dev] Minimum required swig version?

2020-04-16 Thread Davidino Italiano via lldb-dev
> On Apr 16, 2020, at 3:08 PM, Jonas Devlieghere wrote: > > > > On Thu, Apr 16, 2020 at 2:42 PM Davidino Italiano via lldb-dev > mailto:lldb-dev@lists.llvm.org>> wrote: > > >> On Apr 16, 2020, at 2:28 PM, Ted Woodward via lldb-dev >> mailto:lldb-dev@lists.llvm.org>> wrote: >> >> http://l

Re: [lldb-dev] Minimum required swig version?

2020-04-16 Thread Jonas Devlieghere via lldb-dev
On Thu, Apr 16, 2020 at 2:42 PM Davidino Italiano via lldb-dev < lldb-dev@lists.llvm.org> wrote: > > > On Apr 16, 2020, at 2:28 PM, Ted Woodward via lldb-dev < > lldb-dev@lists.llvm.org> wrote: > > http://lldb.llvm.org/resources/build.html Says we need swig 2 or later: > > If you want to run the t

Re: [lldb-dev] Minimum required swig version?

2020-04-16 Thread Davidino Italiano via lldb-dev
> On Apr 16, 2020, at 2:28 PM, Ted Woodward via lldb-dev > wrote: > > http://lldb.llvm.org/resources/build.html > Says we need swig 2 or later: > If you want to run the test suite, you’ll need to build LLDB with Python > scripting support. > > ·

[lldb-dev] Minimum required swig version?

2020-04-16 Thread Ted Woodward via lldb-dev
http://lldb.llvm.org/resources/build.html Says we need swig 2 or later: If you want to run the test suite, you'll need to build LLDB with Python scripting support. * Python * SWIG 2 or later. I don't think this is correct anymore. test/A

Re: [lldb-dev] LLDB problems on remote debugging

2020-04-16 Thread Ted Woodward via lldb-dev
Hi Rui, What you describe is almost identical to what we do with the Hexagon simulator. There are 2 ways to launch your program - “run” (process launch) and gdb-remote (an attach). “run” will require some plumbing to launch your simulator the same way that lldb-server/debugserver is launched.

[lldb-dev] LLDB problems on remote debugging

2020-04-16 Thread Rui Hong via lldb-dev
Hi LLDB devs, I'm working on porting LLDB to work with an existing simulator(which has GDB stub, remote debugging). This simulator used to work with GDB. When using with GDB, the target file(ELF) is loaded by GDB command "load" or "remote put". From a LLVM talk project which is very similar to m