diff options
author | Pavel Labath <labath@google.com> | 2018-04-18 11:56:21 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2018-04-18 11:56:21 +0000 |
commit | acebc4379988237f16c7c1167651756b1ac29a90 (patch) | |
tree | c6c8187848167601fc3a77a176297a1a2ba84c46 /lldb/packages/Python/lldbsuite/support | |
parent | 90d141a295e2c48505d6c37eca18384803c9f652 (diff) | |
download | bcm5719-llvm-acebc4379988237f16c7c1167651756b1ac29a90.tar.gz bcm5719-llvm-acebc4379988237f16c7c1167651756b1ac29a90.zip |
Report more precise error message when attach fails
Summary:
If the remote stub sends a specific error message instead of just a E??
code, we can use this to display a more informative error message
instead of just the generic "unable to attach" message.
I write a test for this using the SB API.
On the console this will show up like:
(lldb) process attach ...
error: attach failed: <STUB-MESSAGE>
if the stub supports error messages, or:
error: attach failed: Error ??
if it doesn't.
Reviewers: jingham, JDevlieghere
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D45573
llvm-svn: 330247
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support')
0 files changed, 0 insertions, 0 deletions