diff options
author | Yao Qi <yao@codesourcery.com> | 2014-08-06 17:26:27 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-08-06 18:52:09 +0800 |
commit | af19829b117d124842b41da499b3161690bbca1a (patch) | |
tree | bb11fd1c5a17fe30356ec5f1542f99dfea999214 /gdb | |
parent | 7089dca47b1738d9b65b8c3795e14aa92ac30f43 (diff) | |
download | gdb-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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/amd64-linux-nat.c | 1 | ||||
-rw-r--r-- | gdb/i386-linux-nat.c | 1 |
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" |