While debugging on those architectures might not be supported yet, the generic code should still be buildable. This file accesses x86 specific fields in the CONTEXT struct.
Details
- Reviewers
amccarth labath hhb compnerd asmith - Commits
- rG02dddfd2aef3: [LLDB] [Windows] Add missing ifdefs to fix building for non-x86 architectures
rLLDB372699: [LLDB] [Windows] Add missing ifdefs to fix building for non-x86 architectures
rL372699: [LLDB] [Windows] Add missing ifdefs to fix building for non-x86 architectures
Diff Detail
Event Timeline
What do you think of adding some sort of notification that hardware breakpoints are currently unsupported and that we are falling back to software breakpoints for the #else case?
lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp | ||
---|---|---|
87 | Should this line not also include || defined(__aarch64__) || defined(_M_ARM64)? |
I guess it could make sense. What kind of notification do you have in mind?
lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp | ||
---|---|---|
87 | I guess it should. Or this might be one of the few places where checking for just _WIN64 might be easiest? |
I think that printf is quite an amazing notification :-)
lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp | ||
---|---|---|
87 | Yeah, I think that _WIN64 is probably the easiest thing indeed. |
Ok, I'll make it an LLDB_LOG then, as I'd presume using raw printfs isn't really allowed :-)
Should this line not also include || defined(__aarch64__) || defined(_M_ARM64)?