X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fi386-windows-nat.c;h=fa85cd1de3e5fab29bb16d6d7e7cfd0ad75f7c52;hb=eb7b504651ff7b44a7328cd967629d8f1d114a4b;hp=caa645a9e50c24b4849910dd8d76b22a208d04d4;hpb=ecd75fc8eed3bde86036141228074a20e55dcfc9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/i386-windows-nat.c b/gdb/i386-windows-nat.c index caa645a9e5..fa85cd1de3 100644 --- a/gdb/i386-windows-nat.c +++ b/gdb/i386-windows-nat.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2008-2014 Free Software Foundation, Inc. +/* Copyright (C) 2008-2019 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 "x86-nat.h" #include "i386-tdep.h" #include @@ -79,13 +79,10 @@ i386_windows_segment_register_p (int regnum) return regnum >= I386_CS_REGNUM && regnum <= I386_GS_REGNUM; } -/* -Wmissing-prototypes */ -extern initialize_file_ftype _initialize_i386_windows_nat; - void _initialize_i386_windows_nat (void) { windows_set_context_register_offsets (mappings); windows_set_segment_register_p (i386_windows_segment_register_p); - i386_set_debug_register_length (4); + x86_set_debug_register_length (4); }