Imported Upstream version 2.9.0
[debian/cc1111] / debugger / mcs51 / cmd.h
1 /*-------------------------------------------------------------------------
2   cmd.h - header  file for debugger command execution
3         Written By -  Sandeep Dutta . sandeep.dutta@usa.net (1999)
4
5    This program is free software; you can redistribute it and/or modify it
6    under the terms of the GNU General Public License as published by the
7    Free Software Foundation; either version 2, or (at your option) any
8    later version.
9
10    This program is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13    GNU General Public License for more details.
14
15    You should have received a copy of the GNU General Public License
16    along with this program; if not, write to the Free Software
17    Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19    In other words, you are welcome to use, share and improve this program.
20    You are forbidden to forbid anyone else to use, share and improve
21    what you give them.   Help stamp out software-hoarding!
22 -------------------------------------------------------------------------*/
23
24 #ifndef SDCDB_CMD_H
25 #define SDCDB_CMD_H
26 /* forward definition for command functions */
27 extern int cmdSetTmpUserBp (char *, context *);
28 extern int cmdSetUserBp (char *, context *);
29 extern int cmdClrUserBp (char *, context *);
30 extern int cmdHelp      (char *, context *);
31 extern int cmdJump      (char *, context *);
32 extern int cmdListSrc   (char *, context *);
33 extern int cmdListAsm   (char *, context *);
34 extern int cmdSetOption (char *, context *);
35 extern int cmdCondition (char *, context *);
36 extern int cmdIgnore    (char *, context *);
37 extern int cmdContinue  (char *, context *);
38 extern int cmdDelUserBp (char *, context *);
39 extern int cmdStep      (char *, context *);
40 extern int cmdRun       (char *, context *);
41 extern int cmdNext      (char *, context *);
42 extern int cmdPrint     (char *, context *);
43 extern int cmdFrame     (char *, context *);
44 extern int cmdSimulator (char *, context *);
45 extern int cmdQuit      (char *, context *);
46 extern int cmdPrintType (char *, context *);
47 extern int cmdFile      (char *, context *);
48 extern int cmdInfo      (char *, context *);
49 extern int cmdShow      (char *, context *);
50 extern int cmdFinish    (char *, context *);
51 extern int cmdCommands  (char *, context *);
52 extern int cmdStepi     (char *, context *);
53 extern int cmdNexti     (char *, context *);
54 extern int cmdUp        (char *, context *);
55 extern int cmdDown      (char *, context *);
56 extern int cmdWhere     (char *, context *);
57 extern int cmdOutput    (char *, context *);
58 extern int cmdDisasm1   (char *, context *);
59 extern int cmdDisasmF   (char *, context *);
60 extern int cmdDisplay   (char *, context *);
61 extern int cmdUnDisplay (char *, context *);
62 extern int cmdSource    (char *, context *);
63 extern void displayAll  (context *);
64
65 extern int cmdListModules (char *s, context *cctxt);
66 extern int cmdListFunctions (char *s, context *cctxt);
67 extern int cmdListSymbols (char *s, context *cctxt);
68
69 extern void setMainContext( void);
70 extern function *needExtraMainFunction(void);
71 int conditionIsTrue( char *s, context *cctxt);
72
73 #endif