Re: [lldb-dev] Bot failure with new "in tree compiler" changes (r316728) in llvm.org bot

2017-11-07 Thread Don Hinton via lldb-dev
I hit the same problem last week. I ended up blowing away my build directory, and the problem went away. Probably a cache issue, but I was unable to reproduce... On Tue, Nov 7, 2017 at 10:21 AM, Jim Ingham via lldb-dev < lldb-dev@lists.llvm.org> wrote: > The lldb_cmake GreenDragon bot is now

Re: [lldb-dev] What's the best way to use "--all-files" option from python?

2017-10-24 Thread Don Hinton via lldb-dev
db uses the "default file" i.e. when you run "break set -p" but don't >> supply a file or the --all-files option. That seemed to me less useful for >> a programming interface since the default file is history dependent (it's >> the file with "main" in

Re: [lldb-dev] What's the best way to use "--all-files" option from python?

2017-10-23 Thread Don Hinton via lldb-dev
it's > the file with "main" in it before you run, then it's where you last set a > breakpoint, or where you last stopped, etc.) If you needed this behavior > it would be better to have the target vend the default file, though right > now that's really only maintained by the

[lldb-dev] What's the best way to use "--all-files" option from python?

2017-10-23 Thread Don Hinton via lldb-dev
The only way I've been able to do it is by using the CommandInterpreter, i.e., res = lldb.SBCommandReturnObject() lldb.debugger.GetCommandInterpreter().HandleCommand('breakpoint set -p "diag::%s" --all-files -N %s' % (name, name), res);