From d90e6a886c11852be8935f97116031ccc0161952 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 22 Dec 2009 00:18:13 +0000 Subject: [PATCH] * linux-x86-low.c: Delete outdated comment about Elf32_Phdr. --- gdb/gdbserver/ChangeLog | 2 ++ gdb/gdbserver/linux-x86-low.c | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 2e388df..bd819f0 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 2f17f45..f77e9da 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. */ -- 2.7.4