[all-commits] [llvm/llvm-project] f21e70: [lldb] [Process/NetBSD] Copy the recent improvemen...

Michał Górny via All-commits all-commits at lists.llvm.org
Tue Nov 10 11:21:11 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f21e704d4a2cc992faff46665b31daad290cc8b8
      https://github.com/llvm/llvm-project/commit/f21e704d4a2cc992faff46665b31daad290cc8b8
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
    M lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
    M lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.h
    M lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
    M lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.h
    M lldb/source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp
    M lldb/source/Plugins/Process/NetBSD/NativeThreadNetBSD.h
    M lldb/test/API/commands/process/attach/TestProcessAttach.py
    M lldb/test/API/commands/register/register/register_command/TestRegisters.py
    M lldb/test/API/functionalities/deleted-executable/TestDeletedExecutable.py
    M lldb/test/API/functionalities/thread/num_threads/TestNumThreads.py
    M lldb/test/API/python_api/hello_world/TestHelloWorld.py
    M lldb/test/API/tools/lldb-server/TestGdbRemoteAttach.py
    M lldb/test/API/tools/lldb-server/TestGdbRemoteKill.py
    M lldb/test/API/tools/lldb-server/TestGdbRemoteProcessInfo.py
    M lldb/test/API/tools/lldb-server/TestLldbGdbServer.py

  Log Message:
  -----------
  [lldb] [Process/NetBSD] Copy the recent improvements from FreeBSD

Copy the recent improvements from the FreeBSDRemote plugin, notably:

- moving event reporting setup into SetupTrace() helper

- adding more debug info into SIGTRAP handling

- handling user-generated (and unknown) SIGTRAP events

- adding missing error handling to the generic signal handler

- fixing attaching to processes

- switching watchpoint helpers to use llvm::Error

- minor style and formatting changes

This fixes a number of tests, mostly related to fixed attaching.

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




More information about the All-commits mailing list