Clarify GDBSERVER use in linux-waitpid.c
authorGary Benson <gbenson@redhat.com>
Fri, 12 Sep 2014 09:57:46 +0000 (10:57 +0100)
committerGary Benson <gbenson@redhat.com>
Fri, 12 Sep 2014 10:03:49 +0000 (11:03 +0100)
commitb006a80e5f41125c876a60a143ad421113533efc
treea4c3246aab3f2c47a0452067dcb820b6e1024c12
parent296b1496f756d26b2e3235133f89012fff940902
Clarify GDBSERVER use in linux-waitpid.c

This commit makes linux-waitpid.c include common-defs.h.  GDB's
inclusion of defs.h is removed, but gdbserver's inclusion of
server.h remains to support some gdbserver-specific debug code
that cannot presently be merged.  A new FIXME documents this.

gdb/ChangeLog:

* nat/linux-waitpid.c: Include common-defs.h.
[GDBSERVER]: Add FIXME comment.
[!GDBSERVER]: Don't include defs.h or signal.h.
(linux_debug) [!GDBSERVER]: Remove empty block.
gdb/ChangeLog
gdb/nat/linux-waitpid.c