aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-08-06 17:26:27 +0800
committerYao Qi <yao@codesourcery.com>2014-08-06 18:52:09 +0800
commitaf19829b117d124842b41da499b3161690bbca1a (patch)
treebb11fd1c5a17fe30356ec5f1542f99dfea999214
parent7089dca47b1738d9b65b8c3795e14aa92ac30f43 (diff)
downloadgdb-af19829b117d124842b41da499b3161690bbca1a.zip
gdb-af19829b117d124842b41da499b3161690bbca1a.tar.gz
gdb-af19829b117d124842b41da499b3161690bbca1a.tar.bz2
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 <yao@codesourcery.com> * amd64-linux-nat.c: Remove duplicated include "x86-linux-nat.h". * i386-linux-nat.c: Likewise.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/amd64-linux-nat.c1
-rw-r--r--gdb/i386-linux-nat.c1
3 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b02a94f..7ce30c8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2014-08-06 Yao Qi <yao@codesourcery.com>
+ * amd64-linux-nat.c: Remove duplicated include
+ "x86-linux-nat.h".
+ * i386-linux-nat.c: Likewise.
+
+2014-08-06 Yao Qi <yao@codesourcery.com>
+
* dwarf2read.c (dwarf_decode_lines_1): Replace "Special
operand" with "Special opcode" in comments.
diff --git a/gdb/amd64-linux-nat.c b/gdb/amd64-linux-nat.c
index 0885a0a..def12ee 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 bb0f2c8..8227d4a 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"