[Lldb-commits] [PATCH] D33426: Introduce new command: thread backtrace unique

2017-05-24 Thread Brian Gianforcaro via Phabricator via lldb-commits
bgianfo updated this revision to Diff 100047. bgianfo marked an inline comment as done. bgianfo added a comment. Address Pavel/Jim/Greg's feedback with the addition of a new test. I followed Jim's advice and extended the existing num_threads suite so that we start more thread3's. The new test_uni

[Lldb-commits] [PATCH] D32585: Implementation of remote packets for Trace data.

2017-05-24 Thread Ravitheja Addepally via Phabricator via lldb-commits
ravitheja updated this revision to Diff 100051. ravitheja added a comment. Running clang-format. https://reviews.llvm.org/D32585 Files: docs/lldb-gdb-remote.txt include/lldb/API/SBTrace.h include/lldb/Core/TraceOptions.h include/lldb/Host/common/NativeProcessProtocol.h include/lldb/Ta

[Lldb-commits] [PATCH] D33283: RunThreadPlan: Fix halting logic in IgnoreBreakpoints = false

2017-05-24 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. thank you https://reviews.llvm.org/D33283 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [PATCH] D32149: Correct handling NetBSD core(5) files with threads

2017-05-24 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. What was your decision on the core files? I was under the impression you were gonna add the zip files as well. If so, then they should go in at the same time. Repository: rL LLVM https://reviews.llvm.org/D32149 ___ lldb-c

Re: [Lldb-commits] Patch for fixing FDE indexing when scan debug_info section

2017-05-24 Thread Abid, Hafiz via lldb-commits
Please put it as review in Phabricator so others can comment too. I am wondering how we can test this behaviour. One can use -fno-asynchronous-unwind-tables with clang to disable generation of .eh_frame but the startup code still brings in that section. You also need to run clang-format to ma

[Lldb-commits] [PATCH] D33426: Introduce new command: thread backtrace unique

2017-05-24 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. Thanks for writing the test. We just need to make sure it runs in a stable manner. Comment at: packages/Python/lldbsuite/test/functionalities/thread/num_threads/TestNumThreads.py:91 +# thread3 function. All of these threads should show as one s

[Lldb-commits] [PATCH] D32585: Implementation of remote packets for Trace data.

2017-05-24 Thread Pavel Labath via Phabricator via lldb-commits
labath accepted this revision. labath added a comment. Looks good as far as I am concerned (please wait for greg's ok though) https://reviews.llvm.org/D32585 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mai

[Lldb-commits] [lldb] r303732 - RunThreadPlan: Fix halting logic in IgnoreBreakpoints = false

2017-05-24 Thread Pavel Labath via lldb-commits
Author: labath Date: Wed May 24 04:46:48 2017 New Revision: 303732 URL: http://llvm.org/viewvc/llvm-project?rev=303732&view=rev Log: RunThreadPlan: Fix halting logic in IgnoreBreakpoints = false Summary: The function had logic to handle the case when the expression terminated while we were trying

[Lldb-commits] [PATCH] D33283: RunThreadPlan: Fix halting logic in IgnoreBreakpoints = false

2017-05-24 Thread Pavel Labath via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL303732: RunThreadPlan: Fix halting logic in IgnoreBreakpoints = false (authored by labath). Changed prior to commit: https://reviews.llvm.org/D33283?vs=99435&id=100058#toc Repository: rL LLVM https:

[Lldb-commits] [PATCH] D32366: Set "success" status correctly

2017-05-24 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. that sounds like an excellent idea, as it will check all executed commands, and not the ones we've remembered checking. It should probably be an `lldbassert` though. (And we'd need to check that the existing tests still pass after that.) Repository: rL LLVM https://r

[Lldb-commits] [lldb] r303740 - Revert "RunThreadPlan: Fix halting logic in IgnoreBreakpoints = false"

2017-05-24 Thread Pavel Labath via lldb-commits
Author: labath Date: Wed May 24 06:57:28 2017 New Revision: 303740 URL: http://llvm.org/viewvc/llvm-project?rev=303740&view=rev Log: Revert "RunThreadPlan: Fix halting logic in IgnoreBreakpoints = false" This reverts commit r303732, as it introduces a regression in TestLoadUnload on android. Mod

[Lldb-commits] [PATCH] D32149: Correct handling NetBSD core(5) files with threads

2017-05-24 Thread Kamil Rytarowski via Phabricator via lldb-commits
krytarowski added a comment. In https://reviews.llvm.org/D32149#763008, @labath wrote: > What was your decision on the core files? I was under the impression you were > gonna add the zip files as well. If so, then they should go in at the same > time. In the same commit? If so I will try to a

[Lldb-commits] [PATCH] D33283: RunThreadPlan: Fix halting logic in IgnoreBreakpoints = false

2017-05-24 Thread Pavel Labath via Phabricator via lldb-commits
labath reopened this revision. labath added a comment. This revision is now accepted and ready to land. Reopening for a re-review of a fix. Repository: rL LLVM https://reviews.llvm.org/D33283 ___ lldb-commits mailing list lldb-commits@lists.llvm.

[Lldb-commits] [PATCH] D33283: RunThreadPlan: Fix halting logic in IgnoreBreakpoints = false

2017-05-24 Thread Pavel Labath via Phabricator via lldb-commits
labath updated this revision to Diff 100099. labath added a comment. Fixed version. The original patch caused a regression in TestLoadUnload, which has only showed up when running the remote test suite. The problem there was that we interrupted the target just as it has hit the rendezvous breakpo

