Re: [Lldb-commits] [PATCH] D22902: Fix -break-insert not working when using absolute paths

2016-07-28 Thread Marc-Andre Laperle via lldb-commits
malaperle added a comment. Thanks! Newcomer silly question: now that the change is accepted, is there any action required on my end? https://reviews.llvm.org/D22902 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D20436: Clean up vestigial remnants of locking primitives

2016-07-28 Thread Saleem Abdulrasool via lldb-commits
compnerd closed this revision. compnerd added a comment. SVN r277011 https://reviews.llvm.org/D20436 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D22902: Fix -break-insert not working when using absolute paths

2016-07-28 Thread Greg Clayton via lldb-commits
clayborg accepted this revision. clayborg added a comment. This revision is now accepted and ready to land. There should be a way to specify the lldb-mi binary. If there isn't feel free to add one to the test suite. https://reviews.llvm.org/D22902

Re: [Lldb-commits] [PATCH] D22902: Fix -break-insert not working when using absolute paths

2016-07-28 Thread Marc-Andre Laperle via lldb-commits
malaperle added a comment. In https://reviews.llvm.org/D22902#500174, @malaperle wrote: > This failed for me because lldb is a symlink to lldb-4.0.0 and lldb-4.0.0-mi > doesn't exist. I'm not sure if there either a way to not make it resolve the > symlink or if the script should be changed.

Re: [Lldb-commits] [PATCH] D22902: Fix -break-insert not working when using absolute paths

2016-07-28 Thread Marc-Andre Laperle via lldb-commits
malaperle updated this revision to Diff 66055. malaperle added a comment. The test actually already existed but now it passed. https://reviews.llvm.org/D22902 Files: packages/Python/lldbsuite/test/tools/lldb-mi/breakpoint/TestMiBreak.py tools/lldb-mi/MICmdArgValString.cpp

[Lldb-commits] [lldb] r277065 - Small refinement on the memory segment support in core files that

2016-07-28 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Jul 28 17:43:10 2016 New Revision: 277065 URL: http://llvm.org/viewvc/llvm-project?rev=277065=rev Log: Small refinement on the memory segment support in core files that Greg added in r272276 -- when working with a non-user-process mach-o core file, force the permissions

Re: [Lldb-commits] [PATCH] D22891: Remove a duplicated block in cmake.

2016-07-28 Thread Stephane Sezer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL277060: Remove a duplicated block in cmake. (authored by sas). Changed prior to commit: https://reviews.llvm.org/D22891?vs=65839=66038#toc Repository: rL LLVM https://reviews.llvm.org/D22891

[Lldb-commits] [lldb] r277060 - Remove a duplicated block in cmake.

2016-07-28 Thread Stephane Sezer via lldb-commits
Author: sas Date: Thu Jul 28 17:11:54 2016 New Revision: 277060 URL: http://llvm.org/viewvc/llvm-project?rev=277060=rev Log: Remove a duplicated block in cmake. Summary: This is supposed to find the python lib dir and seems like it's just been copied twice by mistake. Reviewers: tfiala

Re: [Lldb-commits] [PATCH] D18059: Add IR fixups for RenderScript ABI mismatch between ARMV7 frontend and x86 backend

2016-07-28 Thread Todd Fiala via lldb-commits
tfiala added a comment. > Ah! I see the email. Thanks for the clarification. > > Best > > Luke Sure thing :-) Sorry for the confusion. Repository: rL LLVM https://reviews.llvm.org/D18059 ___ lldb-commits mailing list

Re: [Lldb-commits] [PATCH] D22923: cleanup some format string warnings

2016-07-28 Thread Luke Drummond via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL277016: Cleanup some format string warnings (authored by ldrumm). Changed prior to commit: https://reviews.llvm.org/D22923?vs=65941=65960#toc Repository: rL LLVM https://reviews.llvm.org/D22923

[Lldb-commits] [lldb] r277016 - Cleanup some format string warnings

2016-07-28 Thread Luke Drummond via lldb-commits
Author: ldrumm Date: Thu Jul 28 13:19:33 2016 New Revision: 277016 URL: http://llvm.org/viewvc/llvm-project?rev=277016=rev Log: Cleanup some format string warnings Clean up format string warnings in ValueObjectSyntheticFilter.cpp to explictly cast "%p" params to void *` Subscribers:

[Lldb-commits] [lldb] r277013 - Host: correct use of std::condition_variable::wait_for

