Re: [PATCH 7/9 v7] Remove GDBSERVER uses from linux-btrace.c

Pedro Alves
2014-09-10T13:12:54Z

On 08/29/2014 02:51 PM, Gary Benson wrote:
> 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.
>
> This patch is unchanged from the version I posted August 1:
> https://sourceware.org/ml/gdb-patches/2014-08/msg00009.html
>
> 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.

Looks good to me too.

Thanks,
Pedro Alves