diff options
author | Pedro Alves <palves@redhat.com> | 2014-01-17 13:33:30 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-01-17 13:33:30 +0000 |
commit | b5737fa98a3a488dbdc0c6aa7391cd038f6d24f1 (patch) | |
tree | ceb6078a2c3cb9c116ed4f3afe35572b21dccbd2 /gold/layout.h | |
parent | 69f9764846ca76d780e0ecd8b688200561f7c9bb (diff) | |
download | gdb-b5737fa98a3a488dbdc0c6aa7391cd038f6d24f1.zip gdb-b5737fa98a3a488dbdc0c6aa7391cd038f6d24f1.tar.gz gdb-b5737fa98a3a488dbdc0c6aa7391cd038f6d24f1.tar.bz2 |
Fix PR PR16445 - gdbserver build failure on x86.
If gdb_proc_service.h ends up including linux/elf.h, we'll trip on
duplicate definitions:
In file included from ../../../gdb/gdbserver/linux-x86-low.c:29:0:
../../../gdb/gdbserver/../../include/elf/common.h:36:0: error: "ELFMAG0"
redefined [-Werror]
... etc ...
Handle this the same way linux-low.c and linux-arm-low.c handle this.
gdb/gdbserver/
2014-01-17 Pedro Alves <palves@redhat.com>
PR PR16445
* linux-x86-low.c (linux-x86-low.c): Don't include elf/common.h if
ELFMAG0 is defined after including gdb_proc_service.h.
Diffstat (limited to 'gold/layout.h')
0 files changed, 0 insertions, 0 deletions