diff options
author | Gary Benson <gbenson@redhat.com> | 2014-09-12 10:11:42 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-09-12 10:11:42 +0100 |
commit | 53f813629714f46e536c1f0bfa256d7b6b48cf3e (patch) | |
tree | 43e3c2f92db5d9cd8b4039aaee7b3c4e3a329a0a /gdb/nat/linux-btrace.c | |
parent | 727605ca75e009d8468bb6378b7d18b774838b2d (diff) | |
download | binutils-gdb-53f813629714f46e536c1f0bfa256d7b6b48cf3e.tar.gz |
Remove GDBSERVER uses from linux-btrace.c
This commit makes nat/linux-btrace.c include common-defs.h rather
than defs.h or server.h. A couple of minor changes were required
to support this change.
gdb/ChangeLog:
* nat/linux-btrace.c: Include common-defs.h.
Don't include defs.h, server.h or gdbthread.h.
* nat/linux-btrace.h (struct target_ops): New forward declaration.
Diffstat (limited to 'gdb/nat/linux-btrace.c')
-rw-r--r-- | gdb/nat/linux-btrace.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/nat/linux-btrace.c b/gdb/nat/linux-btrace.c index 385ca4e0334..37c85c06f0c 100644 --- a/gdb/nat/linux-btrace.c +++ b/gdb/nat/linux-btrace.c @@ -19,15 +19,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifdef GDBSERVER -#include "server.h" -#else -#include "defs.h" -#endif - +#include "common-defs.h" #include "linux-btrace.h" #include "common-regcache.h" -#include "gdbthread.h" #include "gdb_wait.h" #include "x86-cpuid.h" |