From 1f39d6dd118e2c7e995bd91fb07b12676aafb2c5 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Thu, 18 Jul 2019 20:36:13 -0400 Subject: [PATCH] arch_user_debugger: Restore the use of size_t for dr7. The prior change broke the build with some cryptic "invalid instruction mov" messages. So it must have been correct before. --- headers/private/kernel/arch/x86/arch_user_debugger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/private/kernel/arch/x86/arch_user_debugger.h b/headers/private/kernel/arch/x86/arch_user_debugger.h index b73db861a9..8c838ebd67 100644 --- a/headers/private/kernel/arch/x86/arch_user_debugger.h +++ b/headers/private/kernel/arch/x86/arch_user_debugger.h @@ -101,7 +101,7 @@ struct arch_breakpoint { struct arch_team_debug_info { struct arch_breakpoint breakpoints[X86_BREAKPOINT_COUNT]; - uint32_t dr7; // debug control register DR7 + size_t dr7; // debug control register DR7 }; struct arch_thread_debug_info {