2016-07-28 Thread Saleem Abdulrasool via lldb-commits
Author: compnerd Date: Thu Jul 28 13:16:07 2016 New Revision: 277013 URL: http://llvm.org/viewvc/llvm-project?rev=277013=rev Log: Host: correct use of std::condition_variable::wait_for std::condition::wait_for takes a std::unique_lock. The previous commit accidentally left a reference to

Re: [Lldb-commits] [PATCH] D18059: Add IR fixups for RenderScript ABI mismatch between ARMV7 frontend and x86 backend

2016-07-28 Thread Luke Drummond via lldb-commits
ldrumm added a comment. In https://reviews.llvm.org/D18059#499525, @tfiala wrote: > In https://reviews.llvm.org/D18059#499522, @ldrumm wrote: > > > In https://reviews.llvm.org/D18059#499521, @tfiala wrote: > > > > > I've got a fix to make this work in Xcode, but I'm currently stuck behind > > >

Re: [Lldb-commits] [PATCH] D18059: Add IR fixups for RenderScript ABI mismatch between ARMV7 frontend and x86 backend

2016-07-28 Thread Todd Fiala via lldb-commits
tfiala added a comment. In https://reviews.llvm.org/D18059#499522, @ldrumm wrote: > In https://reviews.llvm.org/D18059#499521, @tfiala wrote: > > > I've got a fix to make this work in Xcode, but I'm currently stuck behind > > the missing Condition.cpp from r277011 to verify. > > > Thanks Todd.

Re: [Lldb-commits] [PATCH] D18059: Add IR fixups for RenderScript ABI mismatch between ARMV7 frontend and x86 backend

2016-07-28 Thread Luke Drummond via lldb-commits
ldrumm added a comment. In https://reviews.llvm.org/D18059#499521, @tfiala wrote: > I've got a fix to make this work in Xcode, but I'm currently stuck behind the > missing Condition.cpp from r277011 to verify. Thanks Todd. I don't really deal with XCode, so that's a real help. Regarding

Re: [Lldb-commits] [lldb] r277012 - Fixed up Xcode build for r276976 and r277011.

2016-07-28 Thread Todd Fiala via lldb-commits
> Also, fixed up typos in RenderScript code that could not possibly compile. Typo in that, it was MacOSX-Kernel *.KDP that had typos, not RenderScript. Pardon! On Thu, Jul 28, 2016 at 10:56 AM, Todd Fiala via lldb-commits < lldb-commits@lists.llvm.org> wrote: > Author: tfiala > Date: Thu Jul 28

[Lldb-commits] [lldb] r277012 - Fixed up Xcode build for r276976 and r277011.

2016-07-28 Thread Todd Fiala via lldb-commits
Author: tfiala Date: Thu Jul 28 12:56:26 2016 New Revision: 277012 URL: http://llvm.org/viewvc/llvm-project?rev=277012=rev Log: Fixed up Xcode build for r276976 and r277011. Also, fixed up typos in RenderScript code that could not possibly compile. Modified:

Re: [Lldb-commits] [PATCH] D18059: Add IR fixups for RenderScript ABI mismatch between ARMV7 frontend and x86 backend

2016-07-28 Thread Todd Fiala via lldb-commits
tfiala added a subscriber: tfiala. tfiala added a comment. I've got a fix to make this work in Xcode, but I'm currently stuck behind the missing Condition.cpp from r277011 to verify. Repository: rL LLVM https://reviews.llvm.org/D18059 ___

Re: [Lldb-commits] [PATCH] D22914: [WIP] Add concurrent packets support to gdb-remote client

2016-07-28 Thread Greg Clayton via lldb-commits
clayborg added a comment. A few things that worry me: - There are no sequence IDs on any packets so when receiving responses, I am not sure how you are going to match up packets with their responses especially when you are sending from multiple threads. I didn't look through your

Re: [Lldb-commits] [PATCH] D20357: [LLDB][MIPS] Fix FPU Size Based on Dynamic FR

2016-07-28 Thread Greg Clayton via lldb-commits
clayborg accepted this revision. clayborg added a comment. This revision is now accepted and ready to land. Looks good, thanks for all of the updates. https://reviews.llvm.org/D20357 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D22923: cleanup some format string warnings

2016-07-28 Thread Greg Clayton via lldb-commits
clayborg accepted this revision. clayborg added a comment. This revision is now accepted and ready to land. Looks good. https://reviews.llvm.org/D22923 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

