From: Doug Evans Date: Tue, 22 Dec 2009 00:18:13 +0000 (+0000) Subject: * linux-x86-low.c: Delete outdated comment about Elf32_Phdr. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d90e6a886c11852be8935f97116031ccc0161952;p=binutils-gdb.git * linux-x86-low.c: Delete outdated comment about Elf32_Phdr. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 2e388dfe5cd..bd819f0a320 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,7 @@ 2009-12-21 Doug Evans + * linux-x86-low.c: Delete outdated comment about Elf32_Phdr. + * linux-low.c (kill_lwp): Use __NR_tkill instead of SYS_tkill. Move definition of tkill_failed to ifdef __NR_tkill to avoid gcc warning ifndef __NR_tkill. Move setting of errno there too. diff --git a/gdb/gdbserver/linux-x86-low.c b/gdb/gdbserver/linux-x86-low.c index 2f17f45927d..f77e9dafef0 100644 --- a/gdb/gdbserver/linux-x86-low.c +++ b/gdb/gdbserver/linux-x86-low.c @@ -27,10 +27,6 @@ #include "gdb_proc_service.h" -/* NOTE: gdb_proc_service.h may include linux/elf.h. - We need Elf32_Phdr. If we don't get linux/elf.h we could include - elf.h like linux-ppc-low.c does. */ - /* Defined in auto-generated file reg-i386-linux.c. */ void init_registers_i386_linux (void); /* Defined in auto-generated file reg-x86-64-linux.c. */