#include "common-defs.h"
+gdb_static_assert (sizeof (CORE_ADDR) >= sizeof (void *));
+
#ifdef __MINGW32CE__
#include "wincecompat.h"
#endif
#include "version.h"
-#ifdef HAVE_ERRNO_H
-#include <errno.h>
-#endif
-#include <setjmp.h>
-
-#include <string.h>
-
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
# define PROG "gdbserver"
#endif
-/* A type used for binary buffers. */
-typedef unsigned char gdb_byte;
-
-#include "ptid.h"
#include "buffer.h"
#include "xml-utils.h"
-#include "gdb_locale.h"
-
-/* FIXME: This should probably be autoconf'd for. It's an integer type at
- least the size of a (void *). */
-typedef unsigned long long CORE_ADDR;
-
-typedef long long LONGEST;
-typedef unsigned long long ULONGEST;
-
#include "regcache.h"
-#include "gdb/signals.h"
#include "gdb_signals.h"
#include "target.h"
#include "mem-break.h"
extern ptid_t general_thread;
extern int server_waiting;
-extern int debug_hw_points;
extern int pass_signals[];
extern int program_signals[];
extern int program_signals_p;
-extern jmp_buf toplevel;
-
extern int disable_packet_vCont;
extern int disable_packet_Tthread;
extern int disable_packet_qC;
#include "remote-utils.h"
-#include "common-utils.h"
#include "utils.h"
#include "debug.h"
-#include "gdb_assert.h"
-
/* Maximum number of bytes to read/write at once. The value here
is chosen to fill up a packet (the headers account for the 32). */
#define MAXBUFBYTES(N) (((N)-32)/2)
as large as the largest register set supported by gdbserver. */
#define PBUFSIZ 16384
+#include "common-exceptions.h"
+#include "cleanups.h"
+
#endif /* SERVER_H */