[all-commits] [llvm/llvm-project] 135a49: Fix TestNoGPacketSupported on linux

Pavel Labath via All-commits all-commits at lists.llvm.org
Mon Nov 11 08:28:23 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 135a493f34561219d67251b58a482cd3fc6416b9
      https://github.com/llvm/llvm-project/commit/135a493f34561219d67251b58a482cd3fc6416b9
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestNoGPacketSupported.py

  Log Message:
  -----------
  Fix TestNoGPacketSupported on linux

The mock server pretends the process stopped with signal 17, which is
SIGCHLD on linux. This causes lldb to resume to process, utterly
confusing the test. Lldb probably shouldn't resume in this case, but for
now this issue can be fixed by changing the signal number to 2, which is
SIGINT just about anywhere.




More information about the All-commits mailing list