X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Famd64-windows-nat.c;h=378262a56e35d833722d723390d37b44bcf6243b;hb=f69656d00fe3154519ea21668d964bf8cc50c01b;hp=e5fb0e00318d8ef29eaf6d639e6311c7b2f59e54;hpb=d40dc7a8d850464cac07725c257f662e81f894a4;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/amd64-windows-nat.c b/gdb/amd64-windows-nat.c index e5fb0e0031..378262a56e 100644 --- a/gdb/amd64-windows-nat.c +++ b/gdb/amd64-windows-nat.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2008-2012 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 "amd64-tdep.h" #include @@ -95,13 +95,10 @@ amd64_windows_segment_register_p (int regnum) return regnum >= AMD64_CS_REGNUM && regnum <= AMD64_GS_REGNUM; } -/* -Wmissing-prototypes */ -extern initialize_file_ftype _initialize_amd64_windows_nat; - void _initialize_amd64_windows_nat (void) { windows_set_context_register_offsets (mappings); windows_set_segment_register_p (amd64_windows_segment_register_p); - i386_set_debug_register_length (8); + x86_set_debug_register_length (8); }