From af19829b117d124842b41da499b3161690bbca1a Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 6 Aug 2014 17:26:27 +0800 Subject: [PATCH] Remove duplicated include file File x86-linux-nat.h is included twice in amd64-linux-nat.c and i386-linux-nat.c. This patch is to remove one. gdb: 2014-08-06 Yao Qi * amd64-linux-nat.c: Remove duplicated include "x86-linux-nat.h". * i386-linux-nat.c: Likewise. --- gdb/ChangeLog | 6 ++++++ gdb/amd64-linux-nat.c | 1 - gdb/i386-linux-nat.c | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b02a94f7335..7ce30c8d286 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2014-08-06 Yao Qi + + * amd64-linux-nat.c: Remove duplicated include + "x86-linux-nat.h". + * i386-linux-nat.c: Likewise. + 2014-08-06 Yao Qi * dwarf2read.c (dwarf_decode_lines_1): Replace "Special diff --git a/gdb/amd64-linux-nat.c b/gdb/amd64-linux-nat.c index 0885a0a8808..def12eeeac2 100644 --- a/gdb/amd64-linux-nat.c +++ b/gdb/amd64-linux-nat.c @@ -30,7 +30,6 @@ #include "amd64-nat.h" #include "linux-nat.h" -#include "x86-linux-nat.h" #include "amd64-tdep.h" #include "amd64-linux-tdep.h" #include "i386-linux-tdep.h" diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c index bb0f2c8cca5..8227d4ad7e1 100644 --- a/gdb/i386-linux-nat.c +++ b/gdb/i386-linux-nat.c @@ -26,7 +26,6 @@ #include "gregset.h" #include "gdb_proc_service.h" -#include "x86-linux-nat.h" #include "i386-linux-nat.h" #include "i387-tdep.h" #include "i386-tdep.h" -- 2.30.2