]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/gdb/gdb/wince-stub.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / gdb / gdb / wince-stub.h
1 /* wince-stub.h -- Definitions for commnicating with the WinCE stub.
2
3    Copyright 1999, 2000 Free Software Foundation, Inc.
4    Contributed by Cygnus Solutions, A Red Hat Company.
5
6    This file is part of GDB.
7
8    This program is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 2 of the License, or
11    (at your option) any later version.
12
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without eve nthe implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17
18    You should have received a copy of the GNU General Public License
19    along with this program; if not, write to the Free Software
20    Foundation, Inc., 59 Temple Place - Suite 330,
21    Boston, MA 02111-1307, USA.
22  */
23
24 /* by Christopher Faylor (cgf@cygnus.com) */
25
26 enum win_func
27   {
28     GDB_CREATEPROCESS = 42,
29     GDB_TERMINATEPROCESS,
30     GDB_WAITFORDEBUGEVENT,
31     GDB_GETTHREADCONTEXT,
32     GDB_SETTHREADCONTEXT,
33     GDB_READPROCESSMEMORY,
34     GDB_WRITEPROCESSMEMORY,
35     GDB_THREADALIVE,
36     GDB_SUSPENDTHREAD,
37     GDB_RESUMETHREAD,
38     GDB_CONTINUEDEBUGEVENT,
39     GDB_CLOSEHANDLE,
40     GDB_STOPSTUB,
41     GDB_SINGLESTEP,
42     GDB_SETBREAK,
43     GDB_INVALID
44   };
45
46 typedef unsigned char gdb_wince_id;
47 typedef unsigned short gdb_wince_len;
48 typedef short gdb_wince_result;