gdb/
authorDoug Evans <dje@google.com>
Mon, 21 Dec 2009 21:23:43 +0000 (21:23 +0000)
committerDoug Evans <dje@google.com>
Mon, 21 Dec 2009 21:23:43 +0000 (21:23 +0000)
commitc5f62d5ff9f52f2170a401631240af7bf7a850e3
tree079fddc53cc70fd018f2e5e7716cf5a0f8375142
parent10e86dd77848e00024b5de420c18e13db9a103c9
gdb/
* linux-nat.c (kill_lwp): Minor cleanup, move definition of
tkill_failed into ifdef HAVE_TKILL_SYSCALL.  Move setting of errno
there too.  Delete unnecessary resetting of errno after syscall.
Minor comment changes to match gdbserver/linux-low.c:kill_lwp.

gdbserver/
* 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.
Delete unnecessary resetting of errno after syscall.
Minor comment changes to match gdb/linux-nat.c:kill_lwp.
gdb/ChangeLog
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/linux-nat.c