aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2025-04-25 18:04:08 +0100
committerGitHub <noreply@github.com>2025-04-25 18:04:08 +0100
commit332e1817667827c242422e91c4de1b27fb573a0b (patch)
tree8433eb9c38d16dba522a73a006b52164822a5461 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent119910a8f819f2f665f10fe3674f0c4edc3e0a8d (diff)
downloadllvm-332e1817667827c242422e91c4de1b27fb573a0b.zip
llvm-332e1817667827c242422e91c4de1b27fb573a0b.tar.gz
llvm-332e1817667827c242422e91c4de1b27fb573a0b.tar.bz2
[lldb] Fix error that lead Windows to think it could reverse execute (#137351)
The new test added in https://github.com/llvm/llvm-project/pull/132783 was failing on Windows because it created a new error to say it did not support the feature, but then returned the existing, default constructed error. Which was a success value. This also changes the GDBRemote error message to the same phrasing used in all the other places so we don't have to special case any platform.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index b616e99..f924d11 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -1410,7 +1410,7 @@ Status ProcessGDBRemote::DoResume(RunDirection direction) {
LLDB_LOGF(log, "ProcessGDBRemote::DoResume: target does not "
"support reverse-continue");
return Status::FromErrorString(
- "target does not support reverse-continue");
+ "target does not support reverse execution of processes");
}
if (num_continue_C_tids > 0) {