Include common-defs.h instead of defs.h/server.h in shared code
authorGary Benson <gbenson@redhat.com>
Fri, 12 Sep 2014 09:11:42 +0000 (10:11 +0100)
committerGary Benson <gbenson@redhat.com>
Fri, 12 Sep 2014 09:11:42 +0000 (10:11 +0100)
commit727605ca75e009d8468bb6378b7d18b774838b2d
treee3ae51da620ae399d975a28028f26d1e2b693727
parent361c8ade9c3c88cf7f0111fdab3ceb03028842bc
Include common-defs.h instead of defs.h/server.h in shared code

This commit makes 19 of the 22 shared .c files in common, nat and
target include common-defs.h instead of defs.h/server.h.  The
remaining three files need slight extra work and are dealt with
in separate commits.

gdb/ChangeLog:

* common/agent.c: Include common-defs.h.
Don't include defs.h or server.h.
* common/buffer.c: Likewise.
* common/common-debug.c: Likewise.
* common/common-utils.c: Likewise.
* common/errors.c: Likewise.
* common/filestuff.c: Likewise.
* common/format.c: Likewise.
* common/gdb_vecs.c: Likewise.
* common/print-utils.c: Likewise.
* common/ptid.c: Likewise.
* common/rsp-low.c: Likewise.
* common/signals.c: Likewise.
* common/vec.c: Likewise.
* common/xml-utils.c: Likewise.
* nat/linux-osdata.c: Likewise.
* nat/linux-procfs.c: Likewise.
* nat/linux-ptrace.c: Likewise.
* nat/mips-linux-watch.c: Likewise.
* target/waitstatus.c: Likewise.
20 files changed:
gdb/ChangeLog
gdb/common/agent.c
gdb/common/buffer.c
gdb/common/common-debug.c
gdb/common/common-utils.c
gdb/common/errors.c
gdb/common/filestuff.c
gdb/common/format.c
gdb/common/gdb_vecs.c
gdb/common/print-utils.c
gdb/common/ptid.c
gdb/common/rsp-low.c
gdb/common/signals.c
gdb/common/vec.c
gdb/common/xml-utils.c
gdb/nat/linux-osdata.c
gdb/nat/linux-procfs.c
gdb/nat/linux-ptrace.c
gdb/nat/mips-linux-watch.c
gdb/target/waitstatus.c