[all-commits] [llvm/llvm-project] cce105: [lldb] Correctly detach (rather than kill) when co...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Nov 7 10:08:00 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cce1055e4803ce67f908844681d745d6a87ad450
      https://github.com/llvm/llvm-project/commit/cce1055e4803ce67f908844681d745d6a87ad450
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

  Changed paths:
    M lldb/source/Target/Process.cpp
    A lldb/test/API/functionalities/gdb_remote_client/TestConnectRemoteDetach.py

  Log Message:
  -----------
  [lldb] Correctly detach (rather than kill) when connecting with gdb-remote (#166869)

We weren't setting `m_should_detach` when going through the
`DoConnectRemote` code path. This meant that when you would attaches to
a remote process with `gdb-remote <port>` and use Ctrl+D, it would kill
the process instead of detach from it.

rdar://156111423



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list