2 * gdbserv-state.h -- part of GDB remote server.
4 * Copyright (C) 2000 Red Hat.
5 * This file is part of SID and is licensed under the GPL.
6 * See the file COPYING.SID for conditions for redistribution.
9 #include "gdbserv-input.h"
10 #include "gdbserv-output.h"
11 #include "gdbserv-client.h"
12 #include "gdbserv-target.h"
15 GDBSERV_STATE_UNINITIALIZED = 0,
16 GDBSERV_STATE_RESETTING,
17 GDBSERV_STATE_STUMBLING,
18 GDBSERV_STATE_STEPPING,
19 GDBSERV_STATE_RUNNING,
21 GDBSERV_STATE_EXITING,
27 struct gdbserv_input input;
28 struct gdbserv_output output;
29 struct gdbserv_target *target;
30 struct gdbserv_client *client;
32 enum gdbserv_state state;
36 unsigned long program_argc;
37 unsigned long last_arg_len;
38 unsigned long last_arg_num;
43 /* Present an unpacked packet to the gdbserv state machine */
44 void gdbserv_data_packet (struct gdbserv *gdbserv);