[PATCH 07/15] Remove GDBSERVER use from nat/i386-dregs.c

Gary Benson gbenson@redhat.com
Fri Jul 11 12:57:00 GMT 2014

Tom Tromey wrote:
> >>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes:
> Gary> This removes the use of GDBSERVER from nat/i386-dregs.c.
> Gary> Neither defs.h or server.h are included: the specific files
> Gary> required are listed instead.  Also, a declaration previously
> Gary> made only outside of gdbserver is made unconditional.
> Gary> -#ifdef GDBSERVER
> Gary> -#include "server.h"
> Gary> -#else
> Gary> -#include "defs.h"
> Gary> -#include "inferior.h"
> Gary> -#endif
> Gary> +#include "common-utils.h"
> I think this should include config.h first.

common-utils.h includes it.  Or did you mean the gnulib one?



More information about the Gdb-patches mailing list