1 |
dpavlin |
1 |
/* A Bison parser, made by GNU Bison 1.875d. */ |
2 |
|
|
|
3 |
|
|
/* Skeleton parser for Yacc-like parsing with Bison, |
4 |
|
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. |
5 |
|
|
|
6 |
|
|
This program is free software; you can redistribute it and/or modify |
7 |
|
|
it under the terms of the GNU General Public License as published by |
8 |
|
|
the Free Software Foundation; either version 2, or (at your option) |
9 |
|
|
any later version. |
10 |
|
|
|
11 |
|
|
This program is distributed in the hope that it will be useful, |
12 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
|
|
GNU General Public License for more details. |
15 |
|
|
|
16 |
|
|
You should have received a copy of the GNU General Public License |
17 |
|
|
along with this program; if not, write to the Free Software |
18 |
|
|
Foundation, Inc., 59 Temple Place - Suite 330, |
19 |
|
|
Boston, MA 02111-1307, USA. */ |
20 |
|
|
|
21 |
|
|
/* As a special exception, when this file is copied by Bison into a |
22 |
|
|
Bison output file, you may use that output file without restriction. |
23 |
|
|
This special exception was added by the Free Software Foundation |
24 |
|
|
in version 1.24 of Bison. */ |
25 |
|
|
|
26 |
|
|
/* Tokens. */ |
27 |
|
|
#ifndef YYTOKENTYPE |
28 |
|
|
# define YYTOKENTYPE |
29 |
|
|
/* Put the tokens into the symbol table, so that GDB and other debuggers |
30 |
|
|
know about them. */ |
31 |
|
|
enum yytokentype { |
32 |
|
|
EVAL_INT = 258, |
33 |
|
|
EVAL_GPR = 259, |
34 |
|
|
EVAL_FPR = 260, |
35 |
|
|
EVAL_REG_PC = 261, |
36 |
|
|
EVAL_REG_CR = 262, |
37 |
|
|
EVAL_REG_LR = 263, |
38 |
|
|
EVAL_REG_CTR = 264, |
39 |
|
|
EVAL_REG_XER = 265, |
40 |
|
|
EVAL_REG_MSR = 266, |
41 |
|
|
EVAL_REG_SRR0 = 267, |
42 |
|
|
EVAL_REG_SRR1 = 268, |
43 |
|
|
EVAL_STR = 269, |
44 |
|
|
EVAL_FLOAT = 270, |
45 |
|
|
EVAL_IDENT = 271, |
46 |
|
|
EVAL_PRINT = 272, |
47 |
|
|
EVAL_SETREG = 273, |
48 |
|
|
EVAL_REGS = 274, |
49 |
|
|
EVAL_FLOATS = 275, |
50 |
|
|
EVAL_BREAK = 276, |
51 |
|
|
EVAL_LIST_BREAK = 277, |
52 |
|
|
EVAL_STEP = 278, |
53 |
|
|
EVAL_NEXT = 279, |
54 |
|
|
EVAL_CONTINUE = 280, |
55 |
|
|
EVAL_QUIT = 281, |
56 |
|
|
EVAL_E2P = 282, |
57 |
|
|
EVAL_INSPECT_BYTE = 283, |
58 |
|
|
EVAL_INSPECT_HALF = 284, |
59 |
|
|
EVAL_INSPECT_WORD = 285, |
60 |
|
|
EVAL_INSPECT_DWORD = 286, |
61 |
|
|
EVAL_INSPECT_STRING = 287, |
62 |
|
|
EVAL_INSPECT_MEM = 288, |
63 |
|
|
EVAL_WATCH = 289, |
64 |
|
|
EVAL_WATCH_BYTE = 290, |
65 |
|
|
EVAL_WATCH_HALF = 291, |
66 |
|
|
EVAL_WATCH_WORD = 292, |
67 |
|
|
EVAL_WATCH_DWORD = 293, |
68 |
|
|
EVAL_DELETE_WATCH = 294, |
69 |
|
|
EVAL_DUMP = 295, |
70 |
|
|
EVAL_DISASM = 296, |
71 |
|
|
EVAL_HELP = 297, |
72 |
|
|
EVAL_LAND = 298, |
73 |
|
|
EVAL_LXOR = 299, |
74 |
|
|
EVAL_LOR = 300, |
75 |
|
|
EVAL_EQ = 301, |
76 |
|
|
EVAL_NE = 302, |
77 |
|
|
EVAL_LT = 303, |
78 |
|
|
EVAL_LE = 304, |
79 |
|
|
EVAL_GT = 305, |
80 |
|
|
EVAL_GE = 306, |
81 |
|
|
EVAL_SHL = 307, |
82 |
|
|
EVAL_SHR = 308, |
83 |
|
|
NEG = 309, |
84 |
|
|
EVAL_POW = 310 |
85 |
|
|
}; |
86 |
|
|
#endif |
87 |
|
|
#define EVAL_INT 258 |
88 |
|
|
#define EVAL_GPR 259 |
89 |
|
|
#define EVAL_FPR 260 |
90 |
|
|
#define EVAL_REG_PC 261 |
91 |
|
|
#define EVAL_REG_CR 262 |
92 |
|
|
#define EVAL_REG_LR 263 |
93 |
|
|
#define EVAL_REG_CTR 264 |
94 |
|
|
#define EVAL_REG_XER 265 |
95 |
|
|
#define EVAL_REG_MSR 266 |
96 |
|
|
#define EVAL_REG_SRR0 267 |
97 |
|
|
#define EVAL_REG_SRR1 268 |
98 |
|
|
#define EVAL_STR 269 |
99 |
|
|
#define EVAL_FLOAT 270 |
100 |
|
|
#define EVAL_IDENT 271 |
101 |
|
|
#define EVAL_PRINT 272 |
102 |
|
|
#define EVAL_SETREG 273 |
103 |
|
|
#define EVAL_REGS 274 |
104 |
|
|
#define EVAL_FLOATS 275 |
105 |
|
|
#define EVAL_BREAK 276 |
106 |
|
|
#define EVAL_LIST_BREAK 277 |
107 |
|
|
#define EVAL_STEP 278 |
108 |
|
|
#define EVAL_NEXT 279 |
109 |
|
|
#define EVAL_CONTINUE 280 |
110 |
|
|
#define EVAL_QUIT 281 |
111 |
|
|
#define EVAL_E2P 282 |
112 |
|
|
#define EVAL_INSPECT_BYTE 283 |
113 |
|
|
#define EVAL_INSPECT_HALF 284 |
114 |
|
|
#define EVAL_INSPECT_WORD 285 |
115 |
|
|
#define EVAL_INSPECT_DWORD 286 |
116 |
|
|
#define EVAL_INSPECT_STRING 287 |
117 |
|
|
#define EVAL_INSPECT_MEM 288 |
118 |
|
|
#define EVAL_WATCH 289 |
119 |
|
|
#define EVAL_WATCH_BYTE 290 |
120 |
|
|
#define EVAL_WATCH_HALF 291 |
121 |
|
|
#define EVAL_WATCH_WORD 292 |
122 |
|
|
#define EVAL_WATCH_DWORD 293 |
123 |
|
|
#define EVAL_DELETE_WATCH 294 |
124 |
|
|
#define EVAL_DUMP 295 |
125 |
|
|
#define EVAL_DISASM 296 |
126 |
|
|
#define EVAL_HELP 297 |
127 |
|
|
#define EVAL_LAND 298 |
128 |
|
|
#define EVAL_LXOR 299 |
129 |
|
|
#define EVAL_LOR 300 |
130 |
|
|
#define EVAL_EQ 301 |
131 |
|
|
#define EVAL_NE 302 |
132 |
|
|
#define EVAL_LT 303 |
133 |
|
|
#define EVAL_LE 304 |
134 |
|
|
#define EVAL_GT 305 |
135 |
|
|
#define EVAL_GE 306 |
136 |
|
|
#define EVAL_SHL 307 |
137 |
|
|
#define EVAL_SHR 308 |
138 |
|
|
#define NEG 309 |
139 |
|
|
#define EVAL_POW 310 |
140 |
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
|
|
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) |
145 |
|
|
#line 18 "debugparse.y" |
146 |
|
|
typedef union YYSTYPE { |
147 |
|
|
struct eval_command command; |
148 |
|
|
struct eval_scalar scalar; |
149 |
|
|
eval_commandtype commandtoken; |
150 |
|
|
char *ident; |
151 |
|
|
struct eval_scalarlist scalars; |
152 |
|
|
} YYSTYPE; |
153 |
|
|
/* Line 1285 of yacc.c. */ |
154 |
|
|
#line 155 "y.tab.h" |
155 |
|
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
156 |
|
|
# define YYSTYPE_IS_DECLARED 1 |
157 |
|
|
# define YYSTYPE_IS_TRIVIAL 1 |
158 |
|
|
#endif |
159 |
|
|
|
160 |
|
|
|
161 |
|
|
|
162 |
|
|
|
163 |
|
|
|