gold: Add sparc IFUNC support to Gold.
[deliverable/binutils-gdb.git] / gdb / amd64-windows-nat.c
index a6ff2f64183688118a3b08858214752c9d18f957..bc2c0475ebcd26cd42cb0254eb73116e73a57391 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2012 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -17,7 +17,7 @@
 
 #include "defs.h"
 #include "windows-nat.h"
-
+#include "i386-nat.h"
 #include <windows.h>
 
 #define context_offset(x) (offsetof (CONTEXT, x))
@@ -85,8 +85,12 @@ static const int mappings[] =
 };
 #undef context_offset
 
+/* -Wmissing-prototypes */
+extern initialize_file_ftype _initialize_amd64_windows_nat;
+
 void
 _initialize_amd64_windows_nat (void)
 {
-  win32_set_context_register_offsets (mappings);
+  windows_set_context_register_offsets (mappings);
+  i386_set_debug_register_length (8);
 }
This page took 0.034155 seconds and 4 git commands to generate.