[Lldb-commits] [PATCH] D33283: RunThreadPlan: Fix halting logic in IgnoreBreakpoints = false

2017-05-24 Thread Pavel Labath via Phabricator via lldb-commits
labath requested review of this revision. labath added a comment. Let me know what you think of the fix, and please confirm whether the ignoring of the breakpoint condition is a bug. thanks. https://reviews.llvm.org/D33283 ___ lldb-commits mailing

[Lldb-commits] [PATCH] D33434: Added new API to SBStructuredData class

2017-05-24 Thread Abhishek via Phabricator via lldb-commits
abhishek.aggarwal updated this revision to Diff 100108. abhishek.aggarwal marked 9 inline comments as done. abhishek.aggarwal added a comment. Updating https://reviews.llvm.org/D33434: Added new API to SBStructuredData class - Made changes according to feedback https://reviews.llvm.org/D33434

[Lldb-commits] [PATCH] D33434: Added new API to SBStructuredData class

2017-05-24 Thread Abhishek via Phabricator via lldb-commits
abhishek.aggarwal added a comment. My comments are inlined. Please let me know if something still needs to be changed. Comment at: include/lldb/API/SBStructuredData.h:60 + //-- + size_t GetSize() const; + --

[Lldb-commits] [PATCH] D32585: Implementation of remote packets for Trace data.

2017-05-24 Thread Greg Clayton via Phabricator via lldb-commits
clayborg accepted this revision. clayborg added a comment. This revision is now accepted and ready to land. If all R"( strings are under 80 characters, this is good to go. If not, just fix and submit, no extra review needed. https://reviews.llvm.org/D32585 ___

[Lldb-commits] [PATCH] D33434: Added new API to SBStructuredData class

2017-05-24 Thread Greg Clayton via Phabricator via lldb-commits
clayborg requested changes to this revision. clayborg added a comment. This revision now requires changes to proceed. No need for the "StructuredDataType::" or "lldb::StructuredDataType::" prefixes. Since we aren't using an enum class (it was before) and since all enumerators start with "eStruct

[Lldb-commits] [PATCH] D33434: Added new API to SBStructuredData class

2017-05-24 Thread Pavel Labath via Phabricator via lldb-commits
labath added inline comments. Comment at: packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py:43 +# Now launch the process, and do not stop at entry point. +process = target.LaunchSimple( +None, None, self.get_process_w

[Lldb-commits] [PATCH] D32366: Set "success" status correctly

2017-05-24 Thread John Lindal via Phabricator via lldb-commits
jafl added a comment. Thanks for the suggestions. I will get around to this - just swamped right now! Repository: rL LLVM https://reviews.llvm.org/D32366 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mai

Re: [Lldb-commits] Patch for fixing FDE indexing when scan debug_info section

2017-05-24 Thread Tatyana Krasnukha via lldb-commits
Formatting is done. Created D33504, and it is accepted now, but what should I do next (I haven’t commit access)? Thanks, Tatyana From: Abid, Hafiz [mailto:hafiz_a...@mentor.com] Sent: Wednesday, 24 May, 2017 12:37 PM To: Tatyana Krasnukha ; lldb-commits@lists.llvm.org Subject: Re: [Lldb-commits

[Lldb-commits] [PATCH] D33283: RunThreadPlan: Fix halting logic in IgnoreBreakpoints = false

2017-05-24 Thread Jim Ingham via Phabricator via lldb-commits
jingham accepted this revision. jingham added a comment. This revision is now accepted and ready to land. The fix seems good. The fact that a breakpoint hit while evaluating an expression doesn't check the condition is a known limitation. You've got to protect against artificial recursions in h

[Lldb-commits] [PATCH] D32930: New framework for lldb client-server communication tests.

2017-05-24 Thread Jason Majors via Phabricator via lldb-commits
jmajors updated this revision to Diff 100151. jmajors added a comment. Added m_ prefix to member variables. Converted lldb-server start to single thread. https://reviews.llvm.org/D32930 Files: unittests/CMakeLists.txt unittests/tools/CMakeLists.txt unittests/tools/lldb-server/CMakeLists.t

[Lldb-commits] [PATCH] D32930: New framework for lldb client-server communication tests.

2017-05-24 Thread Jason Majors via Phabricator via lldb-commits
jmajors updated this revision to Diff 100178. jmajors added a comment. Format changes. https://reviews.llvm.org/D32930 Files: unittests/CMakeLists.txt unittests/tools/CMakeLists.txt unittests/tools/lldb-server/CMakeLists.txt unittests/tools/lldb-server/inferior/thread_inferior.cpp uni

[Lldb-commits] [lldb] r303823 - Correct compiler warnings and Debug build of the NetBSD target

2017-05-24 Thread Kamil Rytarowski via lldb-commits
Author: kamil Date: Wed May 24 18:59:50 2017 New Revision: 303823 URL: http://llvm.org/viewvc/llvm-project?rev=303823&view=rev Log: Correct compiler warnings and Debug build of the NetBSD target Correct files present only in the NetBSD build. Modified: lldb/trunk/source/Plugins/Process/NetBS

[Lldb-commits] [lldb] r303832 - Fix the warning when you pass -c to step/next/si/ni.

2017-05-24 Thread Jim Ingham via lldb-commits
Author: jingham Date: Wed May 24 21:24:18 2017 New Revision: 303832 URL: http://llvm.org/viewvc/llvm-project?rev=303832&view=rev Log: Fix the warning when you pass -c to step/next/si/ni. During some cleanup the test for whether the thread plan accepted an iteration count was reversed, so we give