Skip to content

Commit 94a12b0

Browse files
authored
Merge pull request #7079 from jasonmolenda/r101152233-new-error-message-when-we-cant-pause-inferior
Improve error msg in DNBProcessAttach if we can't stop inferior
2 parents 08cfd81 + 1b7a5fe commit 94a12b0

File tree

1 file changed

+3
-1
lines changed
  • lldb/tools/debugserver/source

1 file changed

+3
-1
lines changed

lldb/tools/debugserver/source/DNB.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,9 @@ nub_process_t DNBProcessAttach(nub_process_t attach_pid,
521521

522522
if (set_events == 0) {
523523
if (err_str && err_len > 0)
524-
snprintf(err_str, err_len, "operation timed out");
524+
snprintf(err_str, err_len,
525+
"attached to process, but could not pause execution; attach "
526+
"failed");
525527
pid = INVALID_NUB_PROCESS;
526528
} else {
527529
if (set_events & (eEventProcessRunningStateChanged |

0 commit comments

Comments
 (0)