[Lldb-commits] [PATCH] D12830: Limit scope of RegisterContextPOSIX.h header

Ed Maste via lldb-commits lldb-commits at lists.llvm.org
Sat Sep 12 10:31:44 PDT 2015


emaste created this revision.
emaste added reviewers: tfiala, labath.
emaste added a subscriber: lldb-commits.
Herald added a subscriber: emaste.

RegisterContextPOSIX.h is poorly named and contains only the declaration of POSIXBreakpointProtocol, which is used for in-process live kernel debugging. It is now relevant only to FreeBSD.

In source/Plugins/Process/Utility/RegisterContext*.h it only served the process of #including other necessary headers as a side-effect. Remove it from them and just include the required headers directly.


http://reviews.llvm.org/D12830

Files:
  source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm.h
  source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm64.h
  source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_mips64.h
  source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_powerpc.h
  source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_x86.h
  source/Plugins/Process/Utility/RegisterContextFreeBSD_arm.h
  source/Plugins/Process/Utility/RegisterContextFreeBSD_arm64.h
  source/Plugins/Process/Utility/RegisterContextFreeBSD_i386.h
  source/Plugins/Process/Utility/RegisterContextFreeBSD_mips64.h
  source/Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.h
  source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.h
  source/Plugins/Process/Utility/RegisterContextLinux_arm.h
  source/Plugins/Process/Utility/RegisterContextLinux_arm64.h
  source/Plugins/Process/Utility/RegisterContextLinux_i386.h
  source/Plugins/Process/Utility/RegisterContextLinux_x86_64.h
  source/Plugins/Process/Utility/RegisterContextPOSIX_arm.h
  source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.h
  source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.h
  source/Plugins/Process/Utility/RegisterContextPOSIX_powerpc.h
  source/Plugins/Process/Utility/RegisterContextPOSIX_x86.h
  source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.cpp
  source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp
  source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp
  source/Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.cpp
  source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12830.34631.patch
Type: text/x-patch
Size: 13670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150912/bb15aecc/attachment.bin>


More information about the lldb-commits mailing list