Refactor GetSoftwareBreakpointTrapOpcode
authorAidan Dodds <aidan@codeplay.com>
Mon, 22 Feb 2016 17:29:56 +0000 (17:29 +0000)
committerAidan Dodds <aidan@codeplay.com>
Mon, 22 Feb 2016 17:29:56 +0000 (17:29 +0000)
commit933d8db9229ee4956f5a0e618ee81452ddb1820d
tree359b3223248384c49f40e1eb4c888e05234768d9
parent46e39cc6b0af95ffdc2ff21c9387c1939c82cd7c
Refactor GetSoftwareBreakpointTrapOpcode

This patch aims to reduce the code duplication among all of the platforms in GetSoftwareBreakpointTrapOpcode by pushing all common code into the Platform base class.

Differential Revision: http://reviews.llvm.org/D17395

llvm-svn: 261536
lldb/include/lldb/Target/Platform.h
lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
lldb/source/Plugins/Platform/Linux/PlatformLinux.h
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h
lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
lldb/source/Plugins/Platform/Windows/PlatformWindows.h
lldb/source/Target/Platform.cpp