diff options
| author | Matt Kopec <Matt.Kopec@intel.com> | 2013-04-25 23:00:45 +0000 |
|---|---|---|
| committer | Matt Kopec <Matt.Kopec@intel.com> | 2013-04-25 23:00:45 +0000 |
| commit | f92bca3b36d4eeac3ea4fc8ef83e317e40dbb4d0 (patch) | |
| tree | 09e3f0b6a6ba1c630fd81b9ca911e4a396bc3efd /lldb/source/Plugins/Process | |
| parent | 73e244a49f5198848248180b14ad526b3ee83e9e (diff) | |
| download | bcm5719-llvm-f92bca3b36d4eeac3ea4fc8ef83e317e40dbb4d0.tar.gz bcm5719-llvm-f92bca3b36d4eeac3ea4fc8ef83e317e40dbb4d0.zip | |
Build fix for systems that do not support NT_X86_XSTATE ptrace support.
Patch by Ashok Thirumurthi.
llvm-svn: 180581
Diffstat (limited to 'lldb/source/Plugins/Process')
| -rw-r--r-- | lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp b/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp index e7d68441004..c99e93455cd 100644 --- a/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp +++ b/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp @@ -28,6 +28,11 @@ using namespace lldb_private; using namespace lldb; +// Support ptrace extensions even when compiled without required kernel support +#ifndef NT_X86_XSTATE + #define NT_X86_XSTATE 0x202 +#endif + // Internal codes for all x86_64 registers. enum { |