Re: [Lldb-commits] [PATCH] D22917: Add/fix support for i386 elf core files

2016-07-28 Thread Dimitar Vlahovski via lldb-commits
dvlahovski updated this revision to Diff 65957. dvlahovski added a comment. Checking for null pointer, in case of a corrupt core file https://reviews.llvm.org/D22917 Files: packages/Python/lldbsuite/test/functionalities/postmortem/linux-core/TestLinuxCore.py

Re: [Lldb-commits] [PATCH] D22863: Improve code of loading plugins that provide cmnds

2016-07-28 Thread Greg Clayton via lldb-commits
clayborg accepted this revision. clayborg added a comment. This revision is now accepted and ready to land. Looks good! Comment at: source/API/SBCommandInterpreter.cpp:156 @@ -155,3 +155,3 @@ } -lldb::SBCommandPluginInterface* m_backend; +std::shared_ptr m_backend;

Re: [Lldb-commits] [PATCH] D22629: Rewrite gdb-remote's SendContinuePacketAndWaitForResponse

2016-07-28 Thread Greg Clayton via lldb-commits
clayborg accepted this revision. clayborg added a comment. This revision is now accepted and ready to land. I am fine with the llvm::StringRef until it causes a crash. So really look at all the ways you construct a llvm::StringRef and make sure it won't assert ever if you leave it as a

Re: [Lldb-commits] [PATCH] D22902: Fix -break-insert not working when using absolute paths

2016-07-28 Thread Greg Clayton via lldb-commits
clayborg requested changes to this revision. clayborg added a comment. This revision now requires changes to proceed. Add a test and this is good to go. https://reviews.llvm.org/D22902 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D22923: cleanup some format string warnings

