gdb/
[binutils-gdb.git] / gdb / i386-windows-nat.c
index 5de297c57d971ee701600c886411c9568fc7f97d..0d12b7b5c88e50810443d92607b1f1d2bf4b1b5b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -17,6 +17,7 @@
 
 #include "defs.h"
 #include "windows-nat.h"
+#include "i386-nat.h"
 
 #include <windows.h>
 
@@ -72,5 +73,6 @@ static const int mappings[] =
 void
 _initialize_i386_windows_nat (void)
 {
-  win32_set_context_register_offsets (mappings);
+  windows_set_context_register_offsets (mappings);
+  i386_set_debug_register_length (4);
 }