llvm-project/lldb
Pavel Labath a70512a958 llgs: Send "rich" errors in response to vAttach packets
There are plenty of ways attaching can go wrong. Having the server
report the exact error means we can give better feedback to the user.
(This patch does not do the second part, it only makes sure the
information is sent from the server.)

Triggering all possible error conditions in a test would prove
challenging, but there is one error that is very easy to reproduce
(attempting to attach while debugging), so I write a test based on that.

The test immediately exposed a bug where the m_send_error_strings field
was being used uninitialized (so it was sometimes true from the get-go),
so I fix that as well.

llvm-svn: 329803
2018-04-11 13:30:54 +00:00
..
cmake [cmake] Fix standalone+LLVM_LINK_LLVM_DYLIB builds (pr36687) 2018-03-14 10:08:21 +00:00
docs Fix error in QEnableErrorStrings gdb-remote docs 2018-04-05 15:17:43 +00:00
examples Added a BSD archive tool. 2018-04-02 17:20:21 +00:00
include/lldb s/LLVM_ON_WIN32/_WIN32/, lldb 2018-04-10 13:33:45 +00:00
lit Fix compilation error caused by tgmath.h. 2018-04-09 17:32:56 +00:00
lldb.xcodeproj Convert an absolute to a group relative reference for TestOptionArgParser.cpp. 2018-04-10 19:29:37 +00:00
lldb.xcworkspace Fix a typo in the gtest build target for Debug configuration. 2018-04-10 17:49:56 +00:00
packages/Python/lldbsuite [lldb-server] Set a more generous timeout when testing gdbremote. 2018-04-06 17:17:20 +00:00
resources
scripts Fix the install location of LLDBWrapPython.cpp when building 2018-03-05 21:08:42 +00:00
source llgs: Send "rich" errors in response to vAttach packets 2018-04-11 13:30:54 +00:00
test [test] Exit lldb-dotest in a more Pythonic way. 2018-04-02 10:44:36 +00:00
third_party/Python/module *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
tools [debugserver] Fix LC_BUILD_VERSION load command handling. 2018-04-06 04:28:12 +00:00
unittests llgs: Send "rich" errors in response to vAttach packets 2018-04-11 13:30:54 +00:00
utils *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
www Add a suggestion to convert dotest tests to use run_to_source_breakpoint. 2018-03-20 02:15:23 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
CMakeLists.txt [lit] Update how clang and other binaries are found in per-configuration directories 2018-02-21 00:05:51 +00:00
CODE_OWNERS.txt Remove Sean Callanan from the CODE_OWNERS, he won't have time 2017-11-01 01:38:42 +00:00
INSTALL.txt Changed builld-llvm.py to use .json files 2017-02-23 02:21:34 +00:00
LICENSE.TXT
use_lldb_suite_root.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00