[lldb-dev] Problem with watchpoints

2016-09-08 Thread Ted Woodward via lldb-dev
I recently discovered a problem with watchpoints talking to the Hexagon simulator: (lldb) w s e 0x1000 error: Watchpoint creation failed (addr=0x1000, size=4). error: Target supports (0) hardware watchpoint slots. It seems that lldb now sends a qWatchpointSupportInfo packet. But this p

[lldb-dev] Syntax/documentation on continuing from a breakpoint in a one-line python script

2016-09-08 Thread Randy Smith via lldb-dev
I've been playing around with lldb and customization in python recently, and the interface seems unclear and/or broken around continuing from a breakpoint when using a one-line python script ("breakpoint command add -s python -o "). The documentation isn't clear about whether this works with a one

Re: [lldb-dev] LLDB REFORMATTING IN PROGRESS

2016-09-08 Thread Tobias Grosser via lldb-dev
On Thu, Sep 8, 2016, at 11:14 AM, Pavel Labath via lldb-dev wrote: > The clang format webpage > recommends the following (I haven't tried it, but it sounds like it > should work): > svn diff --diff-cmd=diff -x -U0 | clang-format-diff.py -i > > I also e

Re: [lldb-dev] LLDB REFORMATTING IN PROGRESS

2016-09-08 Thread Pavel Labath via lldb-dev
The clang format webpage recommends the following (I haven't tried it, but it sounds like it should work): svn diff --diff-cmd=diff -x -U0 | clang-format-diff.py -i I also expected that running clang-format on the current tree would be a no-op, but act

Re: [lldb-dev] LLDB REFORMATTING IN PROGRESS

2016-09-08 Thread Ilia K via lldb-dev
But what about SVN users? :) Okay, I know format can be applied for modified fragments only. But why did we leave some places unformatted? I thought "clang-format -i `find include source tools -name '*.[cpp|h]'`" ends with empty diff. On Thu, Sep 8, 2016 at 10:19 AM, Zachary Turner wrote: > In o

Re: [lldb-dev] LLDB REFORMATTING IN PROGRESS

2016-09-08 Thread Zachary Turner via lldb-dev
In order to clang-format only the diff, you should use the "git clang-format" extension command. Search for git-clang-format (yes, that one has an extra dash), and there should be instructions inside On Thu, Sep 8, 2016 at 12:16 AM Ilia K wrote: > Hi! > > clang-formatting of my patch changed the

Re: [lldb-dev] LLDB REFORMATTING IN PROGRESS

2016-09-08 Thread Ilia K via lldb-dev
Hi! clang-formatting of my patch changed the style outside the patch (diff: https://reviews.llvm.org/D24331?vs=70653&id=70654). Am I doing something wrong? On Wed, Sep 7, 2016 at 1:06 PM, Pavel Labath via lldb-dev < lldb-dev@lists.llvm.org> wrote: > Windows unit tests passing now. All clear. > >