Re: [lldb-dev] How to disassemble a section (python api)?

2015-11-13 Thread kwadwo amankwa via lldb-dev
Nice one , Cheers mate On 13/11/15 23:30, kwadwo amankwa wrote: Nice one , Cheers mate On 13/11/15 19:31, Greg Clayton wrote: Currently you can't disassemble a section, nor would you probably want to since there are padding bytes in between functions. The easiest way is to get all SBSymbol

Re: [lldb-dev] How to disassemble a section (python api)?

2015-11-13 Thread kwadwo amankwa via lldb-dev
On 13/11/15 19:31, Greg Clayton wrote: Currently you can't disassemble a section, nor would you probably want to since there are padding bytes in between functions. The easiest way is to get all SBSymbol objects and ask each one for the instructions if they are code: (lldb) script Python In

Re: [lldb-dev] How to disassemble a section (python api)?

2015-11-13 Thread Greg Clayton via lldb-dev
Currently you can't disassemble a section, nor would you probably want to since there are padding bytes in between functions. The easiest way is to get all SBSymbol objects and ask each one for the instructions if they are code: (lldb) script Python Interactive Interpreter. To exit, type 'quit(

[lldb-dev] Is there a way to inspect signaled stack?

2015-11-13 Thread Eugene Birukov via lldb-dev
Hi, I am running on Ubuntu Linux. I am using a custom debugger built upon LLDB C++ API using version 3.7. The target program issues a lot of "legitimate" SIGSEGV signals that it handles itself. Its signal handler runs on a separate stack (it uses sigaltstack() and SA_ONSTACK). Now, sometimes a b

Re: [lldb-dev] swig generation

2015-11-13 Thread Zachary Turner via lldb-dev
On Fri, Nov 13, 2015 at 10:24 AM Todd Fiala wrote: > On Fri, Nov 13, 2015 at 9:43 AM, Zachary Turner > wrote: > >> On Fri, Nov 13, 2015 at 9:02 AM Todd Fiala via lldb-dev < >> lldb-dev@lists.llvm.org> wrote: >> >>> Hi all, >>> >>> I'd like to do a few things with our swig generation and handling

Re: [lldb-dev] Two CLs requiring changes to the Xcode project

2015-11-13 Thread Todd Fiala via lldb-dev
Looks like everything was covered. Thanks, all! On Thu, Nov 12, 2015 at 7:07 PM, Zachary Turner wrote: > Thanks! I actually forgot, there's one more file for the lldb-gtest > target. It's PythonExceptionStateTests.cpp. > > Thanks for the help > > On Thu, Nov 12, 2015 at 6:05 PM Jason Molenda

Re: [lldb-dev] swig generation

2015-11-13 Thread Todd Fiala via lldb-dev
I will probably tackle this as two phases: Phase 1: * Python script modernization (the python swig wrapper generation) * Move Xcode onto it. Phase 2: * The maintainer-mode, static Python binding generation changes for cmake and Xcode. I want to make sure we have proven, still-functional Python f

Re: [lldb-dev] swig generation

2015-11-13 Thread Todd Fiala via lldb-dev
On Fri, Nov 13, 2015 at 10:24 AM, Todd Fiala wrote: > > > On Fri, Nov 13, 2015 at 9:43 AM, Zachary Turner > wrote: > >> On Fri, Nov 13, 2015 at 9:02 AM Todd Fiala via lldb-dev < >> lldb-dev@lists.llvm.org> wrote: >> >>> Hi all, >>> >>> I'd like to do a few things with our swig generation and han

Re: [lldb-dev] swig generation

2015-11-13 Thread Todd Fiala via lldb-dev
On Fri, Nov 13, 2015 at 9:43 AM, Zachary Turner wrote: > On Fri, Nov 13, 2015 at 9:02 AM Todd Fiala via lldb-dev < > lldb-dev@lists.llvm.org> wrote: > >> Hi all, >> >> I'd like to do a few things with our swig generation and handling: >> >> * Create a maintainer-mode style setup where the swig Py

Re: [lldb-dev] swig generation

2015-11-13 Thread Zachary Turner via lldb-dev
On Fri, Nov 13, 2015 at 9:02 AM Todd Fiala via lldb-dev < lldb-dev@lists.llvm.org> wrote: > Hi all, > > I'd like to do a few things with our swig generation and handling: > > * Create a maintainer-mode style setup where the swig Python bindings are > generated and checked into the repo (I'll call

[lldb-dev] swig generation

2015-11-13 Thread Todd Fiala via lldb-dev
Hi all, I'd like to do a few things with our swig generation and handling: * Create a maintainer-mode style setup where the swig Python bindings are generated and checked into the repo (I'll call it the static python binding). This will be used by default, removing the need for most people and a

Re: [lldb-dev] LLDB expressions confused by overloading

2015-11-13 Thread Aidan Dodds via lldb-dev
Hi Greg, It turns out that the problem I was having was fixed when I patched a bug in DwarfSymbolFile: http://reviews.llvm.org/D14538 But thanks for the additional info. Aidan On 12/11/2015 17:54, Greg Clayton wrote: On Nov 5, 2015, at 9:43 AM, Aidan Dodds via lldb-dev wrote: I believe