1 /* A Bison parser, made by GNU Bison 2.3. */
3 /* Skeleton interface for Bison's Yacc-like parsers in C
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6 Free Software Foundation, Inc.
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, or (at your option)
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
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., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
23 /* As a special exception, you may create a larger work that contains
24 part or all of the Bison parser skeleton and distribute that work
25 under terms of your choice, so long as that work isn't itself a
26 parser generator using the skeleton or a modified version thereof
27 as a parser skeleton. Alternatively, if you modify or redistribute
28 the parser skeleton itself, you may (at your option) remove this
29 special exception, which will cause the skeleton and the resulting
30 Bison output files to be licensed under the GNU General Public
31 License without this special exception.
33 This special exception was added by the Free Software Foundation in
34 version 2.2 of Bison. */
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
42 BX_TOKEN_8BH_REG
= 258,
43 BX_TOKEN_8BL_REG
= 259,
44 BX_TOKEN_16B_REG
= 260,
45 BX_TOKEN_32B_REG
= 261,
46 BX_TOKEN_64B_REG
= 262,
56 BX_TOKEN_CONTINUE
= 272,
58 BX_TOKEN_STEP_OVER
= 274,
59 BX_TOKEN_NEXT_STEP
= 275,
61 BX_TOKEN_DEBUGGER
= 277,
62 BX_TOKEN_LIST_BREAK
= 278,
63 BX_TOKEN_VBREAKPOINT
= 279,
64 BX_TOKEN_LBREAKPOINT
= 280,
65 BX_TOKEN_PBREAKPOINT
= 281,
66 BX_TOKEN_DEL_BREAKPOINT
= 282,
67 BX_TOKEN_ENABLE_BREAKPOINT
= 283,
68 BX_TOKEN_DISABLE_BREAKPOINT
= 284,
71 BX_TOKEN_REGISTERS
= 287,
84 BX_TOKEN_CONTROL_REGS
= 300,
85 BX_TOKEN_SEGMENT_REGS
= 301,
86 BX_TOKEN_EXAMINE
= 302,
87 BX_TOKEN_XFORMAT
= 303,
88 BX_TOKEN_DISFORMAT
= 304,
89 BX_TOKEN_RESTORE
= 305,
90 BX_TOKEN_SETPMEM
= 306,
91 BX_TOKEN_SYMBOLNAME
= 307,
93 BX_TOKEN_PENDING
= 309,
97 BX_TOKEN_DISASSEMBLE
= 313,
98 BX_TOKEN_INSTRUMENT
= 314,
99 BX_TOKEN_STRING
= 315,
103 BX_TOKEN_TRACE
= 319,
104 BX_TOKEN_TRACEREG
= 320,
105 BX_TOKEN_TRACEMEM
= 321,
106 BX_TOKEN_SWITCH_MODE
= 322,
108 BX_TOKEN_PTIME
= 324,
109 BX_TOKEN_TIMEBP_ABSOLUTE
= 325,
110 BX_TOKEN_TIMEBP
= 326,
111 BX_TOKEN_RECORD
= 327,
112 BX_TOKEN_PLAYBACK
= 328,
113 BX_TOKEN_MODEBP
= 329,
114 BX_TOKEN_PRINT_STACK
= 330,
115 BX_TOKEN_WATCH
= 331,
116 BX_TOKEN_UNWATCH
= 332,
118 BX_TOKEN_WRITE
= 334,
120 BX_TOKEN_LOAD_SYMBOLS
= 336,
121 BX_TOKEN_SYMBOLS
= 337,
122 BX_TOKEN_LIST_SYMBOLS
= 338,
123 BX_TOKEN_GLOBAL
= 339,
124 BX_TOKEN_WHERE
= 340,
125 BX_TOKEN_PRINT_STRING
= 341,
126 BX_TOKEN_NUMERIC
= 342,
127 BX_TOKEN_NE2000
= 343,
134 BX_TOKEN_COMMAND
= 350,
135 BX_TOKEN_GENERIC
= 351,
136 BX_TOKEN_RSHIFT
= 352,
137 BX_TOKEN_LSHIFT
= 353,
138 BX_TOKEN_REG_IP
= 354,
139 BX_TOKEN_REG_EIP
= 355,
140 BX_TOKEN_REG_RIP
= 356,
146 #define BX_TOKEN_8BH_REG 258
147 #define BX_TOKEN_8BL_REG 259
148 #define BX_TOKEN_16B_REG 260
149 #define BX_TOKEN_32B_REG 261
150 #define BX_TOKEN_64B_REG 262
151 #define BX_TOKEN_CS 263
152 #define BX_TOKEN_ES 264
153 #define BX_TOKEN_SS 265
154 #define BX_TOKEN_DS 266
155 #define BX_TOKEN_FS 267
156 #define BX_TOKEN_GS 268
157 #define BX_TOKEN_FLAGS 269
158 #define BX_TOKEN_ON 270
159 #define BX_TOKEN_OFF 271
160 #define BX_TOKEN_CONTINUE 272
161 #define BX_TOKEN_STEPN 273
162 #define BX_TOKEN_STEP_OVER 274
163 #define BX_TOKEN_NEXT_STEP 275
164 #define BX_TOKEN_SET 276
165 #define BX_TOKEN_DEBUGGER 277
166 #define BX_TOKEN_LIST_BREAK 278
167 #define BX_TOKEN_VBREAKPOINT 279
168 #define BX_TOKEN_LBREAKPOINT 280
169 #define BX_TOKEN_PBREAKPOINT 281
170 #define BX_TOKEN_DEL_BREAKPOINT 282
171 #define BX_TOKEN_ENABLE_BREAKPOINT 283
172 #define BX_TOKEN_DISABLE_BREAKPOINT 284
173 #define BX_TOKEN_INFO 285
174 #define BX_TOKEN_QUIT 286
175 #define BX_TOKEN_REGISTERS 287
176 #define BX_TOKEN_CPU 288
177 #define BX_TOKEN_FPU 289
178 #define BX_TOKEN_SSE 290
179 #define BX_TOKEN_MMX 291
180 #define BX_TOKEN_IDT 292
181 #define BX_TOKEN_IVT 293
182 #define BX_TOKEN_GDT 294
183 #define BX_TOKEN_LDT 295
184 #define BX_TOKEN_TSS 296
185 #define BX_TOKEN_TAB 297
186 #define BX_TOKEN_DIRTY 298
187 #define BX_TOKEN_LINUX 299
188 #define BX_TOKEN_CONTROL_REGS 300
189 #define BX_TOKEN_SEGMENT_REGS 301
190 #define BX_TOKEN_EXAMINE 302
191 #define BX_TOKEN_XFORMAT 303
192 #define BX_TOKEN_DISFORMAT 304
193 #define BX_TOKEN_RESTORE 305
194 #define BX_TOKEN_SETPMEM 306
195 #define BX_TOKEN_SYMBOLNAME 307
196 #define BX_TOKEN_QUERY 308
197 #define BX_TOKEN_PENDING 309
198 #define BX_TOKEN_TAKE 310
199 #define BX_TOKEN_DMA 311
200 #define BX_TOKEN_IRQ 312
201 #define BX_TOKEN_DISASSEMBLE 313
202 #define BX_TOKEN_INSTRUMENT 314
203 #define BX_TOKEN_STRING 315
204 #define BX_TOKEN_STOP 316
205 #define BX_TOKEN_DOIT 317
206 #define BX_TOKEN_CRC 318
207 #define BX_TOKEN_TRACE 319
208 #define BX_TOKEN_TRACEREG 320
209 #define BX_TOKEN_TRACEMEM 321
210 #define BX_TOKEN_SWITCH_MODE 322
211 #define BX_TOKEN_SIZE 323
212 #define BX_TOKEN_PTIME 324
213 #define BX_TOKEN_TIMEBP_ABSOLUTE 325
214 #define BX_TOKEN_TIMEBP 326
215 #define BX_TOKEN_RECORD 327
216 #define BX_TOKEN_PLAYBACK 328
217 #define BX_TOKEN_MODEBP 329
218 #define BX_TOKEN_PRINT_STACK 330
219 #define BX_TOKEN_WATCH 331
220 #define BX_TOKEN_UNWATCH 332
221 #define BX_TOKEN_READ 333
222 #define BX_TOKEN_WRITE 334
223 #define BX_TOKEN_SHOW 335
224 #define BX_TOKEN_LOAD_SYMBOLS 336
225 #define BX_TOKEN_SYMBOLS 337
226 #define BX_TOKEN_LIST_SYMBOLS 338
227 #define BX_TOKEN_GLOBAL 339
228 #define BX_TOKEN_WHERE 340
229 #define BX_TOKEN_PRINT_STRING 341
230 #define BX_TOKEN_NUMERIC 342
231 #define BX_TOKEN_NE2000 343
232 #define BX_TOKEN_PIC 344
233 #define BX_TOKEN_PAGE 345
234 #define BX_TOKEN_HELP 346
235 #define BX_TOKEN_CALC 347
236 #define BX_TOKEN_VGA 348
237 #define BX_TOKEN_PCI 349
238 #define BX_TOKEN_COMMAND 350
239 #define BX_TOKEN_GENERIC 351
240 #define BX_TOKEN_RSHIFT 352
241 #define BX_TOKEN_LSHIFT 353
242 #define BX_TOKEN_REG_IP 354
243 #define BX_TOKEN_REG_EIP 355
244 #define BX_TOKEN_REG_RIP 356
251 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
252 typedef union YYSTYPE
259 /* Line 1489 of yacc.c. */
262 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
263 # define YYSTYPE_IS_DECLARED 1
264 # define YYSTYPE_IS_TRIVIAL 1
267 extern YYSTYPE bxlval
;