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

Tom Tromey tromey@redhat.com
Thu Jul 10 17:49:00 GMT 2014


>>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes:

Gary> This removes the use of GDBSERVER from nat/i386-dregs.c.  Neither
Gary> defs.h or server.h are included: the specific files required are
Gary> listed instead.  Also, a declaration previously made only outside
Gary> 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.

Tom



More information about the Gdb-patches mailing list