[all-commits] [llvm/llvm-project] 3c3269: [lldb] [gdb-remote client] Avoid zero padding PID/...

Michał Górny via All-commits all-commits at lists.llvm.org
Mon Jul 26 15:45:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c3269559ba9400224400b96c22b31812638de52
      https://github.com/llvm/llvm-project/commit/3c3269559ba9400224400b96c22b31812638de52
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
    M lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp

  Log Message:
  -----------
  [lldb] [gdb-remote client] Avoid zero padding PID/TID in H packet

Change SetCurrentThread*() logic not to include the zero padding
in PID/TID that was a side effect of 02ef0f5ab483.  This should fix
problems caused by sending 64-bit integers to 32-bit servers.  Reported
by Ted Woodward.

Differential Revision: https://reviews.llvm.org/D106832




More information about the All-commits mailing list