2016-07-28 Thread Luke Drummond via lldb-commits
ldrumm created this revision. ldrumm added reviewers: clayborg, granata.enrico. ldrumm added a subscriber: lldb-commits. ldrumm added a project: LLDB. clean up format string warnings in `ValueObjectSyntheticFilter.cpp` to explictly cast `"%p" params to `void *` https://reviews.llvm.org/D22923

Re: [Lldb-commits] [PATCH] D22917: Add/fix support for i386 elf core files

2016-07-28 Thread Pavel Labath via lldb-commits
labath added a comment. Looks great, thanks. Please just fix the null pointer issue and we are good to go. Comment at: source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp:1506 @@ -1502,2 +1505,3 @@ { llvm::StringRef path(data.GetCStr()); +

[Lldb-commits] [PATCH] D22917: Add/fix support for i386 elf core files

2016-07-28 Thread Dimitar Vlahovski via lldb-commits
dvlahovski created this revision. dvlahovski added a reviewer: labath. dvlahovski added a subscriber: lldb-commits. There were places in the code, assuming(hardcoding) offsets and types that were only valid for the x86_64 elf core file format. The NT_PRSTATUS and NT_PRPSINFO structures are with

Re: [Lldb-commits] [PATCH] D18059: Add IR fixups for RenderScript ABI mismatch between ARMV7 frontend and x86 backend

2016-07-28 Thread Luke Drummond via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL276976: Add IR fixups for RenderScript ABI mismatch between ARMV7 frontend and x86… (authored by ldrumm). Changed prior to commit: https://reviews.llvm.org/D18059?vs=65927=65929#toc Repository: rL

[Lldb-commits] [lldb] r276976 - Add IR fixups for RenderScript ABI mismatch between ARMV7 frontend and x86 backend

2016-07-28 Thread Luke Drummond via lldb-commits
Author: ldrumm Date: Thu Jul 28 09:21:07 2016 New Revision: 276976 URL: http://llvm.org/viewvc/llvm-project?rev=276976=rev Log: Add IR fixups for RenderScript ABI mismatch between ARMV7 frontend and x86 backend Expression evaluation for function calls to certain public RenderScript API

Re: [Lldb-commits] [PATCH] D18059: Add IR fixups for RenderScript ABI mismatch between ARMV7 frontend and x86 backend

2016-07-28 Thread Luke Drummond via lldb-commits
ldrumm updated this revision to Diff 65927. Herald added a subscriber: samparker. https://reviews.llvm.org/D18059 Files: source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/CMakeLists.txt

Re: [Lldb-commits] [PATCH] D20357: [LLDB][MIPS] Fix FPU Size Based on Dynamic FR

2016-07-28 Thread Nitesh Jain via lldb-commits
nitesh.jain marked 9 inline comments as done. nitesh.jain added a comment. https://reviews.llvm.org/D20357 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [PATCH] D22914: [WIP] Add concurrent packets support to gdb-remote client

2016-07-28 Thread Pavel Labath via lldb-commits
labath created this revision. labath added a reviewer: clayborg. labath added a subscriber: lldb-commits. Herald added subscribers: danalbert, tberghammer. This change adds the ability to the client to send multiple packets without waiting for the response to the first one. The individual

Re: [Lldb-commits] [PATCH] D22863: Improve code of loading plugins that provide cmnds

2016-07-28 Thread Abhishek via lldb-commits
abhishek.aggarwal updated this revision to Diff 65903. abhishek.aggarwal added a comment. New patch according to review feedback - Added another variant of AddCommand API with syntax as an additional argument https://reviews.llvm.org/D22863 Files: include/lldb/API/SBCommandInterpreter.h

Re: [Lldb-commits] [PATCH] D22863: Improve code of loading plugins that provide cmnds

2016-07-28 Thread Pavel Labath via lldb-commits
labath added inline comments. Comment at: source/API/SBCommandInterpreter.cpp:156 @@ -155,3 +155,3 @@ } -lldb::SBCommandPluginInterface* m_backend; +std::shared_ptr m_backend; }; abhishek.aggarwal wrote: > clayborg wrote: > > Can't change public

Re: [Lldb-commits] [PATCH] D22863: Improve code of loading plugins that provide cmnds

2016-07-28 Thread Abhishek via lldb-commits
abhishek.aggarwal added inline comments. Comment at: include/lldb/API/SBCommandInterpreter.h:141-142 @@ -140,4 +140,4 @@ lldb::SBCommand -AddCommand (const char* name, lldb::SBCommandPluginInterface *impl, const char* help); +AddCommand (const char* name,

Re: [Lldb-commits] [PATCH] D22629: Rewrite gdb-remote's SendContinuePacketAndWaitForResponse

2016-07-28 Thread Pavel Labath via lldb-commits
labath added a comment. In https://reviews.llvm.org/D22629#498135, @clayborg wrote: > I have some reservations about your future changes to add concurrent packets. > We should discuss this at length before you try to make any changes on the > mailing list. Agreed. I have a follow-up almost

Re: [Lldb-commits] [PATCH] D22629: Rewrite gdb-remote's SendContinuePacketAndWaitForResponse

2016-07-28 Thread Pavel Labath via lldb-commits
labath updated this revision to Diff 65895. labath marked 2 inline comments as done. labath updated the summary for this revision. labath added a comment. Address review comments. https://reviews.llvm.org/D22629 Files: source/Plugins/Process/gdb-remote/CMakeLists.txt

Re: [Lldb-commits] [PATCH] D22863: Improve code of loading plugins that provide cmnds

2016-07-28 Thread Pavel Labath via lldb-commits
labath added a subscriber: labath. Comment at: include/lldb/API/SBCommandInterpreter.h:141-142 @@ -140,4 +140,4 @@ lldb::SBCommand -AddCommand (const char* name, lldb::SBCommandPluginInterface *impl, const char* help); +AddCommand (const char* name,

Re: [Lldb-commits] [PATCH] D22863: Improve code of loading plugins that provide cmnds

2016-07-28 Thread Abhishek via lldb-commits
abhishek.aggarwal added a comment. Hi Greg Please find my comments inlined. Let me know if I am missing something here. Comment at: include/lldb/API/SBCommandInterpreter.h:141-142 @@ -140,4 +140,4 @@ lldb::SBCommand -AddCommand (const char* name,

Re: [Lldb-commits] [lldb] r276795 - Check both private & public states to decide if you need to halt before killing.

2016-07-28 Thread Pavel Labath via lldb-commits
On 27 July 2016 at 23:39, Jim Ingham wrote: > > Yes, I see. > > This change always checks public state running, so all the flips from run to > stopped in the private state thread will have no effect on all the modes of > running except expression evaluation. > > The change as

Re: [Lldb-commits] [PATCH] D22902: Fix -break-insert not working when using absolute paths

2016-07-28 Thread Ilia K via lldb-commits
ki.stfu added a comment. Could you add a test case for this in packages/Python/lldbsuite/test/tools/lldb-mi/breakpoint/TestMiBreak.py? https://reviews.llvm.org/D22902 ___ lldb-commits mailing list lldb-commits@lists.llvm.org