[Lldb-commits] [PATCH] Implement a RegisterContext for Windows and hook it up to TargetThreadWindows
Zachary Turner
zturner at google.com
Wed Nov 19 17:39:25 PST 2014
================
Comment at: source/Plugins/Process/Windows/RegisterContextWindows_x86.cpp:27-31
@@ +26,7 @@
+
+#define DEFINE_GPR32(reg, offset, generic_reg) \
+ { \
+ #reg, nullptr, 4, offset, eEncodingUint, eFormatHexUppercase, \
+ {gcc_##reg##_i386, dwarf_eax_i386, generic_reg, gdb_##reg##_i386, gpr_##reg##_i386 }, nullptr, nullptr \
+ }
+
----------------
Note that dwarf_eax_i386 here should be dwarf_##reg##_i386. I've fixed this locally.
http://reviews.llvm.org/D6322
More information about the lldb-commits
mailing list