2007-09-24 01:10:06 +04:00
|
|
|
|
/* A Bison parser, made by GNU Bison 2.3. */
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Skeleton implementation for Bison's Yacc-like parsers in C
|
|
|
|
|
|
|
|
|
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
|
|
|
|
Free Software Foundation, Inc.
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
|
any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with this program; if not, write to the Free Software
|
2007-09-24 01:10:06 +04:00
|
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
|
Boston, MA 02110-1301, USA. */
|
|
|
|
|
|
|
|
|
|
/* As a special exception, you may create a larger work that contains
|
|
|
|
|
part or all of the Bison parser skeleton and distribute that work
|
|
|
|
|
under terms of your choice, so long as that work isn't itself a
|
|
|
|
|
parser generator using the skeleton or a modified version thereof
|
|
|
|
|
as a parser skeleton. Alternatively, if you modify or redistribute
|
|
|
|
|
the parser skeleton itself, you may (at your option) remove this
|
|
|
|
|
special exception, which will cause the skeleton and the resulting
|
|
|
|
|
Bison output files to be licensed under the GNU General Public
|
|
|
|
|
License without this special exception.
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
This special exception was added by the Free Software Foundation in
|
|
|
|
|
version 2.2 of Bison. */
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* C LALR(1) parser skeleton written by Richard Stallman, by
|
|
|
|
|
simplifying the original so-called "semantic" parser. */
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
/* All symbols defined below should begin with yy or YY, to avoid
|
|
|
|
|
infringing on user name space. This should be done even for local
|
|
|
|
|
variables, as they might otherwise be expanded by user macros.
|
|
|
|
|
There are some unavoidable exceptions within include files to
|
|
|
|
|
define necessary library symbols; they are noted "INFRINGES ON
|
|
|
|
|
USER NAME SPACE" below. */
|
|
|
|
|
|
|
|
|
|
/* Identify Bison output. */
|
|
|
|
|
#define YYBISON 1
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Bison version. */
|
|
|
|
|
#define YYBISON_VERSION "2.3"
|
|
|
|
|
|
2006-10-18 22:23:18 +04:00
|
|
|
|
/* Skeleton name. */
|
|
|
|
|
#define YYSKELETON_NAME "yacc.c"
|
|
|
|
|
|
|
|
|
|
/* Pure parsers. */
|
|
|
|
|
#define YYPURE 0
|
|
|
|
|
|
|
|
|
|
/* Using locations. */
|
|
|
|
|
#define YYLSP_NEEDED 0
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Substitute the variable and function names. */
|
2003-11-28 18:07:29 +03:00
|
|
|
|
#define yyparse bxparse
|
2006-10-18 22:23:18 +04:00
|
|
|
|
#define yylex bxlex
|
2003-11-28 18:07:29 +03:00
|
|
|
|
#define yyerror bxerror
|
2006-10-18 22:23:18 +04:00
|
|
|
|
#define yylval bxlval
|
|
|
|
|
#define yychar bxchar
|
2003-11-28 18:07:29 +03:00
|
|
|
|
#define yydebug bxdebug
|
|
|
|
|
#define yynerrs bxnerrs
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Tokens. */
|
|
|
|
|
#ifndef YYTOKENTYPE
|
|
|
|
|
# define YYTOKENTYPE
|
|
|
|
|
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
|
|
|
|
know about them. */
|
|
|
|
|
enum yytokentype {
|
|
|
|
|
BX_TOKEN_8BH_REG = 258,
|
|
|
|
|
BX_TOKEN_8BL_REG = 259,
|
|
|
|
|
BX_TOKEN_16B_REG = 260,
|
|
|
|
|
BX_TOKEN_32B_REG = 261,
|
|
|
|
|
BX_TOKEN_64B_REG = 262,
|
|
|
|
|
BX_TOKEN_CS = 263,
|
|
|
|
|
BX_TOKEN_ES = 264,
|
|
|
|
|
BX_TOKEN_SS = 265,
|
|
|
|
|
BX_TOKEN_DS = 266,
|
|
|
|
|
BX_TOKEN_FS = 267,
|
|
|
|
|
BX_TOKEN_GS = 268,
|
|
|
|
|
BX_TOKEN_FLAGS = 269,
|
|
|
|
|
BX_TOKEN_ON = 270,
|
|
|
|
|
BX_TOKEN_OFF = 271,
|
|
|
|
|
BX_TOKEN_CONTINUE = 272,
|
|
|
|
|
BX_TOKEN_STEPN = 273,
|
|
|
|
|
BX_TOKEN_STEP_OVER = 274,
|
|
|
|
|
BX_TOKEN_NEXT_STEP = 275,
|
|
|
|
|
BX_TOKEN_SET = 276,
|
|
|
|
|
BX_TOKEN_DEBUGGER = 277,
|
|
|
|
|
BX_TOKEN_LIST_BREAK = 278,
|
|
|
|
|
BX_TOKEN_VBREAKPOINT = 279,
|
|
|
|
|
BX_TOKEN_LBREAKPOINT = 280,
|
|
|
|
|
BX_TOKEN_PBREAKPOINT = 281,
|
|
|
|
|
BX_TOKEN_DEL_BREAKPOINT = 282,
|
|
|
|
|
BX_TOKEN_ENABLE_BREAKPOINT = 283,
|
|
|
|
|
BX_TOKEN_DISABLE_BREAKPOINT = 284,
|
|
|
|
|
BX_TOKEN_INFO = 285,
|
|
|
|
|
BX_TOKEN_QUIT = 286,
|
|
|
|
|
BX_TOKEN_REGISTERS = 287,
|
|
|
|
|
BX_TOKEN_CPU = 288,
|
|
|
|
|
BX_TOKEN_FPU = 289,
|
|
|
|
|
BX_TOKEN_SSE = 290,
|
2007-10-11 22:12:00 +04:00
|
|
|
|
BX_TOKEN_MMX = 291,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
BX_TOKEN_IDT = 292,
|
|
|
|
|
BX_TOKEN_IVT = 293,
|
|
|
|
|
BX_TOKEN_GDT = 294,
|
|
|
|
|
BX_TOKEN_LDT = 295,
|
|
|
|
|
BX_TOKEN_TSS = 296,
|
|
|
|
|
BX_TOKEN_TAB = 297,
|
|
|
|
|
BX_TOKEN_DIRTY = 298,
|
|
|
|
|
BX_TOKEN_LINUX = 299,
|
|
|
|
|
BX_TOKEN_CONTROL_REGS = 300,
|
|
|
|
|
BX_TOKEN_SEGMENT_REGS = 301,
|
|
|
|
|
BX_TOKEN_EXAMINE = 302,
|
|
|
|
|
BX_TOKEN_XFORMAT = 303,
|
|
|
|
|
BX_TOKEN_DISFORMAT = 304,
|
|
|
|
|
BX_TOKEN_RESTORE = 305,
|
|
|
|
|
BX_TOKEN_SETPMEM = 306,
|
|
|
|
|
BX_TOKEN_SYMBOLNAME = 307,
|
|
|
|
|
BX_TOKEN_QUERY = 308,
|
|
|
|
|
BX_TOKEN_PENDING = 309,
|
|
|
|
|
BX_TOKEN_TAKE = 310,
|
|
|
|
|
BX_TOKEN_DMA = 311,
|
|
|
|
|
BX_TOKEN_IRQ = 312,
|
|
|
|
|
BX_TOKEN_DISASSEMBLE = 313,
|
|
|
|
|
BX_TOKEN_INSTRUMENT = 314,
|
|
|
|
|
BX_TOKEN_STRING = 315,
|
|
|
|
|
BX_TOKEN_STOP = 316,
|
|
|
|
|
BX_TOKEN_DOIT = 317,
|
|
|
|
|
BX_TOKEN_CRC = 318,
|
|
|
|
|
BX_TOKEN_TRACE = 319,
|
|
|
|
|
BX_TOKEN_TRACEREG = 320,
|
|
|
|
|
BX_TOKEN_TRACEMEM = 321,
|
|
|
|
|
BX_TOKEN_SWITCH_MODE = 322,
|
|
|
|
|
BX_TOKEN_SIZE = 323,
|
|
|
|
|
BX_TOKEN_PTIME = 324,
|
|
|
|
|
BX_TOKEN_TIMEBP_ABSOLUTE = 325,
|
|
|
|
|
BX_TOKEN_TIMEBP = 326,
|
|
|
|
|
BX_TOKEN_RECORD = 327,
|
|
|
|
|
BX_TOKEN_PLAYBACK = 328,
|
|
|
|
|
BX_TOKEN_MODEBP = 329,
|
|
|
|
|
BX_TOKEN_PRINT_STACK = 330,
|
|
|
|
|
BX_TOKEN_WATCH = 331,
|
|
|
|
|
BX_TOKEN_UNWATCH = 332,
|
|
|
|
|
BX_TOKEN_READ = 333,
|
|
|
|
|
BX_TOKEN_WRITE = 334,
|
|
|
|
|
BX_TOKEN_SHOW = 335,
|
|
|
|
|
BX_TOKEN_LOAD_SYMBOLS = 336,
|
|
|
|
|
BX_TOKEN_SYMBOLS = 337,
|
|
|
|
|
BX_TOKEN_LIST_SYMBOLS = 338,
|
|
|
|
|
BX_TOKEN_GLOBAL = 339,
|
|
|
|
|
BX_TOKEN_WHERE = 340,
|
|
|
|
|
BX_TOKEN_PRINT_STRING = 341,
|
|
|
|
|
BX_TOKEN_NUMERIC = 342,
|
|
|
|
|
BX_TOKEN_NE2000 = 343,
|
|
|
|
|
BX_TOKEN_PIC = 344,
|
|
|
|
|
BX_TOKEN_PAGE = 345,
|
|
|
|
|
BX_TOKEN_HELP = 346,
|
|
|
|
|
BX_TOKEN_CALC = 347,
|
|
|
|
|
BX_TOKEN_VGA = 348,
|
|
|
|
|
BX_TOKEN_PCI = 349,
|
|
|
|
|
BX_TOKEN_COMMAND = 350,
|
|
|
|
|
BX_TOKEN_GENERIC = 351,
|
|
|
|
|
BX_TOKEN_RSHIFT = 352,
|
|
|
|
|
BX_TOKEN_LSHIFT = 353,
|
|
|
|
|
BX_TOKEN_REG_IP = 354,
|
|
|
|
|
BX_TOKEN_REG_EIP = 355,
|
|
|
|
|
BX_TOKEN_REG_RIP = 356,
|
|
|
|
|
NEG = 357,
|
|
|
|
|
NOT = 358
|
2006-10-18 22:23:18 +04:00
|
|
|
|
};
|
|
|
|
|
#endif
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Tokens. */
|
2006-10-18 22:23:18 +04:00
|
|
|
|
#define BX_TOKEN_8BH_REG 258
|
|
|
|
|
#define BX_TOKEN_8BL_REG 259
|
|
|
|
|
#define BX_TOKEN_16B_REG 260
|
|
|
|
|
#define BX_TOKEN_32B_REG 261
|
|
|
|
|
#define BX_TOKEN_64B_REG 262
|
|
|
|
|
#define BX_TOKEN_CS 263
|
|
|
|
|
#define BX_TOKEN_ES 264
|
|
|
|
|
#define BX_TOKEN_SS 265
|
|
|
|
|
#define BX_TOKEN_DS 266
|
|
|
|
|
#define BX_TOKEN_FS 267
|
|
|
|
|
#define BX_TOKEN_GS 268
|
|
|
|
|
#define BX_TOKEN_FLAGS 269
|
|
|
|
|
#define BX_TOKEN_ON 270
|
|
|
|
|
#define BX_TOKEN_OFF 271
|
|
|
|
|
#define BX_TOKEN_CONTINUE 272
|
|
|
|
|
#define BX_TOKEN_STEPN 273
|
|
|
|
|
#define BX_TOKEN_STEP_OVER 274
|
|
|
|
|
#define BX_TOKEN_NEXT_STEP 275
|
|
|
|
|
#define BX_TOKEN_SET 276
|
|
|
|
|
#define BX_TOKEN_DEBUGGER 277
|
|
|
|
|
#define BX_TOKEN_LIST_BREAK 278
|
|
|
|
|
#define BX_TOKEN_VBREAKPOINT 279
|
|
|
|
|
#define BX_TOKEN_LBREAKPOINT 280
|
|
|
|
|
#define BX_TOKEN_PBREAKPOINT 281
|
|
|
|
|
#define BX_TOKEN_DEL_BREAKPOINT 282
|
|
|
|
|
#define BX_TOKEN_ENABLE_BREAKPOINT 283
|
|
|
|
|
#define BX_TOKEN_DISABLE_BREAKPOINT 284
|
|
|
|
|
#define BX_TOKEN_INFO 285
|
|
|
|
|
#define BX_TOKEN_QUIT 286
|
|
|
|
|
#define BX_TOKEN_REGISTERS 287
|
|
|
|
|
#define BX_TOKEN_CPU 288
|
|
|
|
|
#define BX_TOKEN_FPU 289
|
|
|
|
|
#define BX_TOKEN_SSE 290
|
2007-10-11 22:12:00 +04:00
|
|
|
|
#define BX_TOKEN_MMX 291
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#define BX_TOKEN_IDT 292
|
|
|
|
|
#define BX_TOKEN_IVT 293
|
|
|
|
|
#define BX_TOKEN_GDT 294
|
|
|
|
|
#define BX_TOKEN_LDT 295
|
|
|
|
|
#define BX_TOKEN_TSS 296
|
|
|
|
|
#define BX_TOKEN_TAB 297
|
|
|
|
|
#define BX_TOKEN_DIRTY 298
|
|
|
|
|
#define BX_TOKEN_LINUX 299
|
|
|
|
|
#define BX_TOKEN_CONTROL_REGS 300
|
|
|
|
|
#define BX_TOKEN_SEGMENT_REGS 301
|
|
|
|
|
#define BX_TOKEN_EXAMINE 302
|
|
|
|
|
#define BX_TOKEN_XFORMAT 303
|
|
|
|
|
#define BX_TOKEN_DISFORMAT 304
|
|
|
|
|
#define BX_TOKEN_RESTORE 305
|
|
|
|
|
#define BX_TOKEN_SETPMEM 306
|
|
|
|
|
#define BX_TOKEN_SYMBOLNAME 307
|
|
|
|
|
#define BX_TOKEN_QUERY 308
|
|
|
|
|
#define BX_TOKEN_PENDING 309
|
|
|
|
|
#define BX_TOKEN_TAKE 310
|
|
|
|
|
#define BX_TOKEN_DMA 311
|
|
|
|
|
#define BX_TOKEN_IRQ 312
|
|
|
|
|
#define BX_TOKEN_DISASSEMBLE 313
|
|
|
|
|
#define BX_TOKEN_INSTRUMENT 314
|
|
|
|
|
#define BX_TOKEN_STRING 315
|
|
|
|
|
#define BX_TOKEN_STOP 316
|
|
|
|
|
#define BX_TOKEN_DOIT 317
|
|
|
|
|
#define BX_TOKEN_CRC 318
|
|
|
|
|
#define BX_TOKEN_TRACE 319
|
|
|
|
|
#define BX_TOKEN_TRACEREG 320
|
|
|
|
|
#define BX_TOKEN_TRACEMEM 321
|
|
|
|
|
#define BX_TOKEN_SWITCH_MODE 322
|
|
|
|
|
#define BX_TOKEN_SIZE 323
|
|
|
|
|
#define BX_TOKEN_PTIME 324
|
|
|
|
|
#define BX_TOKEN_TIMEBP_ABSOLUTE 325
|
|
|
|
|
#define BX_TOKEN_TIMEBP 326
|
|
|
|
|
#define BX_TOKEN_RECORD 327
|
|
|
|
|
#define BX_TOKEN_PLAYBACK 328
|
|
|
|
|
#define BX_TOKEN_MODEBP 329
|
|
|
|
|
#define BX_TOKEN_PRINT_STACK 330
|
|
|
|
|
#define BX_TOKEN_WATCH 331
|
|
|
|
|
#define BX_TOKEN_UNWATCH 332
|
|
|
|
|
#define BX_TOKEN_READ 333
|
|
|
|
|
#define BX_TOKEN_WRITE 334
|
|
|
|
|
#define BX_TOKEN_SHOW 335
|
|
|
|
|
#define BX_TOKEN_LOAD_SYMBOLS 336
|
|
|
|
|
#define BX_TOKEN_SYMBOLS 337
|
|
|
|
|
#define BX_TOKEN_LIST_SYMBOLS 338
|
|
|
|
|
#define BX_TOKEN_GLOBAL 339
|
|
|
|
|
#define BX_TOKEN_WHERE 340
|
|
|
|
|
#define BX_TOKEN_PRINT_STRING 341
|
|
|
|
|
#define BX_TOKEN_NUMERIC 342
|
|
|
|
|
#define BX_TOKEN_NE2000 343
|
|
|
|
|
#define BX_TOKEN_PIC 344
|
|
|
|
|
#define BX_TOKEN_PAGE 345
|
|
|
|
|
#define BX_TOKEN_HELP 346
|
|
|
|
|
#define BX_TOKEN_CALC 347
|
|
|
|
|
#define BX_TOKEN_VGA 348
|
|
|
|
|
#define BX_TOKEN_PCI 349
|
|
|
|
|
#define BX_TOKEN_COMMAND 350
|
|
|
|
|
#define BX_TOKEN_GENERIC 351
|
|
|
|
|
#define BX_TOKEN_RSHIFT 352
|
|
|
|
|
#define BX_TOKEN_LSHIFT 353
|
|
|
|
|
#define BX_TOKEN_REG_IP 354
|
|
|
|
|
#define BX_TOKEN_REG_EIP 355
|
|
|
|
|
#define BX_TOKEN_REG_RIP 356
|
|
|
|
|
#define NEG 357
|
|
|
|
|
#define NOT 358
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Copy the first part of user declarations. */
|
|
|
|
|
#line 5 "parser.y"
|
|
|
|
|
|
2003-11-28 18:07:29 +03:00
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include "debug.h"
|
|
|
|
|
|
|
|
|
|
#if BX_DEBUGGER
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Enabling traces. */
|
|
|
|
|
#ifndef YYDEBUG
|
|
|
|
|
# define YYDEBUG 0
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* Enabling verbose error messages. */
|
|
|
|
|
#ifdef YYERROR_VERBOSE
|
|
|
|
|
# undef YYERROR_VERBOSE
|
|
|
|
|
# define YYERROR_VERBOSE 1
|
|
|
|
|
#else
|
|
|
|
|
# define YYERROR_VERBOSE 0
|
|
|
|
|
#endif
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Enabling the token table. */
|
|
|
|
|
#ifndef YYTOKEN_TABLE
|
|
|
|
|
# define YYTOKEN_TABLE 0
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
|
|
|
|
typedef union YYSTYPE
|
2006-02-14 00:32:21 +03:00
|
|
|
|
#line 13 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{
|
2003-11-28 18:07:29 +03:00
|
|
|
|
char *sval;
|
2006-02-13 21:28:14 +03:00
|
|
|
|
Bit64u uval;
|
2006-01-25 21:13:44 +03:00
|
|
|
|
bx_bool bval;
|
2007-09-24 01:10:06 +04:00
|
|
|
|
}
|
|
|
|
|
/* Line 187 of yacc.c. */
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 324 "y.tab.c"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
YYSTYPE;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
|
|
|
|
# define YYSTYPE_IS_DECLARED 1
|
|
|
|
|
# define YYSTYPE_IS_TRIVIAL 1
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Copy the second part of user declarations. */
|
|
|
|
|
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Line 216 of yacc.c. */
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 337 "y.tab.c"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#ifdef short
|
|
|
|
|
# undef short
|
|
|
|
|
#endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#ifdef YYTYPE_UINT8
|
|
|
|
|
typedef YYTYPE_UINT8 yytype_uint8;
|
|
|
|
|
#else
|
|
|
|
|
typedef unsigned char yytype_uint8;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef YYTYPE_INT8
|
|
|
|
|
typedef YYTYPE_INT8 yytype_int8;
|
|
|
|
|
#elif (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
|
|
|
|
typedef signed char yytype_int8;
|
|
|
|
|
#else
|
|
|
|
|
typedef short int yytype_int8;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef YYTYPE_UINT16
|
|
|
|
|
typedef YYTYPE_UINT16 yytype_uint16;
|
|
|
|
|
#else
|
|
|
|
|
typedef unsigned short int yytype_uint16;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef YYTYPE_INT16
|
|
|
|
|
typedef YYTYPE_INT16 yytype_int16;
|
|
|
|
|
#else
|
|
|
|
|
typedef short int yytype_int16;
|
|
|
|
|
#endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#ifndef YYSIZE_T
|
|
|
|
|
# ifdef __SIZE_TYPE__
|
|
|
|
|
# define YYSIZE_T __SIZE_TYPE__
|
|
|
|
|
# elif defined size_t
|
|
|
|
|
# define YYSIZE_T size_t
|
|
|
|
|
# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
|
|
|
|
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
|
|
|
|
|
# define YYSIZE_T size_t
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# else
|
2007-09-24 01:10:06 +04:00
|
|
|
|
# define YYSIZE_T unsigned int
|
|
|
|
|
# endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
|
|
|
|
|
|
|
|
|
|
#ifndef YY_
|
|
|
|
|
# if YYENABLE_NLS
|
|
|
|
|
# if ENABLE_NLS
|
|
|
|
|
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
|
|
|
|
|
# define YY_(msgid) dgettext ("bison-runtime", msgid)
|
|
|
|
|
# endif
|
|
|
|
|
# endif
|
|
|
|
|
# ifndef YY_
|
|
|
|
|
# define YY_(msgid) msgid
|
|
|
|
|
# endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* Suppress unused-variable warnings by "using" E. */
|
|
|
|
|
#if ! defined lint || defined __GNUC__
|
|
|
|
|
# define YYUSE(e) ((void) (e))
|
|
|
|
|
#else
|
|
|
|
|
# define YYUSE(e) /* empty */
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* Identity function, used to suppress warnings about constant conditions. */
|
|
|
|
|
#ifndef lint
|
|
|
|
|
# define YYID(n) (n)
|
|
|
|
|
#else
|
|
|
|
|
#if (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
|
|
|
|
static int
|
|
|
|
|
YYID (int i)
|
|
|
|
|
#else
|
|
|
|
|
static int
|
|
|
|
|
YYID (i)
|
|
|
|
|
int i;
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
return i;
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if ! defined yyoverflow || YYERROR_VERBOSE
|
|
|
|
|
|
|
|
|
|
/* The parser invokes alloca or malloc; define the necessary symbols. */
|
|
|
|
|
|
|
|
|
|
# ifdef YYSTACK_USE_ALLOCA
|
|
|
|
|
# if YYSTACK_USE_ALLOCA
|
|
|
|
|
# ifdef __GNUC__
|
|
|
|
|
# define YYSTACK_ALLOC __builtin_alloca
|
|
|
|
|
# elif defined __BUILTIN_VA_ARG_INCR
|
|
|
|
|
# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
|
|
|
|
|
# elif defined _AIX
|
|
|
|
|
# define YYSTACK_ALLOC __alloca
|
|
|
|
|
# elif defined _MSC_VER
|
|
|
|
|
# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
|
|
|
|
|
# define alloca _alloca
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# else
|
2007-09-24 01:10:06 +04:00
|
|
|
|
# define YYSTACK_ALLOC alloca
|
|
|
|
|
# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
|
|
|
|
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
|
|
|
|
|
# ifndef _STDLIB_H
|
|
|
|
|
# define _STDLIB_H 1
|
|
|
|
|
# endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# endif
|
|
|
|
|
# endif
|
|
|
|
|
# endif
|
|
|
|
|
# endif
|
|
|
|
|
|
|
|
|
|
# ifdef YYSTACK_ALLOC
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Pacify GCC's `empty if-body' warning. */
|
|
|
|
|
# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
|
|
|
|
|
# ifndef YYSTACK_ALLOC_MAXIMUM
|
|
|
|
|
/* The OS might guarantee only one guard page at the bottom of the stack,
|
|
|
|
|
and a page size can be as small as 4096 bytes. So we cannot safely
|
|
|
|
|
invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
|
|
|
|
|
to allow for a few compiler-allocated temporary stack slots. */
|
|
|
|
|
# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
|
|
|
|
|
# endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# else
|
2007-09-24 01:10:06 +04:00
|
|
|
|
# define YYSTACK_ALLOC YYMALLOC
|
|
|
|
|
# define YYSTACK_FREE YYFREE
|
|
|
|
|
# ifndef YYSTACK_ALLOC_MAXIMUM
|
|
|
|
|
# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
|
|
|
|
|
# endif
|
|
|
|
|
# if (defined __cplusplus && ! defined _STDLIB_H \
|
|
|
|
|
&& ! ((defined YYMALLOC || defined malloc) \
|
|
|
|
|
&& (defined YYFREE || defined free)))
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
# ifndef _STDLIB_H
|
|
|
|
|
# define _STDLIB_H 1
|
|
|
|
|
# endif
|
|
|
|
|
# endif
|
|
|
|
|
# ifndef YYMALLOC
|
|
|
|
|
# define YYMALLOC malloc
|
|
|
|
|
# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
|
|
|
|
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
|
|
|
|
|
# endif
|
|
|
|
|
# endif
|
|
|
|
|
# ifndef YYFREE
|
|
|
|
|
# define YYFREE free
|
|
|
|
|
# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
|
|
|
|
void free (void *); /* INFRINGES ON USER NAME SPACE */
|
|
|
|
|
# endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# endif
|
|
|
|
|
# endif
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#endif /* ! defined yyoverflow || YYERROR_VERBOSE */
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#if (! defined yyoverflow \
|
|
|
|
|
&& (! defined __cplusplus \
|
|
|
|
|
|| (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
/* A type that is properly aligned for any stack member. */
|
|
|
|
|
union yyalloc
|
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
yytype_int16 yyss;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
YYSTYPE yyvs;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/* The size of the maximum gap between one aligned stack and the next. */
|
|
|
|
|
# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
|
|
|
|
|
|
|
|
|
|
/* The size of an array large to enough to hold all stacks, each with
|
|
|
|
|
N elements. */
|
|
|
|
|
# define YYSTACK_BYTES(N) \
|
2007-09-24 01:10:06 +04:00
|
|
|
|
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
|
2006-10-18 22:23:18 +04:00
|
|
|
|
+ YYSTACK_GAP_MAXIMUM)
|
|
|
|
|
|
|
|
|
|
/* Copy COUNT objects from FROM to TO. The source and destination do
|
|
|
|
|
not overlap. */
|
|
|
|
|
# ifndef YYCOPY
|
2007-09-24 01:10:06 +04:00
|
|
|
|
# if defined __GNUC__ && 1 < __GNUC__
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# define YYCOPY(To, From, Count) \
|
|
|
|
|
__builtin_memcpy (To, From, (Count) * sizeof (*(From)))
|
|
|
|
|
# else
|
|
|
|
|
# define YYCOPY(To, From, Count) \
|
|
|
|
|
do \
|
|
|
|
|
{ \
|
2007-09-24 01:10:06 +04:00
|
|
|
|
YYSIZE_T yyi; \
|
2006-10-18 22:23:18 +04:00
|
|
|
|
for (yyi = 0; yyi < (Count); yyi++) \
|
|
|
|
|
(To)[yyi] = (From)[yyi]; \
|
|
|
|
|
} \
|
2007-09-24 01:10:06 +04:00
|
|
|
|
while (YYID (0))
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# endif
|
|
|
|
|
# endif
|
|
|
|
|
|
|
|
|
|
/* Relocate STACK from its old location to the new one. The
|
|
|
|
|
local variables YYSIZE and YYSTACKSIZE give the old and new number of
|
|
|
|
|
elements in the stack, and YYPTR gives the new location of the
|
|
|
|
|
stack. Advance YYPTR to a properly aligned location for the next
|
|
|
|
|
stack. */
|
|
|
|
|
# define YYSTACK_RELOCATE(Stack) \
|
|
|
|
|
do \
|
|
|
|
|
{ \
|
|
|
|
|
YYSIZE_T yynewbytes; \
|
|
|
|
|
YYCOPY (&yyptr->Stack, Stack, yysize); \
|
|
|
|
|
Stack = &yyptr->Stack; \
|
|
|
|
|
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
|
|
|
|
|
yyptr += yynewbytes / sizeof (*yyptr); \
|
|
|
|
|
} \
|
2007-09-24 01:10:06 +04:00
|
|
|
|
while (YYID (0))
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* YYFINAL -- State number of the termination state. */
|
2008-05-04 01:32:02 +04:00
|
|
|
|
#define YYFINAL 268
|
2006-10-18 22:23:18 +04:00
|
|
|
|
/* YYLAST -- Last index in YYTABLE. */
|
2008-05-04 01:32:02 +04:00
|
|
|
|
#define YYLAST 1132
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* YYNTOKENS -- Number of terminals. */
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#define YYNTOKENS 117
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* YYNNTS -- Number of nonterminals. */
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#define YYNNTS 52
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* YYNRULES -- Number of rules. */
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#define YYNRULES 252
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* YYNRULES -- Number of states. */
|
2008-05-04 01:32:02 +04:00
|
|
|
|
#define YYNSTATES 488
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
|
|
|
|
|
#define YYUNDEFTOK 2
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#define YYMAXUTOK 358
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#define YYTRANSLATE(YYX) \
|
2006-10-18 22:23:18 +04:00
|
|
|
|
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
|
|
|
|
|
|
|
|
|
|
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
static const yytype_uint8 yytranslate[] =
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
|
|
|
|
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
111, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2006-10-18 22:23:18 +04:00
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
2, 2, 2, 114, 2, 2, 2, 2, 108, 2,
|
|
|
|
|
115, 116, 106, 102, 2, 103, 2, 107, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 113, 2,
|
|
|
|
|
2, 112, 2, 2, 2, 2, 2, 2, 2, 2,
|
2006-10-18 22:23:18 +04:00
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
2, 2, 2, 2, 105, 2, 2, 2, 2, 2,
|
2006-10-18 22:23:18 +04:00
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
2, 2, 2, 2, 104, 2, 2, 2, 2, 2,
|
2006-10-18 22:23:18 +04:00
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
|
|
|
|
|
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
|
|
|
|
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
|
|
|
|
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
|
|
|
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
|
|
|
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
|
|
|
|
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
|
|
|
|
|
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
|
|
|
|
|
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
|
|
|
|
|
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
95, 96, 97, 98, 99, 100, 101, 109, 110
|
2003-11-28 18:07:29 +03:00
|
|
|
|
};
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
#if YYDEBUG
|
|
|
|
|
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
|
|
|
|
|
YYRHS. */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
static const yytype_uint16 yyprhs[] =
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
|
|
|
|
0, 0, 3, 6, 8, 10, 12, 14, 16, 18,
|
|
|
|
|
20, 22, 24, 26, 28, 30, 32, 34, 36, 38,
|
|
|
|
|
40, 42, 44, 46, 48, 50, 52, 54, 56, 58,
|
|
|
|
|
60, 62, 64, 66, 68, 70, 72, 74, 76, 78,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
80, 82, 84, 86, 88, 90, 92, 94, 96, 97,
|
|
|
|
|
99, 101, 103, 105, 107, 109, 111, 113, 115, 119,
|
|
|
|
|
123, 127, 131, 134, 138, 142, 145, 149, 152, 156,
|
|
|
|
|
160, 164, 167, 171, 175, 179, 182, 185, 190, 195,
|
|
|
|
|
200, 205, 209, 214, 219, 225, 228, 232, 235, 238,
|
|
|
|
|
242, 245, 250, 256, 262, 268, 274, 280, 286, 289,
|
|
|
|
|
295, 298, 302, 306, 309, 313, 318, 321, 324, 328,
|
|
|
|
|
332, 336, 340, 346, 352, 358, 364, 368, 372, 376,
|
|
|
|
|
380, 384, 389, 393, 399, 407, 411, 415, 419, 420,
|
|
|
|
|
422, 425, 428, 431, 434, 437, 440, 444, 448, 452,
|
|
|
|
|
455, 460, 464, 468, 471, 476, 482, 486, 490, 495,
|
|
|
|
|
499, 502, 506, 511, 515, 520, 526, 530, 536, 540,
|
|
|
|
|
544, 548, 553, 557, 561, 565, 569, 573, 577, 581,
|
|
|
|
|
585, 589, 593, 597, 601, 605, 609, 613, 617, 621,
|
|
|
|
|
625, 629, 633, 637, 641, 645, 649, 653, 657, 661,
|
|
|
|
|
665, 669, 673, 677, 681, 685, 689, 693, 697, 701,
|
|
|
|
|
705, 709, 713, 717, 721, 725, 728, 732, 734, 736,
|
|
|
|
|
738, 740, 742, 744, 746, 748, 750, 752, 756, 760,
|
|
|
|
|
764, 768, 772, 776, 780, 784, 788, 791, 794, 798,
|
|
|
|
|
800, 802, 804, 806, 808, 810, 812, 814, 816, 818,
|
|
|
|
|
820, 824, 828, 832, 836, 840, 844, 848, 852, 856,
|
|
|
|
|
860, 863, 866
|
2003-11-28 18:07:29 +03:00
|
|
|
|
};
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
|
|
|
|
|
static const yytype_int16 yyrhs[] =
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-01 23:10:07 +04:00
|
|
|
|
118, 0, -1, 118, 119, -1, 119, -1, 137, -1,
|
|
|
|
|
138, -1, 139, -1, 140, -1, 141, -1, 144, -1,
|
|
|
|
|
146, -1, 147, -1, 148, -1, 149, -1, 150, -1,
|
|
|
|
|
151, -1, 142, -1, 143, -1, 152, -1, 153, -1,
|
|
|
|
|
154, -1, 155, -1, 156, -1, 157, -1, 158, -1,
|
|
|
|
|
159, -1, 160, -1, 161, -1, 162, -1, 163, -1,
|
|
|
|
|
164, -1, 129, -1, 130, -1, 131, -1, 128, -1,
|
|
|
|
|
122, -1, 123, -1, 124, -1, 125, -1, 132, -1,
|
|
|
|
|
133, -1, 127, -1, 126, -1, 134, -1, 135, -1,
|
|
|
|
|
136, -1, 165, -1, 166, -1, -1, 111, -1, 15,
|
2008-04-19 17:21:23 +04:00
|
|
|
|
-1, 16, -1, 8, -1, 9, -1, 10, -1, 11,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
-1, 12, -1, 13, -1, 71, 87, 111, -1, 70,
|
|
|
|
|
87, 111, -1, 72, 60, 111, -1, 73, 60, 111,
|
|
|
|
|
-1, 74, 111, -1, 80, 95, 111, -1, 80, 60,
|
|
|
|
|
111, -1, 80, 111, -1, 90, 87, 111, -1, 69,
|
|
|
|
|
111, -1, 64, 120, 111, -1, 65, 120, 111, -1,
|
|
|
|
|
66, 120, 111, -1, 75, 111, -1, 75, 87, 111,
|
|
|
|
|
-1, 76, 61, 111, -1, 76, 17, 111, -1, 76,
|
|
|
|
|
111, -1, 77, 111, -1, 76, 78, 87, 111, -1,
|
|
|
|
|
77, 78, 87, 111, -1, 76, 79, 87, 111, -1,
|
|
|
|
|
77, 79, 87, 111, -1, 81, 60, 111, -1, 81,
|
|
|
|
|
60, 87, 111, -1, 81, 84, 60, 111, -1, 81,
|
|
|
|
|
84, 60, 87, 111, -1, 85, 111, -1, 86, 87,
|
|
|
|
|
111, -1, 17, 111, -1, 18, 111, -1, 18, 87,
|
|
|
|
|
111, -1, 19, 111, -1, 21, 58, 120, 111, -1,
|
|
|
|
|
21, 52, 112, 87, 111, -1, 21, 4, 112, 168,
|
|
|
|
|
111, -1, 21, 3, 112, 168, 111, -1, 21, 5,
|
|
|
|
|
112, 168, 111, -1, 21, 6, 112, 168, 111, -1,
|
|
|
|
|
21, 7, 112, 168, 111, -1, 24, 111, -1, 24,
|
|
|
|
|
167, 113, 167, 111, -1, 25, 111, -1, 25, 168,
|
|
|
|
|
111, -1, 25, 60, 111, -1, 26, 111, -1, 26,
|
|
|
|
|
168, 111, -1, 26, 106, 168, 111, -1, 23, 111,
|
|
|
|
|
-1, 83, 111, -1, 83, 60, 111, -1, 30, 26,
|
|
|
|
|
111, -1, 30, 33, 111, -1, 30, 43, 111, -1,
|
|
|
|
|
30, 37, 145, 145, 111, -1, 30, 38, 145, 145,
|
|
|
|
|
111, -1, 30, 39, 145, 145, 111, -1, 30, 40,
|
|
|
|
|
145, 145, 111, -1, 30, 42, 111, -1, 30, 41,
|
|
|
|
|
111, -1, 30, 14, 111, -1, 30, 44, 111, -1,
|
|
|
|
|
30, 82, 111, -1, 30, 82, 60, 111, -1, 30,
|
|
|
|
|
88, 111, -1, 30, 88, 90, 87, 111, -1, 30,
|
|
|
|
|
88, 90, 87, 32, 87, 111, -1, 30, 89, 111,
|
|
|
|
|
-1, 30, 93, 111, -1, 30, 94, 111, -1, -1,
|
|
|
|
|
87, -1, 32, 111, -1, 34, 111, -1, 36, 111,
|
2008-05-04 01:32:02 +04:00
|
|
|
|
-1, 35, 111, -1, 46, 111, -1, 45, 111, -1,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
27, 87, 111, -1, 28, 87, 111, -1, 29, 87,
|
|
|
|
|
111, -1, 31, 111, -1, 47, 48, 168, 111, -1,
|
|
|
|
|
47, 48, 111, -1, 47, 168, 111, -1, 47, 111,
|
|
|
|
|
-1, 50, 60, 60, 111, -1, 51, 87, 87, 87,
|
|
|
|
|
111, -1, 53, 54, 111, -1, 55, 56, 111, -1,
|
|
|
|
|
55, 56, 87, 111, -1, 55, 57, 111, -1, 58,
|
|
|
|
|
111, -1, 58, 168, 111, -1, 58, 168, 168, 111,
|
|
|
|
|
-1, 58, 49, 111, -1, 58, 49, 168, 111, -1,
|
|
|
|
|
58, 49, 168, 168, 111, -1, 58, 67, 111, -1,
|
|
|
|
|
58, 68, 112, 87, 111, -1, 59, 61, 111, -1,
|
|
|
|
|
59, 95, 111, -1, 62, 87, 111, -1, 63, 87,
|
|
|
|
|
87, 111, -1, 91, 31, 111, -1, 91, 17, 111,
|
|
|
|
|
-1, 91, 18, 111, -1, 91, 19, 111, -1, 91,
|
|
|
|
|
24, 111, -1, 91, 25, 111, -1, 91, 26, 111,
|
|
|
|
|
-1, 91, 27, 111, -1, 91, 28, 111, -1, 91,
|
|
|
|
|
29, 111, -1, 91, 23, 111, -1, 91, 74, 111,
|
|
|
|
|
-1, 91, 63, 111, -1, 91, 64, 111, -1, 91,
|
|
|
|
|
65, 111, -1, 91, 66, 111, -1, 91, 50, 111,
|
|
|
|
|
-1, 91, 69, 111, -1, 91, 71, 111, -1, 91,
|
|
|
|
|
70, 111, -1, 91, 75, 111, -1, 91, 72, 111,
|
|
|
|
|
-1, 91, 73, 111, -1, 91, 81, 111, -1, 91,
|
|
|
|
|
83, 111, -1, 91, 32, 111, -1, 91, 34, 111,
|
|
|
|
|
-1, 91, 36, 111, -1, 91, 35, 111, -1, 91,
|
|
|
|
|
46, 111, -1, 91, 45, 111, -1, 91, 51, 111,
|
|
|
|
|
-1, 91, 58, 111, -1, 91, 76, 111, -1, 91,
|
|
|
|
|
77, 111, -1, 91, 47, 111, -1, 91, 59, 111,
|
|
|
|
|
-1, 91, 21, 111, -1, 91, 90, 111, -1, 91,
|
|
|
|
|
30, 111, -1, 91, 80, 111, -1, 91, 92, 111,
|
|
|
|
|
-1, 91, 91, 111, -1, 91, 111, -1, 92, 168,
|
|
|
|
|
111, -1, 87, -1, 4, -1, 3, -1, 5, -1,
|
|
|
|
|
6, -1, 7, -1, 121, -1, 99, -1, 100, -1,
|
|
|
|
|
101, -1, 167, 102, 167, -1, 167, 103, 167, -1,
|
|
|
|
|
167, 106, 167, -1, 167, 107, 167, -1, 167, 97,
|
|
|
|
|
167, -1, 167, 98, 167, -1, 167, 104, 167, -1,
|
|
|
|
|
167, 105, 167, -1, 167, 108, 167, -1, 114, 167,
|
|
|
|
|
-1, 103, 167, -1, 115, 167, 116, -1, 87, -1,
|
|
|
|
|
60, -1, 4, -1, 3, -1, 5, -1, 6, -1,
|
|
|
|
|
7, -1, 121, -1, 99, -1, 100, -1, 101, -1,
|
|
|
|
|
168, 113, 168, -1, 168, 102, 168, -1, 168, 103,
|
|
|
|
|
168, -1, 168, 106, 168, -1, 168, 107, 168, -1,
|
|
|
|
|
168, 97, 168, -1, 168, 98, 168, -1, 168, 104,
|
|
|
|
|
168, -1, 168, 105, 168, -1, 168, 108, 168, -1,
|
|
|
|
|
114, 168, -1, 103, 168, -1, 115, 168, 116, -1
|
2003-11-28 18:07:29 +03:00
|
|
|
|
};
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
static const yytype_uint16 yyrline[] =
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-01 23:10:07 +04:00
|
|
|
|
0, 135, 135, 136, 140, 141, 142, 143, 144, 145,
|
|
|
|
|
146, 147, 148, 149, 150, 151, 152, 153, 154, 155,
|
|
|
|
|
156, 157, 158, 159, 160, 161, 162, 163, 164, 165,
|
|
|
|
|
166, 167, 168, 169, 170, 171, 172, 173, 174, 175,
|
|
|
|
|
176, 177, 178, 179, 180, 181, 182, 183, 184, 185,
|
|
|
|
|
191, 192, 197, 198, 199, 200, 201, 202, 207, 212,
|
|
|
|
|
220, 228, 236, 244, 249, 254, 262, 270, 278, 286,
|
|
|
|
|
294, 302, 307, 315, 321, 327, 332, 337, 342, 347,
|
|
|
|
|
352, 360, 365, 370, 375, 383, 391, 399, 407, 412,
|
|
|
|
|
420, 428, 433, 438, 442, 446, 450, 454, 461, 466,
|
|
|
|
|
471, 476, 481, 486, 491, 496, 504, 512, 517, 525,
|
|
|
|
|
530, 535, 540, 545, 550, 555, 560, 565, 570, 575,
|
|
|
|
|
580, 585, 590, 595, 600, 605, 610, 615, 623, 624,
|
|
|
|
|
627, 635, 643, 651, 659, 667, 675, 683, 690, 698,
|
|
|
|
|
706, 711, 716, 721, 729, 737, 745, 753, 758, 763,
|
|
|
|
|
771, 776, 781, 786, 791, 796, 801, 806, 814, 819,
|
|
|
|
|
827, 835, 843, 848, 853, 858, 863, 868, 873, 878,
|
|
|
|
|
883, 888, 893, 898, 903, 908, 914, 920, 926, 934,
|
|
|
|
|
939, 944, 949, 954, 959, 964, 969, 974, 979, 984,
|
|
|
|
|
989, 994, 999, 1004, 1009, 1018, 1027, 1034, 1047, 1055,
|
|
|
|
|
1065, 1070, 1087, 1099, 1109, 1114, 1122, 1140, 1141, 1142,
|
|
|
|
|
1143, 1144, 1145, 1146, 1147, 1148, 1149, 1150, 1151, 1152,
|
|
|
|
|
1153, 1154, 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1166,
|
|
|
|
|
1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1176,
|
|
|
|
|
1177, 1178, 1179, 1180, 1181, 1182, 1183, 1184, 1185, 1186,
|
|
|
|
|
1187, 1188, 1189
|
2003-11-28 18:07:29 +03:00
|
|
|
|
};
|
2006-10-18 22:23:18 +04:00
|
|
|
|
#endif
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
|
|
|
|
|
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
|
|
|
|
|
First, the terminals, then, starting at YYNTOKENS, nonterminals. */
|
2006-10-18 22:23:18 +04:00
|
|
|
|
static const char *const yytname[] =
|
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
"$end", "error", "$undefined", "BX_TOKEN_8BH_REG", "BX_TOKEN_8BL_REG",
|
|
|
|
|
"BX_TOKEN_16B_REG", "BX_TOKEN_32B_REG", "BX_TOKEN_64B_REG",
|
|
|
|
|
"BX_TOKEN_CS", "BX_TOKEN_ES", "BX_TOKEN_SS", "BX_TOKEN_DS",
|
|
|
|
|
"BX_TOKEN_FS", "BX_TOKEN_GS", "BX_TOKEN_FLAGS", "BX_TOKEN_ON",
|
|
|
|
|
"BX_TOKEN_OFF", "BX_TOKEN_CONTINUE", "BX_TOKEN_STEPN",
|
|
|
|
|
"BX_TOKEN_STEP_OVER", "BX_TOKEN_NEXT_STEP", "BX_TOKEN_SET",
|
|
|
|
|
"BX_TOKEN_DEBUGGER", "BX_TOKEN_LIST_BREAK", "BX_TOKEN_VBREAKPOINT",
|
|
|
|
|
"BX_TOKEN_LBREAKPOINT", "BX_TOKEN_PBREAKPOINT",
|
|
|
|
|
"BX_TOKEN_DEL_BREAKPOINT", "BX_TOKEN_ENABLE_BREAKPOINT",
|
|
|
|
|
"BX_TOKEN_DISABLE_BREAKPOINT", "BX_TOKEN_INFO", "BX_TOKEN_QUIT",
|
|
|
|
|
"BX_TOKEN_REGISTERS", "BX_TOKEN_CPU", "BX_TOKEN_FPU", "BX_TOKEN_SSE",
|
2008-05-01 23:10:07 +04:00
|
|
|
|
"BX_TOKEN_MMX", "BX_TOKEN_IDT", "BX_TOKEN_IVT", "BX_TOKEN_GDT",
|
|
|
|
|
"BX_TOKEN_LDT", "BX_TOKEN_TSS", "BX_TOKEN_TAB", "BX_TOKEN_DIRTY",
|
|
|
|
|
"BX_TOKEN_LINUX", "BX_TOKEN_CONTROL_REGS", "BX_TOKEN_SEGMENT_REGS",
|
|
|
|
|
"BX_TOKEN_EXAMINE", "BX_TOKEN_XFORMAT", "BX_TOKEN_DISFORMAT",
|
|
|
|
|
"BX_TOKEN_RESTORE", "BX_TOKEN_SETPMEM", "BX_TOKEN_SYMBOLNAME",
|
|
|
|
|
"BX_TOKEN_QUERY", "BX_TOKEN_PENDING", "BX_TOKEN_TAKE", "BX_TOKEN_DMA",
|
|
|
|
|
"BX_TOKEN_IRQ", "BX_TOKEN_DISASSEMBLE", "BX_TOKEN_INSTRUMENT",
|
|
|
|
|
"BX_TOKEN_STRING", "BX_TOKEN_STOP", "BX_TOKEN_DOIT", "BX_TOKEN_CRC",
|
|
|
|
|
"BX_TOKEN_TRACE", "BX_TOKEN_TRACEREG", "BX_TOKEN_TRACEMEM",
|
|
|
|
|
"BX_TOKEN_SWITCH_MODE", "BX_TOKEN_SIZE", "BX_TOKEN_PTIME",
|
|
|
|
|
"BX_TOKEN_TIMEBP_ABSOLUTE", "BX_TOKEN_TIMEBP", "BX_TOKEN_RECORD",
|
|
|
|
|
"BX_TOKEN_PLAYBACK", "BX_TOKEN_MODEBP", "BX_TOKEN_PRINT_STACK",
|
|
|
|
|
"BX_TOKEN_WATCH", "BX_TOKEN_UNWATCH", "BX_TOKEN_READ", "BX_TOKEN_WRITE",
|
|
|
|
|
"BX_TOKEN_SHOW", "BX_TOKEN_LOAD_SYMBOLS", "BX_TOKEN_SYMBOLS",
|
|
|
|
|
"BX_TOKEN_LIST_SYMBOLS", "BX_TOKEN_GLOBAL", "BX_TOKEN_WHERE",
|
|
|
|
|
"BX_TOKEN_PRINT_STRING", "BX_TOKEN_NUMERIC", "BX_TOKEN_NE2000",
|
|
|
|
|
"BX_TOKEN_PIC", "BX_TOKEN_PAGE", "BX_TOKEN_HELP", "BX_TOKEN_CALC",
|
|
|
|
|
"BX_TOKEN_VGA", "BX_TOKEN_PCI", "BX_TOKEN_COMMAND", "BX_TOKEN_GENERIC",
|
|
|
|
|
"BX_TOKEN_RSHIFT", "BX_TOKEN_LSHIFT", "BX_TOKEN_REG_IP",
|
|
|
|
|
"BX_TOKEN_REG_EIP", "BX_TOKEN_REG_RIP", "'+'", "'-'", "'|'", "'^'",
|
|
|
|
|
"'*'", "'/'", "'&'", "NEG", "NOT", "'\\n'", "'='", "':'", "'!'", "'('",
|
|
|
|
|
"')'", "$accept", "commands", "command", "BX_TOKEN_TOGGLE_ON_OFF",
|
|
|
|
|
"BX_TOKEN_SEGREG", "timebp_command", "record_command",
|
|
|
|
|
"playback_command", "modebp_command", "show_command", "page_command",
|
|
|
|
|
"ptime_command", "trace_command", "trace_reg_command",
|
|
|
|
|
"trace_mem_command", "print_stack_command", "watch_point_command",
|
|
|
|
|
"symbol_command", "where_command", "print_string_command",
|
|
|
|
|
"continue_command", "stepN_command", "step_over_command", "set_command",
|
|
|
|
|
"breakpoint_command", "blist_command", "slist_command", "info_command",
|
|
|
|
|
"optional_numeric", "regs_command", "fpu_regs_command",
|
|
|
|
|
"mmx_regs_command", "sse_regs_command", "segment_regs_command",
|
|
|
|
|
"control_regs_command", "delete_command", "bpe_command", "bpd_command",
|
2008-04-19 17:21:23 +04:00
|
|
|
|
"quit_command", "examine_command", "restore_command", "setpmem_command",
|
|
|
|
|
"query_command", "take_command", "disassemble_command",
|
|
|
|
|
"instrument_command", "doit_command", "crc_command", "help_command",
|
|
|
|
|
"calc_command", "vexpression", "expression", 0
|
2003-11-28 18:07:29 +03:00
|
|
|
|
};
|
2006-10-18 22:23:18 +04:00
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
# ifdef YYPRINT
|
|
|
|
|
/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
|
|
|
|
|
token YYLEX-NUM. */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
static const yytype_uint16 yytoknum[] =
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
|
|
|
|
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
|
|
|
|
|
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
|
|
|
|
|
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
|
|
|
|
|
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
|
|
|
|
|
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
|
|
|
|
|
305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
|
|
|
|
|
315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
|
|
|
|
|
325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
|
|
|
|
|
335, 336, 337, 338, 339, 340, 341, 342, 343, 344,
|
|
|
|
|
345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
355, 356, 43, 45, 124, 94, 42, 47, 38, 357,
|
|
|
|
|
358, 10, 61, 58, 33, 40, 41
|
2003-11-28 18:07:29 +03:00
|
|
|
|
};
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# endif
|
|
|
|
|
|
|
|
|
|
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
static const yytype_uint8 yyr1[] =
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-01 23:10:07 +04:00
|
|
|
|
0, 117, 118, 118, 119, 119, 119, 119, 119, 119,
|
|
|
|
|
119, 119, 119, 119, 119, 119, 119, 119, 119, 119,
|
|
|
|
|
119, 119, 119, 119, 119, 119, 119, 119, 119, 119,
|
|
|
|
|
119, 119, 119, 119, 119, 119, 119, 119, 119, 119,
|
|
|
|
|
119, 119, 119, 119, 119, 119, 119, 119, 119, 119,
|
|
|
|
|
120, 120, 121, 121, 121, 121, 121, 121, 122, 122,
|
|
|
|
|
123, 124, 125, 126, 126, 126, 127, 128, 129, 130,
|
|
|
|
|
131, 132, 132, 133, 133, 133, 133, 133, 133, 133,
|
|
|
|
|
133, 134, 134, 134, 134, 135, 136, 137, 138, 138,
|
|
|
|
|
139, 140, 140, 140, 140, 140, 140, 140, 141, 141,
|
|
|
|
|
141, 141, 141, 141, 141, 141, 142, 143, 143, 144,
|
|
|
|
|
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
|
|
|
|
|
144, 144, 144, 144, 144, 144, 144, 144, 145, 145,
|
|
|
|
|
146, 147, 148, 149, 150, 151, 152, 153, 154, 155,
|
|
|
|
|
156, 156, 156, 156, 157, 158, 159, 160, 160, 160,
|
|
|
|
|
161, 161, 161, 161, 161, 161, 161, 161, 162, 162,
|
|
|
|
|
163, 164, 165, 165, 165, 165, 165, 165, 165, 165,
|
|
|
|
|
165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
|
|
|
|
|
165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
|
|
|
|
|
165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
|
|
|
|
|
165, 165, 165, 165, 165, 165, 166, 167, 167, 167,
|
|
|
|
|
167, 167, 167, 167, 167, 167, 167, 167, 167, 167,
|
|
|
|
|
167, 167, 167, 167, 167, 167, 167, 167, 167, 168,
|
|
|
|
|
168, 168, 168, 168, 168, 168, 168, 168, 168, 168,
|
|
|
|
|
168, 168, 168, 168, 168, 168, 168, 168, 168, 168,
|
|
|
|
|
168, 168, 168
|
2003-11-28 18:07:29 +03:00
|
|
|
|
};
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
static const yytype_uint8 yyr2[] =
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
|
|
|
|
0, 2, 2, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 0, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 3, 3,
|
|
|
|
|
3, 3, 2, 3, 3, 2, 3, 2, 3, 3,
|
|
|
|
|
3, 2, 3, 3, 3, 2, 2, 4, 4, 4,
|
|
|
|
|
4, 3, 4, 4, 5, 2, 3, 2, 2, 3,
|
|
|
|
|
2, 4, 5, 5, 5, 5, 5, 5, 2, 5,
|
|
|
|
|
2, 3, 3, 2, 3, 4, 2, 2, 3, 3,
|
2008-04-19 17:21:23 +04:00
|
|
|
|
3, 3, 5, 5, 5, 5, 3, 3, 3, 3,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
3, 4, 3, 5, 7, 3, 3, 3, 0, 1,
|
|
|
|
|
2, 2, 2, 2, 2, 2, 3, 3, 3, 2,
|
|
|
|
|
4, 3, 3, 2, 4, 5, 3, 3, 4, 3,
|
|
|
|
|
2, 3, 4, 3, 4, 5, 3, 5, 3, 3,
|
|
|
|
|
3, 4, 3, 3, 3, 3, 3, 3, 3, 3,
|
2006-10-18 22:23:18 +04:00
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
3, 3, 3, 3, 3, 2, 3, 1, 1, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 3, 3, 3,
|
|
|
|
|
3, 3, 3, 3, 3, 3, 2, 2, 3, 1,
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
|
|
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
|
2, 2, 3
|
2003-11-28 18:07:29 +03:00
|
|
|
|
};
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
|
|
|
|
|
STATE-NUM when YYTABLE doesn't specify something else to do. Zero
|
|
|
|
|
means the default is an error. */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
static const yytype_uint8 yydefact[] =
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-01 23:10:07 +04:00
|
|
|
|
48, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2008-04-19 17:21:23 +04:00
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2006-10-22 01:28:20 +04:00
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2006-10-18 22:23:18 +04:00
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2008-05-04 01:32:02 +04:00
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 49,
|
|
|
|
|
0, 3, 35, 36, 37, 38, 42, 41, 34, 31,
|
|
|
|
|
32, 33, 39, 40, 43, 44, 45, 4, 5, 6,
|
|
|
|
|
7, 8, 16, 17, 9, 10, 11, 12, 13, 14,
|
|
|
|
|
15, 18, 19, 20, 21, 22, 23, 24, 25, 26,
|
|
|
|
|
27, 28, 29, 30, 46, 47, 87, 0, 88, 90,
|
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 106, 209, 208,
|
|
|
|
|
210, 211, 212, 52, 53, 54, 55, 56, 57, 207,
|
|
|
|
|
214, 215, 216, 0, 98, 0, 0, 213, 0, 232,
|
|
|
|
|
231, 233, 234, 235, 230, 229, 237, 238, 239, 0,
|
|
|
|
|
100, 0, 0, 236, 0, 230, 0, 103, 0, 0,
|
|
|
|
|
0, 0, 0, 0, 0, 128, 128, 128, 128, 0,
|
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 139, 130,
|
|
|
|
|
131, 133, 132, 135, 134, 0, 143, 0, 0, 0,
|
|
|
|
|
0, 0, 0, 0, 0, 0, 150, 0, 0, 0,
|
|
|
|
|
0, 0, 50, 51, 0, 0, 0, 67, 0, 0,
|
|
|
|
|
0, 0, 62, 0, 71, 0, 0, 0, 0, 75,
|
|
|
|
|
0, 0, 76, 0, 0, 65, 0, 0, 0, 107,
|
|
|
|
|
85, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2006-10-18 22:23:18 +04:00
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2008-05-04 01:32:02 +04:00
|
|
|
|
0, 0, 0, 0, 0, 0, 205, 0, 1, 2,
|
|
|
|
|
89, 0, 0, 0, 0, 0, 0, 0, 227, 226,
|
2006-10-22 01:28:20 +04:00
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
2008-05-04 01:32:02 +04:00
|
|
|
|
0, 102, 251, 250, 0, 0, 0, 0, 0, 0,
|
|
|
|
|
0, 0, 0, 0, 101, 0, 0, 104, 136, 137,
|
|
|
|
|
138, 118, 109, 110, 129, 128, 128, 128, 128, 117,
|
|
|
|
|
116, 111, 119, 0, 120, 0, 122, 125, 126, 127,
|
|
|
|
|
141, 0, 142, 0, 0, 146, 0, 147, 149, 153,
|
|
|
|
|
0, 156, 0, 0, 151, 0, 158, 159, 160, 0,
|
|
|
|
|
68, 69, 70, 59, 58, 60, 61, 72, 74, 73,
|
|
|
|
|
0, 0, 0, 0, 64, 63, 0, 81, 0, 108,
|
|
|
|
|
86, 66, 163, 164, 165, 199, 172, 166, 167, 168,
|
|
|
|
|
169, 170, 171, 201, 162, 187, 188, 190, 189, 192,
|
|
|
|
|
191, 197, 178, 193, 194, 198, 174, 175, 176, 177,
|
|
|
|
|
179, 181, 180, 183, 184, 173, 182, 195, 196, 202,
|
|
|
|
|
185, 186, 200, 204, 203, 206, 0, 0, 0, 0,
|
|
|
|
|
0, 0, 91, 228, 221, 222, 217, 218, 223, 224,
|
|
|
|
|
219, 220, 225, 0, 252, 245, 246, 241, 242, 247,
|
|
|
|
|
248, 243, 244, 249, 240, 105, 0, 0, 0, 0,
|
|
|
|
|
121, 0, 140, 144, 0, 148, 154, 0, 0, 242,
|
|
|
|
|
152, 161, 77, 79, 78, 80, 82, 0, 83, 94,
|
|
|
|
|
93, 95, 96, 97, 92, 99, 112, 113, 114, 115,
|
|
|
|
|
0, 123, 145, 155, 157, 84, 0, 124
|
2003-11-28 18:07:29 +03:00
|
|
|
|
};
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* YYDEFGOTO[NTERM-NUM]. */
|
|
|
|
|
static const yytype_int16 yydefgoto[] =
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-04 01:32:02 +04:00
|
|
|
|
-1, 50, 51, 194, 143, 52, 53, 54, 55, 56,
|
|
|
|
|
57, 58, 59, 60, 61, 62, 63, 64, 65, 66,
|
|
|
|
|
67, 68, 69, 70, 71, 72, 73, 74, 315, 75,
|
|
|
|
|
76, 77, 78, 79, 80, 81, 82, 83, 84, 85,
|
|
|
|
|
86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
|
|
|
|
|
128, 144
|
2006-10-18 22:23:18 +04:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
|
|
|
|
|
STATE-NUM. */
|
2008-05-04 01:32:02 +04:00
|
|
|
|
#define YYPACT_NINF -155
|
2007-09-24 01:10:06 +04:00
|
|
|
|
static const yytype_int16 yypact[] =
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-04 01:32:02 +04:00
|
|
|
|
849, -105, -68, -100, 56, -95, 539, 480, 350, -66,
|
|
|
|
|
-64, -61, -6, -70, -67, -55, -32, -25, -19, -13,
|
|
|
|
|
367, 39, 14, 49, -28, 333, -31, 17, 18, 62,
|
|
|
|
|
62, 62, -2, 23, 24, 46, 52, 2, -18, -4,
|
|
|
|
|
-11, -53, 10, -46, 4, 32, 35, 927, 652, -155,
|
|
|
|
|
771, -155, -155, -155, -155, -155, -155, -155, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, -155, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, -155, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, -155, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, 12, -155, -155,
|
|
|
|
|
16, 25, 40, 47, 48, 53, 62, -155, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, -155, -155, -155,
|
|
|
|
|
-155, -155, -155, 669, -155, 669, 669, -155, 628, -155,
|
|
|
|
|
-155, -155, -155, -155, 13, -155, -155, -155, -155, 652,
|
|
|
|
|
-155, 652, 652, -155, 141, -155, 652, -155, 300, 43,
|
|
|
|
|
55, 57, 58, 59, 60, 64, 64, 64, 64, 61,
|
|
|
|
|
63, 65, 66, -45, -72, 67, 81, 82, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, 497, -155, 457, 70, 71,
|
|
|
|
|
83, -16, 91, 514, 92, 95, -155, 42, 94, 97,
|
|
|
|
|
99, 86, -155, -155, 100, 114, 115, -155, 116, 124,
|
|
|
|
|
125, 129, -155, 130, -155, 139, 140, 117, 150, -155,
|
|
|
|
|
166, 168, -155, 145, 146, -155, -15, 75, 147, -155,
|
|
|
|
|
-155, 148, 149, 151, 157, 159, 160, 161, 162, 163,
|
|
|
|
|
164, 175, 187, 188, 189, 190, 191, 192, 193, 194,
|
|
|
|
|
210, 214, 215, 219, 220, 222, 236, 237, 238, 239,
|
|
|
|
|
240, 241, 253, 254, 255, 256, 257, 258, 270, 272,
|
|
|
|
|
273, 274, 275, 276, 277, 278, -155, 586, -155, -155,
|
|
|
|
|
-155, 652, 652, 652, 652, 652, 174, 279, -155, -155,
|
|
|
|
|
126, 669, 669, 669, 669, 669, 669, 669, 669, 669,
|
|
|
|
|
669, -155, 281, 281, 93, 652, 652, 652, 652, 652,
|
|
|
|
|
652, 652, 652, 652, -155, 652, 598, -155, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, 64, 64, 64, 64, -155,
|
|
|
|
|
-155, -155, -155, 280, -155, 305, -155, -155, -155, -155,
|
|
|
|
|
-155, 616, -155, 284, 309, -155, 288, -155, -155, -155,
|
|
|
|
|
209, -155, 322, 652, -155, 918, -155, -155, -155, 301,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, -155, -155, -155,
|
|
|
|
|
303, 306, 307, 308, -155, -155, 310, -155, -14, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, -155, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, -155, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, -155, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, -155, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, 937, 949, 961, 973,
|
|
|
|
|
985, 311, -155, -155, -155, -155, -17, -17, -17, -17,
|
|
|
|
|
-155, -155, -155, 1021, -155, 281, 281, 19, 19, 19,
|
|
|
|
|
19, 281, 281, 281, 1009, -155, 312, 313, 314, 315,
|
|
|
|
|
-155, -27, -155, -155, 317, -155, -155, 997, 318, 221,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, 319, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, -155, -155, -155,
|
|
|
|
|
329, -155, -155, -155, -155, -155, 320, -155
|
2006-10-18 22:23:18 +04:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/* YYPGOTO[NTERM-NUM]. */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
static const yytype_int16 yypgoto[] =
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-04 01:32:02 +04:00
|
|
|
|
-155, -155, 385, -21, -5, -155, -155, -155, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, -155, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, -155, -154, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, -155, -155, -155,
|
|
|
|
|
-155, -155, -155, -155, -155, -155, -155, -155, -155, -155,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
-101, -8
|
2006-10-18 22:23:18 +04:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
|
|
|
|
|
positive, shift that token. If negative, reduce the rule which
|
|
|
|
|
number is the opposite. If zero, do what YYDEFACT says.
|
|
|
|
|
If YYTABLE_NINF, syntax error. */
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#define YYTABLE_NINF -252
|
2007-09-24 01:10:06 +04:00
|
|
|
|
static const yytype_int16 yytable[] =
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-04 01:32:02 +04:00
|
|
|
|
148, 127, 316, 317, 318, 480, 96, 213, 152, 195,
|
|
|
|
|
196, 99, 177, 205, 218, 323, 107, 187, 325, 97,
|
|
|
|
|
153, 149, 278, 150, 279, 280, 151, 154, 181, 182,
|
|
|
|
|
188, 155, 156, 157, 158, 159, 160, 161, 162, 326,
|
|
|
|
|
267, 168, 214, 98, 169, 129, 130, 131, 132, 133,
|
|
|
|
|
113, 114, 115, 116, 117, 118, 170, 206, 215, 100,
|
|
|
|
|
101, 102, 103, 104, 189, 219, 324, 210, 211, 203,
|
|
|
|
|
216, 336, 366, 467, 207, 208, 163, 192, 193, 171,
|
|
|
|
|
281, 282, 164, 165, 481, 277, 172, 166, 167, 287,
|
|
|
|
|
288, 289, 173, 204, 217, 337, 367, 468, 174, 178,
|
|
|
|
|
212, 179, 145, 180, 190, 191, 200, 209, 105, 197,
|
|
|
|
|
198, 199, 201, 202, 106, 220, 295, 296, 127, 221,
|
|
|
|
|
127, 127, 222, 270, 291, 301, 302, 303, 271, 135,
|
|
|
|
|
333, 292, 305, 293, 294, 368, 0, 272, 306, 295,
|
|
|
|
|
296, 136, 137, 138, 297, 343, 299, 300, 301, 302,
|
|
|
|
|
303, 314, 273, 344, 308, 305, 141, 142, 334, 274,
|
|
|
|
|
275, 446, 447, 448, 449, 276, 309, 331, 310, 311,
|
|
|
|
|
312, 313, 319, 349, 320, 340, 321, 322, 327, 345,
|
|
|
|
|
424, 425, 426, 427, 428, 429, 430, 431, 432, 433,
|
|
|
|
|
295, 296, 328, 329, 335, 297, 298, 299, 300, 301,
|
|
|
|
|
302, 303, 338, 341, 360, 346, 305, 342, 347, 434,
|
|
|
|
|
348, 350, 129, 130, 131, 132, 133, 113, 114, 115,
|
|
|
|
|
116, 117, 118, 281, 282, 351, 352, 353, 283, 284,
|
|
|
|
|
285, 286, 287, 288, 289, 354, 355, 361, 295, 296,
|
|
|
|
|
356, 357, 423, 297, 298, 299, 300, 301, 302, 303,
|
|
|
|
|
358, 359, 304, 362, 305, 363, 364, 365, 369, 370,
|
|
|
|
|
371, 421, 372, 416, 417, 418, 419, 420, 373, 145,
|
|
|
|
|
374, 375, 376, 377, 378, 379, 127, 127, 127, 127,
|
|
|
|
|
127, 127, 127, 127, 127, 127, 380, 435, 436, 437,
|
|
|
|
|
438, 439, 440, 441, 442, 443, 135, 444, 381, 382,
|
|
|
|
|
383, 384, 385, 386, 387, 388, 295, 296, 136, 137,
|
|
|
|
|
138, 297, 343, 299, 300, 301, 302, 303, -251, -251,
|
|
|
|
|
456, 389, 305, 141, 142, 390, 391, -251, -251, -251,
|
|
|
|
|
392, 393, 457, 394, 305, 459, 129, 130, 131, 132,
|
|
|
|
|
133, 113, 114, 115, 116, 117, 118, 395, 396, 397,
|
|
|
|
|
398, 399, 400, 129, 130, 131, 132, 133, 113, 114,
|
|
|
|
|
115, 116, 117, 118, 401, 402, 403, 404, 405, 406,
|
|
|
|
|
129, 130, 131, 132, 133, 113, 114, 115, 116, 117,
|
|
|
|
|
118, 407, 183, 408, 409, 410, 411, 412, 413, 414,
|
|
|
|
|
422, 450, 451, 145, 305, 453, 454, 295, 296, 455,
|
|
|
|
|
184, 185, 297, 298, 299, 300, 301, 302, 303, 458,
|
|
|
|
|
145, 307, 461, 305, 462, 175, 486, 463, 464, 465,
|
|
|
|
|
135, 466, 474, 476, 477, 478, 479, 145, 482, 484,
|
|
|
|
|
485, 487, 136, 137, 138, 269, 139, 135, 0, 0,
|
|
|
|
|
0, 0, 0, 0, 186, 0, 0, 141, 142, 136,
|
|
|
|
|
137, 138, 0, 139, 135, 0, 146, 0, 0, 0,
|
|
|
|
|
0, 147, 0, 0, 141, 142, 136, 137, 138, 0,
|
|
|
|
|
139, 0, 0, 0, 0, 0, 0, 0, 176, 0,
|
|
|
|
|
0, 141, 142, 129, 130, 131, 132, 133, 113, 114,
|
|
|
|
|
115, 116, 117, 118, 0, 0, 0, 0, 0, 0,
|
|
|
|
|
129, 130, 131, 132, 133, 113, 114, 115, 116, 117,
|
|
|
|
|
118, 0, 0, 0, 0, 0, 0, 129, 130, 131,
|
|
|
|
|
132, 133, 113, 114, 115, 116, 117, 118, 0, 0,
|
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
|
134, 0, 108, 109, 110, 111, 112, 113, 114, 115,
|
|
|
|
|
116, 117, 118, 0, 295, 296, 0, 145, 0, 297,
|
|
|
|
|
298, 299, 300, 301, 302, 303, 0, 135, 332, 0,
|
|
|
|
|
305, 0, 0, 0, 145, 0, 0, 0, 0, 136,
|
|
|
|
|
137, 138, 0, 139, 135, 0, 0, 0, 0, 0,
|
|
|
|
|
0, 140, 0, 0, 141, 142, 136, 137, 138, 0,
|
|
|
|
|
139, 135, 0, 0, 0, 0, 0, 0, 330, 0,
|
|
|
|
|
0, 141, 142, 136, 137, 138, 0, 139, 0, 0,
|
|
|
|
|
0, 0, 0, 0, 0, 339, 119, 0, 141, 142,
|
|
|
|
|
0, 0, 0, 0, 0, 0, 0, 0, 120, 121,
|
|
|
|
|
122, 0, 123, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
|
124, 0, 0, 125, 126, 129, 130, 131, 132, 133,
|
|
|
|
|
113, 114, 115, 116, 117, 118, 0, 0, 0, 0,
|
|
|
|
|
0, 0, 108, 109, 110, 111, 112, 113, 114, 115,
|
|
|
|
|
116, 117, 118, 295, 296, 0, 0, 0, 297, 298,
|
|
|
|
|
299, 300, 301, 302, 303, 295, 296, 415, 0, 305,
|
|
|
|
|
297, 298, 299, 300, 301, 302, 303, 0, 0, 445,
|
|
|
|
|
0, 305, 145, 295, 296, 0, 0, 0, 297, 298,
|
|
|
|
|
299, 300, 301, 302, 303, 281, 282, 452, 0, 305,
|
|
|
|
|
283, 284, 285, 286, 287, 288, 289, 0, 0, 135,
|
|
|
|
|
0, 290, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
|
0, 136, 137, 138, 0, 139, 119, 0, 0, 0,
|
|
|
|
|
0, 0, 0, 0, 0, 0, 141, 142, 120, 121,
|
|
|
|
|
122, 268, 123, 0, 0, 0, 0, 0, 0, 0,
|
|
|
|
|
0, 0, 0, 125, 126, 0, 0, 0, 1, 2,
|
|
|
|
|
3, 0, 4, 0, 5, 6, 7, 8, 9, 10,
|
|
|
|
|
11, 12, 13, 14, 0, 15, 16, 17, 0, 0,
|
|
|
|
|
0, 0, 0, 0, 0, 0, 18, 19, 20, 0,
|
|
|
|
|
0, 21, 22, 0, 23, 0, 24, 0, 0, 25,
|
|
|
|
|
26, 0, 0, 27, 28, 29, 30, 31, 0, 0,
|
|
|
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 0,
|
|
|
|
|
0, 41, 42, 0, 43, 0, 44, 45, 0, 0,
|
|
|
|
|
0, 46, 47, 48, 0, 0, 1, 2, 3, 0,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
4, 0, 5, 6, 7, 8, 9, 10, 11, 12,
|
2008-05-04 01:32:02 +04:00
|
|
|
|
13, 14, 49, 15, 16, 17, 0, 0, 0, 0,
|
|
|
|
|
0, 0, 0, 0, 18, 19, 20, 0, 0, 21,
|
|
|
|
|
22, 0, 23, 0, 24, 0, 0, 25, 26, 0,
|
|
|
|
|
0, 27, 28, 29, 30, 31, 0, 0, 32, 33,
|
|
|
|
|
34, 35, 36, 37, 38, 39, 40, 0, 0, 41,
|
|
|
|
|
42, 0, 43, 0, 44, 45, 0, 0, 0, 46,
|
|
|
|
|
47, 48, 0, 0, 223, 224, 225, 0, 226, 0,
|
|
|
|
|
227, 228, 229, 230, 231, 232, 233, 234, 235, 236,
|
|
|
|
|
49, 237, 238, 239, 0, 0, 0, 0, 0, 0,
|
|
|
|
|
0, 0, 240, 241, 242, 0, 0, 243, 244, 0,
|
|
|
|
|
0, 0, 0, 0, 0, 245, 246, 0, 0, 0,
|
|
|
|
|
247, 248, 249, 250, 0, 0, 251, 252, 253, 254,
|
|
|
|
|
255, 256, 257, 258, 259, 0, 0, 260, 261, 0,
|
|
|
|
|
262, 0, 0, 0, 0, 295, 296, 263, 264, 265,
|
|
|
|
|
297, 298, 299, 300, 301, 302, 303, 0, 0, 460,
|
|
|
|
|
0, 305, 0, 0, 295, 296, 0, 0, 266, 297,
|
|
|
|
|
298, 299, 300, 301, 302, 303, 295, 296, 469, 0,
|
|
|
|
|
305, 297, 298, 299, 300, 301, 302, 303, 295, 296,
|
|
|
|
|
470, 0, 305, 297, 298, 299, 300, 301, 302, 303,
|
|
|
|
|
295, 296, 471, 0, 305, 297, 298, 299, 300, 301,
|
|
|
|
|
302, 303, 295, 296, 472, 0, 305, 297, 298, 299,
|
|
|
|
|
300, 301, 302, 303, 295, 296, 473, 0, 305, 297,
|
|
|
|
|
298, 299, 300, 301, 302, 303, 295, 296, 483, 0,
|
|
|
|
|
305, 297, 298, 299, 300, 301, 302, 303, 281, 282,
|
|
|
|
|
0, 0, 305, 283, 284, 285, 286, 287, 288, 289,
|
|
|
|
|
0, 0, 475
|
2003-11-28 18:07:29 +03:00
|
|
|
|
};
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
static const yytype_int16 yycheck[] =
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-04 01:32:02 +04:00
|
|
|
|
8, 6, 156, 157, 158, 32, 111, 60, 14, 30,
|
|
|
|
|
31, 111, 20, 17, 60, 60, 111, 25, 90, 87,
|
|
|
|
|
26, 87, 123, 87, 125, 126, 87, 33, 56, 57,
|
|
|
|
|
61, 37, 38, 39, 40, 41, 42, 43, 44, 111,
|
|
|
|
|
48, 111, 95, 111, 111, 3, 4, 5, 6, 7,
|
|
|
|
|
8, 9, 10, 11, 12, 13, 111, 61, 111, 3,
|
|
|
|
|
4, 5, 6, 7, 95, 111, 111, 78, 79, 87,
|
|
|
|
|
60, 87, 87, 87, 78, 79, 82, 15, 16, 111,
|
|
|
|
|
97, 98, 88, 89, 111, 106, 111, 93, 94, 106,
|
|
|
|
|
107, 108, 111, 111, 84, 111, 111, 111, 111, 60,
|
|
|
|
|
111, 87, 60, 54, 87, 87, 60, 111, 52, 111,
|
|
|
|
|
87, 87, 60, 111, 58, 111, 97, 98, 123, 87,
|
|
|
|
|
125, 126, 87, 111, 111, 106, 107, 108, 112, 87,
|
|
|
|
|
60, 139, 113, 141, 142, 60, -1, 112, 146, 97,
|
|
|
|
|
98, 99, 100, 101, 102, 103, 104, 105, 106, 107,
|
|
|
|
|
108, 87, 112, 111, 111, 113, 114, 115, 87, 112,
|
|
|
|
|
112, 315, 316, 317, 318, 112, 111, 175, 111, 111,
|
|
|
|
|
111, 111, 111, 87, 111, 183, 111, 111, 111, 187,
|
|
|
|
|
281, 282, 283, 284, 285, 286, 287, 288, 289, 290,
|
|
|
|
|
97, 98, 111, 111, 111, 102, 103, 104, 105, 106,
|
|
|
|
|
107, 108, 111, 111, 87, 111, 113, 112, 111, 116,
|
|
|
|
|
111, 111, 3, 4, 5, 6, 7, 8, 9, 10,
|
|
|
|
|
11, 12, 13, 97, 98, 111, 111, 111, 102, 103,
|
|
|
|
|
104, 105, 106, 107, 108, 111, 111, 87, 97, 98,
|
|
|
|
|
111, 111, 116, 102, 103, 104, 105, 106, 107, 108,
|
|
|
|
|
111, 111, 111, 87, 113, 87, 111, 111, 111, 111,
|
|
|
|
|
111, 87, 111, 271, 272, 273, 274, 275, 111, 60,
|
|
|
|
|
111, 111, 111, 111, 111, 111, 281, 282, 283, 284,
|
|
|
|
|
285, 286, 287, 288, 289, 290, 111, 295, 296, 297,
|
|
|
|
|
298, 299, 300, 301, 302, 303, 87, 305, 111, 111,
|
|
|
|
|
111, 111, 111, 111, 111, 111, 97, 98, 99, 100,
|
|
|
|
|
101, 102, 103, 104, 105, 106, 107, 108, 97, 98,
|
|
|
|
|
111, 111, 113, 114, 115, 111, 111, 106, 107, 108,
|
|
|
|
|
111, 111, 340, 111, 113, 343, 3, 4, 5, 6,
|
|
|
|
|
7, 8, 9, 10, 11, 12, 13, 111, 111, 111,
|
|
|
|
|
111, 111, 111, 3, 4, 5, 6, 7, 8, 9,
|
|
|
|
|
10, 11, 12, 13, 111, 111, 111, 111, 111, 111,
|
2008-04-19 17:21:23 +04:00
|
|
|
|
3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
|
2008-05-04 01:32:02 +04:00
|
|
|
|
13, 111, 49, 111, 111, 111, 111, 111, 111, 111,
|
|
|
|
|
111, 111, 87, 60, 113, 111, 87, 97, 98, 111,
|
|
|
|
|
67, 68, 102, 103, 104, 105, 106, 107, 108, 87,
|
|
|
|
|
60, 111, 111, 113, 111, 48, 87, 111, 111, 111,
|
|
|
|
|
87, 111, 111, 111, 111, 111, 111, 60, 111, 111,
|
|
|
|
|
111, 111, 99, 100, 101, 50, 103, 87, -1, -1,
|
|
|
|
|
-1, -1, -1, -1, 111, -1, -1, 114, 115, 99,
|
|
|
|
|
100, 101, -1, 103, 87, -1, 106, -1, -1, -1,
|
|
|
|
|
-1, 111, -1, -1, 114, 115, 99, 100, 101, -1,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
103, -1, -1, -1, -1, -1, -1, -1, 111, -1,
|
|
|
|
|
-1, 114, 115, 3, 4, 5, 6, 7, 8, 9,
|
2007-10-24 01:51:44 +04:00
|
|
|
|
10, 11, 12, 13, -1, -1, -1, -1, -1, -1,
|
|
|
|
|
3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
|
2008-05-04 01:32:02 +04:00
|
|
|
|
13, -1, -1, -1, -1, -1, -1, 3, 4, 5,
|
|
|
|
|
6, 7, 8, 9, 10, 11, 12, 13, -1, -1,
|
|
|
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
|
|
|
60, -1, 3, 4, 5, 6, 7, 8, 9, 10,
|
|
|
|
|
11, 12, 13, -1, 97, 98, -1, 60, -1, 102,
|
|
|
|
|
103, 104, 105, 106, 107, 108, -1, 87, 111, -1,
|
|
|
|
|
113, -1, -1, -1, 60, -1, -1, -1, -1, 99,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
100, 101, -1, 103, 87, -1, -1, -1, -1, -1,
|
2008-05-04 01:32:02 +04:00
|
|
|
|
-1, 111, -1, -1, 114, 115, 99, 100, 101, -1,
|
|
|
|
|
103, 87, -1, -1, -1, -1, -1, -1, 111, -1,
|
|
|
|
|
-1, 114, 115, 99, 100, 101, -1, 103, -1, -1,
|
|
|
|
|
-1, -1, -1, -1, -1, 111, 87, -1, 114, 115,
|
|
|
|
|
-1, -1, -1, -1, -1, -1, -1, -1, 99, 100,
|
|
|
|
|
101, -1, 103, -1, -1, -1, -1, -1, -1, -1,
|
|
|
|
|
111, -1, -1, 114, 115, 3, 4, 5, 6, 7,
|
|
|
|
|
8, 9, 10, 11, 12, 13, -1, -1, -1, -1,
|
|
|
|
|
-1, -1, 3, 4, 5, 6, 7, 8, 9, 10,
|
|
|
|
|
11, 12, 13, 97, 98, -1, -1, -1, 102, 103,
|
|
|
|
|
104, 105, 106, 107, 108, 97, 98, 111, -1, 113,
|
|
|
|
|
102, 103, 104, 105, 106, 107, 108, -1, -1, 111,
|
|
|
|
|
-1, 113, 60, 97, 98, -1, -1, -1, 102, 103,
|
|
|
|
|
104, 105, 106, 107, 108, 97, 98, 111, -1, 113,
|
|
|
|
|
102, 103, 104, 105, 106, 107, 108, -1, -1, 87,
|
|
|
|
|
-1, 113, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
|
|
|
-1, 99, 100, 101, -1, 103, 87, -1, -1, -1,
|
|
|
|
|
-1, -1, -1, -1, -1, -1, 114, 115, 99, 100,
|
|
|
|
|
101, 0, 103, -1, -1, -1, -1, -1, -1, -1,
|
|
|
|
|
-1, -1, -1, 114, 115, -1, -1, -1, 17, 18,
|
|
|
|
|
19, -1, 21, -1, 23, 24, 25, 26, 27, 28,
|
|
|
|
|
29, 30, 31, 32, -1, 34, 35, 36, -1, -1,
|
|
|
|
|
-1, -1, -1, -1, -1, -1, 45, 46, 47, -1,
|
|
|
|
|
-1, 50, 51, -1, 53, -1, 55, -1, -1, 58,
|
|
|
|
|
59, -1, -1, 62, 63, 64, 65, 66, -1, -1,
|
|
|
|
|
69, 70, 71, 72, 73, 74, 75, 76, 77, -1,
|
|
|
|
|
-1, 80, 81, -1, 83, -1, 85, 86, -1, -1,
|
|
|
|
|
-1, 90, 91, 92, -1, -1, 17, 18, 19, -1,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
21, -1, 23, 24, 25, 26, 27, 28, 29, 30,
|
2008-05-04 01:32:02 +04:00
|
|
|
|
31, 32, 111, 34, 35, 36, -1, -1, -1, -1,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
-1, -1, -1, -1, 45, 46, 47, -1, -1, 50,
|
|
|
|
|
51, -1, 53, -1, 55, -1, -1, 58, 59, -1,
|
|
|
|
|
-1, 62, 63, 64, 65, 66, -1, -1, 69, 70,
|
|
|
|
|
71, 72, 73, 74, 75, 76, 77, -1, -1, 80,
|
|
|
|
|
81, -1, 83, -1, 85, 86, -1, -1, -1, 90,
|
2008-05-04 01:32:02 +04:00
|
|
|
|
91, 92, -1, -1, 17, 18, 19, -1, 21, -1,
|
|
|
|
|
23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
|
|
|
|
|
111, 34, 35, 36, -1, -1, -1, -1, -1, -1,
|
|
|
|
|
-1, -1, 45, 46, 47, -1, -1, 50, 51, -1,
|
|
|
|
|
-1, -1, -1, -1, -1, 58, 59, -1, -1, -1,
|
|
|
|
|
63, 64, 65, 66, -1, -1, 69, 70, 71, 72,
|
|
|
|
|
73, 74, 75, 76, 77, -1, -1, 80, 81, -1,
|
|
|
|
|
83, -1, -1, -1, -1, 97, 98, 90, 91, 92,
|
|
|
|
|
102, 103, 104, 105, 106, 107, 108, -1, -1, 111,
|
|
|
|
|
-1, 113, -1, -1, 97, 98, -1, -1, 111, 102,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
103, 104, 105, 106, 107, 108, 97, 98, 111, -1,
|
|
|
|
|
113, 102, 103, 104, 105, 106, 107, 108, 97, 98,
|
|
|
|
|
111, -1, 113, 102, 103, 104, 105, 106, 107, 108,
|
|
|
|
|
97, 98, 111, -1, 113, 102, 103, 104, 105, 106,
|
|
|
|
|
107, 108, 97, 98, 111, -1, 113, 102, 103, 104,
|
2008-05-04 01:32:02 +04:00
|
|
|
|
105, 106, 107, 108, 97, 98, 111, -1, 113, 102,
|
|
|
|
|
103, 104, 105, 106, 107, 108, 97, 98, 111, -1,
|
|
|
|
|
113, 102, 103, 104, 105, 106, 107, 108, 97, 98,
|
|
|
|
|
-1, -1, 113, 102, 103, 104, 105, 106, 107, 108,
|
|
|
|
|
-1, -1, 111
|
2006-10-18 22:23:18 +04:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
|
|
|
|
|
symbol of state STATE-NUM. */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
static const yytype_uint8 yystos[] =
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
|
|
|
|
0, 17, 18, 19, 21, 23, 24, 25, 26, 27,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
28, 29, 30, 31, 32, 34, 35, 36, 45, 46,
|
2008-05-04 01:32:02 +04:00
|
|
|
|
47, 50, 51, 53, 55, 58, 59, 62, 63, 64,
|
|
|
|
|
65, 66, 69, 70, 71, 72, 73, 74, 75, 76,
|
|
|
|
|
77, 80, 81, 83, 85, 86, 90, 91, 92, 111,
|
|
|
|
|
118, 119, 122, 123, 124, 125, 126, 127, 128, 129,
|
|
|
|
|
130, 131, 132, 133, 134, 135, 136, 137, 138, 139,
|
|
|
|
|
140, 141, 142, 143, 144, 146, 147, 148, 149, 150,
|
|
|
|
|
151, 152, 153, 154, 155, 156, 157, 158, 159, 160,
|
|
|
|
|
161, 162, 163, 164, 165, 166, 111, 87, 111, 111,
|
|
|
|
|
3, 4, 5, 6, 7, 52, 58, 111, 3, 4,
|
|
|
|
|
5, 6, 7, 8, 9, 10, 11, 12, 13, 87,
|
|
|
|
|
99, 100, 101, 103, 111, 114, 115, 121, 167, 3,
|
|
|
|
|
4, 5, 6, 7, 60, 87, 99, 100, 101, 103,
|
|
|
|
|
111, 114, 115, 121, 168, 60, 106, 111, 168, 87,
|
|
|
|
|
87, 87, 14, 26, 33, 37, 38, 39, 40, 41,
|
|
|
|
|
42, 43, 44, 82, 88, 89, 93, 94, 111, 111,
|
|
|
|
|
111, 111, 111, 111, 111, 48, 111, 168, 60, 87,
|
|
|
|
|
54, 56, 57, 49, 67, 68, 111, 168, 61, 95,
|
|
|
|
|
87, 87, 15, 16, 120, 120, 120, 111, 87, 87,
|
|
|
|
|
60, 60, 111, 87, 111, 17, 61, 78, 79, 111,
|
|
|
|
|
78, 79, 111, 60, 95, 111, 60, 84, 60, 111,
|
|
|
|
|
111, 87, 87, 17, 18, 19, 21, 23, 24, 25,
|
|
|
|
|
26, 27, 28, 29, 30, 31, 32, 34, 35, 36,
|
|
|
|
|
45, 46, 47, 50, 51, 58, 59, 63, 64, 65,
|
|
|
|
|
66, 69, 70, 71, 72, 73, 74, 75, 76, 77,
|
|
|
|
|
80, 81, 83, 90, 91, 92, 111, 168, 0, 119,
|
|
|
|
|
111, 112, 112, 112, 112, 112, 112, 120, 167, 167,
|
|
|
|
|
167, 97, 98, 102, 103, 104, 105, 106, 107, 108,
|
|
|
|
|
113, 111, 168, 168, 168, 97, 98, 102, 103, 104,
|
|
|
|
|
105, 106, 107, 108, 111, 113, 168, 111, 111, 111,
|
|
|
|
|
111, 111, 111, 111, 87, 145, 145, 145, 145, 111,
|
|
|
|
|
111, 111, 111, 60, 111, 90, 111, 111, 111, 111,
|
|
|
|
|
111, 168, 111, 60, 87, 111, 87, 111, 111, 111,
|
|
|
|
|
168, 111, 112, 103, 111, 168, 111, 111, 111, 87,
|
|
|
|
|
111, 111, 111, 111, 111, 111, 111, 111, 111, 111,
|
|
|
|
|
87, 87, 87, 87, 111, 111, 87, 111, 60, 111,
|
|
|
|
|
111, 111, 111, 111, 111, 111, 111, 111, 111, 111,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
111, 111, 111, 111, 111, 111, 111, 111, 111, 111,
|
|
|
|
|
111, 111, 111, 111, 111, 111, 111, 111, 111, 111,
|
|
|
|
|
111, 111, 111, 111, 111, 111, 111, 111, 111, 111,
|
2008-05-04 01:32:02 +04:00
|
|
|
|
111, 111, 111, 111, 111, 111, 168, 168, 168, 168,
|
|
|
|
|
168, 87, 111, 116, 167, 167, 167, 167, 167, 167,
|
|
|
|
|
167, 167, 167, 167, 116, 168, 168, 168, 168, 168,
|
|
|
|
|
168, 168, 168, 168, 168, 111, 145, 145, 145, 145,
|
|
|
|
|
111, 87, 111, 111, 87, 111, 111, 168, 87, 168,
|
|
|
|
|
111, 111, 111, 111, 111, 111, 111, 87, 111, 111,
|
2008-05-01 23:10:07 +04:00
|
|
|
|
111, 111, 111, 111, 111, 111, 111, 111, 111, 111,
|
2008-05-04 01:32:02 +04:00
|
|
|
|
32, 111, 111, 111, 111, 111, 87, 111
|
2003-11-28 18:07:29 +03:00
|
|
|
|
};
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
#define yyerrok (yyerrstatus = 0)
|
|
|
|
|
#define yyclearin (yychar = YYEMPTY)
|
|
|
|
|
#define YYEMPTY (-2)
|
|
|
|
|
#define YYEOF 0
|
|
|
|
|
|
|
|
|
|
#define YYACCEPT goto yyacceptlab
|
|
|
|
|
#define YYABORT goto yyabortlab
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#define YYERROR goto yyerrorlab
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Like YYERROR except do call yyerror. This remains here temporarily
|
|
|
|
|
to ease the transition to the new meaning of YYERROR, for GCC.
|
|
|
|
|
Once GCC version 2 has supplanted version 1, this can go. */
|
|
|
|
|
|
|
|
|
|
#define YYFAIL goto yyerrlab
|
|
|
|
|
|
|
|
|
|
#define YYRECOVERING() (!!yyerrstatus)
|
|
|
|
|
|
|
|
|
|
#define YYBACKUP(Token, Value) \
|
|
|
|
|
do \
|
|
|
|
|
if (yychar == YYEMPTY && yylen == 1) \
|
|
|
|
|
{ \
|
|
|
|
|
yychar = (Token); \
|
|
|
|
|
yylval = (Value); \
|
|
|
|
|
yytoken = YYTRANSLATE (yychar); \
|
2007-09-24 01:10:06 +04:00
|
|
|
|
YYPOPSTACK (1); \
|
2006-10-18 22:23:18 +04:00
|
|
|
|
goto yybackup; \
|
|
|
|
|
} \
|
|
|
|
|
else \
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ \
|
|
|
|
|
yyerror (YY_("syntax error: cannot back up")); \
|
2006-10-18 22:23:18 +04:00
|
|
|
|
YYERROR; \
|
|
|
|
|
} \
|
2007-09-24 01:10:06 +04:00
|
|
|
|
while (YYID (0))
|
|
|
|
|
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
#define YYTERROR 1
|
|
|
|
|
#define YYERRCODE 256
|
|
|
|
|
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
|
|
|
|
|
If N is 0, then set CURRENT to the empty location which ends
|
|
|
|
|
the previous symbol: RHS[0] (always defined). */
|
|
|
|
|
|
|
|
|
|
#define YYRHSLOC(Rhs, K) ((Rhs)[K])
|
2006-10-18 22:23:18 +04:00
|
|
|
|
#ifndef YYLLOC_DEFAULT
|
2007-09-24 01:10:06 +04:00
|
|
|
|
# define YYLLOC_DEFAULT(Current, Rhs, N) \
|
|
|
|
|
do \
|
|
|
|
|
if (YYID (N)) \
|
|
|
|
|
{ \
|
|
|
|
|
(Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
|
|
|
|
|
(Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
|
|
|
|
|
(Current).last_line = YYRHSLOC (Rhs, N).last_line; \
|
|
|
|
|
(Current).last_column = YYRHSLOC (Rhs, N).last_column; \
|
|
|
|
|
} \
|
|
|
|
|
else \
|
|
|
|
|
{ \
|
|
|
|
|
(Current).first_line = (Current).last_line = \
|
|
|
|
|
YYRHSLOC (Rhs, 0).last_line; \
|
|
|
|
|
(Current).first_column = (Current).last_column = \
|
|
|
|
|
YYRHSLOC (Rhs, 0).last_column; \
|
|
|
|
|
} \
|
|
|
|
|
while (YYID (0))
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* YY_LOCATION_PRINT -- Print the location on the stream.
|
|
|
|
|
This macro was not mandated originally: define only if we know
|
|
|
|
|
we won't break user code: when these are the locations we know. */
|
|
|
|
|
|
|
|
|
|
#ifndef YY_LOCATION_PRINT
|
|
|
|
|
# if YYLTYPE_IS_TRIVIAL
|
|
|
|
|
# define YY_LOCATION_PRINT(File, Loc) \
|
|
|
|
|
fprintf (File, "%d.%d-%d.%d", \
|
|
|
|
|
(Loc).first_line, (Loc).first_column, \
|
|
|
|
|
(Loc).last_line, (Loc).last_column)
|
|
|
|
|
# else
|
|
|
|
|
# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
|
|
|
|
|
# endif
|
2006-01-24 00:44:44 +03:00
|
|
|
|
#endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
|
2006-10-18 22:23:18 +04:00
|
|
|
|
/* YYLEX -- calling `yylex' with the right arguments. */
|
|
|
|
|
|
|
|
|
|
#ifdef YYLEX_PARAM
|
|
|
|
|
# define YYLEX yylex (YYLEX_PARAM)
|
2003-11-28 18:07:29 +03:00
|
|
|
|
#else
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# define YYLEX yylex ()
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* Enable debugging if requested. */
|
|
|
|
|
#if YYDEBUG
|
|
|
|
|
|
|
|
|
|
# ifndef YYFPRINTF
|
|
|
|
|
# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
|
|
|
|
|
# define YYFPRINTF fprintf
|
|
|
|
|
# endif
|
|
|
|
|
|
|
|
|
|
# define YYDPRINTF(Args) \
|
|
|
|
|
do { \
|
|
|
|
|
if (yydebug) \
|
|
|
|
|
YYFPRINTF Args; \
|
2007-09-24 01:10:06 +04:00
|
|
|
|
} while (YYID (0))
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
|
|
|
|
|
do { \
|
|
|
|
|
if (yydebug) \
|
|
|
|
|
{ \
|
|
|
|
|
YYFPRINTF (stderr, "%s ", Title); \
|
|
|
|
|
yy_symbol_print (stderr, \
|
|
|
|
|
Type, Value); \
|
|
|
|
|
YYFPRINTF (stderr, "\n"); \
|
|
|
|
|
} \
|
|
|
|
|
} while (YYID (0))
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
|
|
|
|
|
/*--------------------------------.
|
|
|
|
|
| Print this symbol on YYOUTPUT. |
|
|
|
|
|
`--------------------------------*/
|
|
|
|
|
|
|
|
|
|
/*ARGSUSED*/
|
|
|
|
|
#if (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
|
|
|
|
static void
|
|
|
|
|
yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
|
|
|
|
|
#else
|
|
|
|
|
static void
|
|
|
|
|
yy_symbol_value_print (yyoutput, yytype, yyvaluep)
|
|
|
|
|
FILE *yyoutput;
|
|
|
|
|
int yytype;
|
|
|
|
|
YYSTYPE const * const yyvaluep;
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
if (!yyvaluep)
|
|
|
|
|
return;
|
|
|
|
|
# ifdef YYPRINT
|
|
|
|
|
if (yytype < YYNTOKENS)
|
|
|
|
|
YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
|
|
|
|
|
# else
|
|
|
|
|
YYUSE (yyoutput);
|
|
|
|
|
# endif
|
|
|
|
|
switch (yytype)
|
|
|
|
|
{
|
|
|
|
|
default:
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*--------------------------------.
|
|
|
|
|
| Print this symbol on YYOUTPUT. |
|
|
|
|
|
`--------------------------------*/
|
|
|
|
|
|
|
|
|
|
#if (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
|
|
|
|
static void
|
|
|
|
|
yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
|
|
|
|
|
#else
|
|
|
|
|
static void
|
|
|
|
|
yy_symbol_print (yyoutput, yytype, yyvaluep)
|
|
|
|
|
FILE *yyoutput;
|
|
|
|
|
int yytype;
|
|
|
|
|
YYSTYPE const * const yyvaluep;
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
if (yytype < YYNTOKENS)
|
|
|
|
|
YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
|
|
|
|
|
else
|
|
|
|
|
YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
|
|
|
|
|
|
|
|
|
|
yy_symbol_value_print (yyoutput, yytype, yyvaluep);
|
|
|
|
|
YYFPRINTF (yyoutput, ")");
|
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------.
|
|
|
|
|
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
|
2007-09-24 01:10:06 +04:00
|
|
|
|
| TOP (included). |
|
2006-10-18 22:23:18 +04:00
|
|
|
|
`------------------------------------------------------------------*/
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#if (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
2006-10-18 22:23:18 +04:00
|
|
|
|
static void
|
2007-09-24 01:10:06 +04:00
|
|
|
|
yy_stack_print (yytype_int16 *bottom, yytype_int16 *top)
|
2003-11-28 18:07:29 +03:00
|
|
|
|
#else
|
2006-10-18 22:23:18 +04:00
|
|
|
|
static void
|
|
|
|
|
yy_stack_print (bottom, top)
|
2007-09-24 01:10:06 +04:00
|
|
|
|
yytype_int16 *bottom;
|
|
|
|
|
yytype_int16 *top;
|
2003-11-28 18:07:29 +03:00
|
|
|
|
#endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
|
|
|
|
YYFPRINTF (stderr, "Stack now");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
for (; bottom <= top; ++bottom)
|
2006-10-18 22:23:18 +04:00
|
|
|
|
YYFPRINTF (stderr, " %d", *bottom);
|
|
|
|
|
YYFPRINTF (stderr, "\n");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# define YY_STACK_PRINT(Bottom, Top) \
|
|
|
|
|
do { \
|
|
|
|
|
if (yydebug) \
|
|
|
|
|
yy_stack_print ((Bottom), (Top)); \
|
2007-09-24 01:10:06 +04:00
|
|
|
|
} while (YYID (0))
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*------------------------------------------------.
|
|
|
|
|
| Report that the YYRULE is going to be reduced. |
|
|
|
|
|
`------------------------------------------------*/
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#if (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
2006-10-18 22:23:18 +04:00
|
|
|
|
static void
|
2007-09-24 01:10:06 +04:00
|
|
|
|
yy_reduce_print (YYSTYPE *yyvsp, int yyrule)
|
2006-10-18 22:23:18 +04:00
|
|
|
|
#else
|
|
|
|
|
static void
|
2007-09-24 01:10:06 +04:00
|
|
|
|
yy_reduce_print (yyvsp, yyrule)
|
|
|
|
|
YYSTYPE *yyvsp;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
int yyrule;
|
2003-11-28 18:07:29 +03:00
|
|
|
|
#endif
|
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
int yynrhs = yyr2[yyrule];
|
2006-10-18 22:23:18 +04:00
|
|
|
|
int yyi;
|
2007-09-24 01:10:06 +04:00
|
|
|
|
unsigned long int yylno = yyrline[yyrule];
|
|
|
|
|
YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
|
|
|
|
|
yyrule - 1, yylno);
|
|
|
|
|
/* The symbols being reduced. */
|
|
|
|
|
for (yyi = 0; yyi < yynrhs; yyi++)
|
|
|
|
|
{
|
|
|
|
|
fprintf (stderr, " $%d = ", yyi + 1);
|
|
|
|
|
yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
|
|
|
|
|
&(yyvsp[(yyi + 1) - (yynrhs)])
|
|
|
|
|
);
|
|
|
|
|
fprintf (stderr, "\n");
|
|
|
|
|
}
|
2006-01-24 00:44:44 +03:00
|
|
|
|
}
|
2003-11-28 18:07:29 +03:00
|
|
|
|
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# define YY_REDUCE_PRINT(Rule) \
|
|
|
|
|
do { \
|
|
|
|
|
if (yydebug) \
|
2007-09-24 01:10:06 +04:00
|
|
|
|
yy_reduce_print (yyvsp, Rule); \
|
|
|
|
|
} while (YYID (0))
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
/* Nonzero means print parse trace. It is left uninitialized so that
|
|
|
|
|
multiple parsers can coexist. */
|
|
|
|
|
int yydebug;
|
|
|
|
|
#else /* !YYDEBUG */
|
|
|
|
|
# define YYDPRINTF(Args)
|
2007-09-24 01:10:06 +04:00
|
|
|
|
# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# define YY_STACK_PRINT(Bottom, Top)
|
|
|
|
|
# define YY_REDUCE_PRINT(Rule)
|
|
|
|
|
#endif /* !YYDEBUG */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* YYINITDEPTH -- initial size of the parser's stacks. */
|
|
|
|
|
#ifndef YYINITDEPTH
|
|
|
|
|
# define YYINITDEPTH 200
|
2006-01-24 00:44:44 +03:00
|
|
|
|
#endif
|
2006-10-11 18:54:40 +04:00
|
|
|
|
|
2006-10-18 22:23:18 +04:00
|
|
|
|
/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
|
|
|
|
|
if the built-in stack extension method is used).
|
2006-01-24 00:44:44 +03:00
|
|
|
|
|
2006-10-18 22:23:18 +04:00
|
|
|
|
Do not make this value too large; the results are undefined if
|
2007-09-24 01:10:06 +04:00
|
|
|
|
YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
|
2006-10-18 22:23:18 +04:00
|
|
|
|
evaluated with infinite-precision integer arithmetic. */
|
|
|
|
|
|
|
|
|
|
#ifndef YYMAXDEPTH
|
|
|
|
|
# define YYMAXDEPTH 10000
|
|
|
|
|
#endif
|
2006-01-24 00:44:44 +03:00
|
|
|
|
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if YYERROR_VERBOSE
|
|
|
|
|
|
|
|
|
|
# ifndef yystrlen
|
2007-09-24 01:10:06 +04:00
|
|
|
|
# if defined __GLIBC__ && defined _STRING_H
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# define yystrlen strlen
|
|
|
|
|
# else
|
|
|
|
|
/* Return the length of YYSTR. */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#if (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
2006-10-18 22:23:18 +04:00
|
|
|
|
static YYSIZE_T
|
|
|
|
|
yystrlen (const char *yystr)
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#else
|
|
|
|
|
static YYSIZE_T
|
2006-10-18 22:23:18 +04:00
|
|
|
|
yystrlen (yystr)
|
2007-09-24 01:10:06 +04:00
|
|
|
|
const char *yystr;
|
|
|
|
|
#endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
YYSIZE_T yylen;
|
|
|
|
|
for (yylen = 0; yystr[yylen]; yylen++)
|
2006-10-18 22:23:18 +04:00
|
|
|
|
continue;
|
2007-09-24 01:10:06 +04:00
|
|
|
|
return yylen;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
}
|
|
|
|
|
# endif
|
|
|
|
|
# endif
|
|
|
|
|
|
|
|
|
|
# ifndef yystpcpy
|
2007-09-24 01:10:06 +04:00
|
|
|
|
# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# define yystpcpy stpcpy
|
|
|
|
|
# else
|
|
|
|
|
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
|
|
|
|
|
YYDEST. */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#if (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
2006-10-18 22:23:18 +04:00
|
|
|
|
static char *
|
|
|
|
|
yystpcpy (char *yydest, const char *yysrc)
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#else
|
|
|
|
|
static char *
|
2006-10-18 22:23:18 +04:00
|
|
|
|
yystpcpy (yydest, yysrc)
|
2007-09-24 01:10:06 +04:00
|
|
|
|
char *yydest;
|
|
|
|
|
const char *yysrc;
|
|
|
|
|
#endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
char *yyd = yydest;
|
|
|
|
|
const char *yys = yysrc;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
while ((*yyd++ = *yys++) != '\0')
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|
return yyd - 1;
|
|
|
|
|
}
|
|
|
|
|
# endif
|
|
|
|
|
# endif
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
# ifndef yytnamerr
|
|
|
|
|
/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
|
|
|
|
|
quotes and backslashes, so that it's suitable for yyerror. The
|
|
|
|
|
heuristic is that double-quoting is unnecessary unless the string
|
|
|
|
|
contains an apostrophe, a comma, or backslash (other than
|
|
|
|
|
backslash-backslash). YYSTR is taken from yytname. If YYRES is
|
|
|
|
|
null, do not copy; instead, return the length of what the result
|
|
|
|
|
would have been. */
|
|
|
|
|
static YYSIZE_T
|
|
|
|
|
yytnamerr (char *yyres, const char *yystr)
|
|
|
|
|
{
|
|
|
|
|
if (*yystr == '"')
|
|
|
|
|
{
|
|
|
|
|
YYSIZE_T yyn = 0;
|
|
|
|
|
char const *yyp = yystr;
|
|
|
|
|
|
|
|
|
|
for (;;)
|
|
|
|
|
switch (*++yyp)
|
|
|
|
|
{
|
|
|
|
|
case '\'':
|
|
|
|
|
case ',':
|
|
|
|
|
goto do_not_strip_quotes;
|
|
|
|
|
|
|
|
|
|
case '\\':
|
|
|
|
|
if (*++yyp != '\\')
|
|
|
|
|
goto do_not_strip_quotes;
|
|
|
|
|
/* Fall through. */
|
|
|
|
|
default:
|
|
|
|
|
if (yyres)
|
|
|
|
|
yyres[yyn] = *yyp;
|
|
|
|
|
yyn++;
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case '"':
|
|
|
|
|
if (yyres)
|
|
|
|
|
yyres[yyn] = '\0';
|
|
|
|
|
return yyn;
|
|
|
|
|
}
|
|
|
|
|
do_not_strip_quotes: ;
|
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
if (! yyres)
|
|
|
|
|
return yystrlen (yystr);
|
2006-01-24 00:44:44 +03:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
return yystpcpy (yyres, yystr) - yyres;
|
|
|
|
|
}
|
|
|
|
|
# endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Copy into YYRESULT an error message about the unexpected token
|
|
|
|
|
YYCHAR while in state YYSTATE. Return the number of bytes copied,
|
|
|
|
|
including the terminating null byte. If YYRESULT is null, do not
|
|
|
|
|
copy anything; just return the number of bytes that would be
|
|
|
|
|
copied. As a special case, return 0 if an ordinary "syntax error"
|
|
|
|
|
message will do. Return YYSIZE_MAXIMUM if overflow occurs during
|
|
|
|
|
size calculation. */
|
|
|
|
|
static YYSIZE_T
|
|
|
|
|
yysyntax_error (char *yyresult, int yystate, int yychar)
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
int yyn = yypact[yystate];
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
if (! (YYPACT_NINF < yyn && yyn <= YYLAST))
|
|
|
|
|
return 0;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
else
|
2003-11-28 18:07:29 +03:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
int yytype = YYTRANSLATE (yychar);
|
|
|
|
|
YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
|
|
|
|
|
YYSIZE_T yysize = yysize0;
|
|
|
|
|
YYSIZE_T yysize1;
|
|
|
|
|
int yysize_overflow = 0;
|
|
|
|
|
enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
|
|
|
|
|
char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
|
|
|
|
|
int yyx;
|
|
|
|
|
|
|
|
|
|
# if 0
|
|
|
|
|
/* This is so xgettext sees the translatable formats that are
|
|
|
|
|
constructed on the fly. */
|
|
|
|
|
YY_("syntax error, unexpected %s");
|
|
|
|
|
YY_("syntax error, unexpected %s, expecting %s");
|
|
|
|
|
YY_("syntax error, unexpected %s, expecting %s or %s");
|
|
|
|
|
YY_("syntax error, unexpected %s, expecting %s or %s or %s");
|
|
|
|
|
YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
|
|
|
|
|
# endif
|
|
|
|
|
char *yyfmt;
|
|
|
|
|
char const *yyf;
|
|
|
|
|
static char const yyunexpected[] = "syntax error, unexpected %s";
|
|
|
|
|
static char const yyexpecting[] = ", expecting %s";
|
|
|
|
|
static char const yyor[] = " or %s";
|
|
|
|
|
char yyformat[sizeof yyunexpected
|
|
|
|
|
+ sizeof yyexpecting - 1
|
|
|
|
|
+ ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
|
|
|
|
|
* (sizeof yyor - 1))];
|
|
|
|
|
char const *yyprefix = yyexpecting;
|
|
|
|
|
|
|
|
|
|
/* Start YYX at -YYN if negative to avoid negative indexes in
|
|
|
|
|
YYCHECK. */
|
|
|
|
|
int yyxbegin = yyn < 0 ? -yyn : 0;
|
|
|
|
|
|
|
|
|
|
/* Stay within bounds of both yycheck and yytname. */
|
|
|
|
|
int yychecklim = YYLAST - yyn + 1;
|
|
|
|
|
int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
|
|
|
|
|
int yycount = 1;
|
|
|
|
|
|
|
|
|
|
yyarg[0] = yytname[yytype];
|
|
|
|
|
yyfmt = yystpcpy (yyformat, yyunexpected);
|
|
|
|
|
|
|
|
|
|
for (yyx = yyxbegin; yyx < yyxend; ++yyx)
|
|
|
|
|
if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
|
|
|
|
|
{
|
|
|
|
|
if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
|
|
|
|
|
{
|
|
|
|
|
yycount = 1;
|
|
|
|
|
yysize = yysize0;
|
|
|
|
|
yyformat[sizeof yyunexpected - 1] = '\0';
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
yyarg[yycount++] = yytname[yyx];
|
|
|
|
|
yysize1 = yysize + yytnamerr (0, yytname[yyx]);
|
|
|
|
|
yysize_overflow |= (yysize1 < yysize);
|
|
|
|
|
yysize = yysize1;
|
|
|
|
|
yyfmt = yystpcpy (yyfmt, yyprefix);
|
|
|
|
|
yyprefix = yyor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
yyf = YY_(yyformat);
|
|
|
|
|
yysize1 = yysize + yystrlen (yyf);
|
|
|
|
|
yysize_overflow |= (yysize1 < yysize);
|
|
|
|
|
yysize = yysize1;
|
|
|
|
|
|
|
|
|
|
if (yysize_overflow)
|
|
|
|
|
return YYSIZE_MAXIMUM;
|
|
|
|
|
|
|
|
|
|
if (yyresult)
|
|
|
|
|
{
|
|
|
|
|
/* Avoid sprintf, as that infringes on the user's name space.
|
|
|
|
|
Don't have undefined behavior even if the translation
|
|
|
|
|
produced a string with the wrong number of "%s"s. */
|
|
|
|
|
char *yyp = yyresult;
|
|
|
|
|
int yyi = 0;
|
|
|
|
|
while ((*yyp = *yyf) != '\0')
|
|
|
|
|
{
|
|
|
|
|
if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
|
|
|
|
|
{
|
|
|
|
|
yyp += yytnamerr (yyp, yyarg[yyi++]);
|
|
|
|
|
yyf += 2;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
yyp++;
|
|
|
|
|
yyf++;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return yysize;
|
2003-11-28 18:07:29 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
}
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#endif /* YYERROR_VERBOSE */
|
|
|
|
|
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
/*-----------------------------------------------.
|
|
|
|
|
| Release the memory associated to this symbol. |
|
|
|
|
|
`-----------------------------------------------*/
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/*ARGSUSED*/
|
|
|
|
|
#if (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
2006-10-18 22:23:18 +04:00
|
|
|
|
static void
|
2007-09-24 01:10:06 +04:00
|
|
|
|
yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
|
2006-10-18 22:23:18 +04:00
|
|
|
|
#else
|
|
|
|
|
static void
|
2007-09-24 01:10:06 +04:00
|
|
|
|
yydestruct (yymsg, yytype, yyvaluep)
|
|
|
|
|
const char *yymsg;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
int yytype;
|
|
|
|
|
YYSTYPE *yyvaluep;
|
2006-10-11 18:54:40 +04:00
|
|
|
|
#endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
YYUSE (yyvaluep);
|
|
|
|
|
|
|
|
|
|
if (!yymsg)
|
|
|
|
|
yymsg = "Deleting";
|
|
|
|
|
YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
switch (yytype)
|
2003-11-28 18:07:29 +03:00
|
|
|
|
{
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
default:
|
2007-09-24 01:10:06 +04:00
|
|
|
|
break;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Prevent warnings from -Wmissing-prototypes. */
|
|
|
|
|
|
|
|
|
|
#ifdef YYPARSE_PARAM
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#if defined __STDC__ || defined __cplusplus
|
2006-10-18 22:23:18 +04:00
|
|
|
|
int yyparse (void *YYPARSE_PARAM);
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#else
|
2006-10-18 22:23:18 +04:00
|
|
|
|
int yyparse ();
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
#else /* ! YYPARSE_PARAM */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#if defined __STDC__ || defined __cplusplus
|
2006-10-18 22:23:18 +04:00
|
|
|
|
int yyparse (void);
|
|
|
|
|
#else
|
|
|
|
|
int yyparse ();
|
2006-10-11 18:54:40 +04:00
|
|
|
|
#endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
#endif /* ! YYPARSE_PARAM */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* The look-ahead symbol. */
|
2006-10-18 22:23:18 +04:00
|
|
|
|
int yychar;
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* The semantic value of the look-ahead symbol. */
|
2006-10-18 22:23:18 +04:00
|
|
|
|
YYSTYPE yylval;
|
|
|
|
|
|
|
|
|
|
/* Number of syntax errors so far. */
|
|
|
|
|
int yynerrs;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*----------.
|
|
|
|
|
| yyparse. |
|
|
|
|
|
`----------*/
|
|
|
|
|
|
|
|
|
|
#ifdef YYPARSE_PARAM
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#if (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
|
|
|
|
int
|
|
|
|
|
yyparse (void *YYPARSE_PARAM)
|
|
|
|
|
#else
|
|
|
|
|
int
|
|
|
|
|
yyparse (YYPARSE_PARAM)
|
|
|
|
|
void *YYPARSE_PARAM;
|
|
|
|
|
#endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
#else /* ! YYPARSE_PARAM */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#if (defined __STDC__ || defined __C99__FUNC__ \
|
|
|
|
|
|| defined __cplusplus || defined _MSC_VER)
|
2006-10-18 22:23:18 +04:00
|
|
|
|
int
|
|
|
|
|
yyparse (void)
|
|
|
|
|
#else
|
|
|
|
|
int
|
|
|
|
|
yyparse ()
|
|
|
|
|
|
2006-10-11 18:54:40 +04:00
|
|
|
|
#endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
int yystate;
|
|
|
|
|
int yyn;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
int yyresult;
|
|
|
|
|
/* Number of tokens to shift before error messages enabled. */
|
|
|
|
|
int yyerrstatus;
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Look-ahead token as an internal (translated) token number. */
|
2006-10-18 22:23:18 +04:00
|
|
|
|
int yytoken = 0;
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#if YYERROR_VERBOSE
|
|
|
|
|
/* Buffer for error messages, and its allocated size. */
|
|
|
|
|
char yymsgbuf[128];
|
|
|
|
|
char *yymsg = yymsgbuf;
|
|
|
|
|
YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
|
|
|
|
|
#endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
/* Three stacks and their tools:
|
|
|
|
|
`yyss': related to states,
|
|
|
|
|
`yyvs': related to semantic values,
|
|
|
|
|
`yyls': related to locations.
|
|
|
|
|
|
|
|
|
|
Refer to the stacks thru separate pointers, to allow yyoverflow
|
|
|
|
|
to reallocate them elsewhere. */
|
|
|
|
|
|
|
|
|
|
/* The state stack. */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
yytype_int16 yyssa[YYINITDEPTH];
|
|
|
|
|
yytype_int16 *yyss = yyssa;
|
|
|
|
|
yytype_int16 *yyssp;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
/* The semantic value stack. */
|
|
|
|
|
YYSTYPE yyvsa[YYINITDEPTH];
|
|
|
|
|
YYSTYPE *yyvs = yyvsa;
|
2007-09-24 01:10:06 +04:00
|
|
|
|
YYSTYPE *yyvsp;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
YYSIZE_T yystacksize = YYINITDEPTH;
|
|
|
|
|
|
|
|
|
|
/* The variables used to return semantic value and location from the
|
|
|
|
|
action routines. */
|
|
|
|
|
YYSTYPE yyval;
|
|
|
|
|
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* The number of symbols on the RHS of the reduced rule.
|
|
|
|
|
Keep to zero when no symbol should be popped. */
|
|
|
|
|
int yylen = 0;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
YYDPRINTF ((stderr, "Starting parse\n"));
|
|
|
|
|
|
|
|
|
|
yystate = 0;
|
|
|
|
|
yyerrstatus = 0;
|
|
|
|
|
yynerrs = 0;
|
|
|
|
|
yychar = YYEMPTY; /* Cause a token to be read. */
|
|
|
|
|
|
|
|
|
|
/* Initialize stack pointers.
|
|
|
|
|
Waste one element of value and location stack
|
|
|
|
|
so that they stay on the same level as the state stack.
|
|
|
|
|
The wasted elements are never initialized. */
|
|
|
|
|
|
|
|
|
|
yyssp = yyss;
|
|
|
|
|
yyvsp = yyvs;
|
|
|
|
|
|
|
|
|
|
goto yysetstate;
|
|
|
|
|
|
|
|
|
|
/*------------------------------------------------------------.
|
|
|
|
|
| yynewstate -- Push a new state, which is found in yystate. |
|
|
|
|
|
`------------------------------------------------------------*/
|
|
|
|
|
yynewstate:
|
|
|
|
|
/* In all cases, when you get here, the value and location stacks
|
2007-09-24 01:10:06 +04:00
|
|
|
|
have just been pushed. So pushing a state here evens the stacks. */
|
2006-10-18 22:23:18 +04:00
|
|
|
|
yyssp++;
|
|
|
|
|
|
|
|
|
|
yysetstate:
|
|
|
|
|
*yyssp = yystate;
|
|
|
|
|
|
|
|
|
|
if (yyss + yystacksize - 1 <= yyssp)
|
|
|
|
|
{
|
|
|
|
|
/* Get the current used size of the three stacks, in elements. */
|
|
|
|
|
YYSIZE_T yysize = yyssp - yyss + 1;
|
|
|
|
|
|
|
|
|
|
#ifdef yyoverflow
|
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Give user a chance to reallocate the stack. Use copies of
|
2006-10-18 22:23:18 +04:00
|
|
|
|
these so that the &'s don't force the real ones into
|
|
|
|
|
memory. */
|
|
|
|
|
YYSTYPE *yyvs1 = yyvs;
|
2007-09-24 01:10:06 +04:00
|
|
|
|
yytype_int16 *yyss1 = yyss;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Each stack pointer address is followed by the size of the
|
|
|
|
|
data in use in that stack, in bytes. This used to be a
|
|
|
|
|
conditional around just the two extra args, but that might
|
|
|
|
|
be undefined if yyoverflow is a macro. */
|
2007-09-24 01:10:06 +04:00
|
|
|
|
yyoverflow (YY_("memory exhausted"),
|
2006-10-18 22:23:18 +04:00
|
|
|
|
&yyss1, yysize * sizeof (*yyssp),
|
|
|
|
|
&yyvs1, yysize * sizeof (*yyvsp),
|
|
|
|
|
|
|
|
|
|
&yystacksize);
|
|
|
|
|
|
|
|
|
|
yyss = yyss1;
|
|
|
|
|
yyvs = yyvs1;
|
|
|
|
|
}
|
|
|
|
|
#else /* no yyoverflow */
|
|
|
|
|
# ifndef YYSTACK_RELOCATE
|
2007-09-24 01:10:06 +04:00
|
|
|
|
goto yyexhaustedlab;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
# else
|
|
|
|
|
/* Extend the stack our own way. */
|
|
|
|
|
if (YYMAXDEPTH <= yystacksize)
|
2007-09-24 01:10:06 +04:00
|
|
|
|
goto yyexhaustedlab;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
yystacksize *= 2;
|
|
|
|
|
if (YYMAXDEPTH < yystacksize)
|
|
|
|
|
yystacksize = YYMAXDEPTH;
|
|
|
|
|
|
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
yytype_int16 *yyss1 = yyss;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
union yyalloc *yyptr =
|
|
|
|
|
(union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
|
|
|
|
|
if (! yyptr)
|
2007-09-24 01:10:06 +04:00
|
|
|
|
goto yyexhaustedlab;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
YYSTACK_RELOCATE (yyss);
|
|
|
|
|
YYSTACK_RELOCATE (yyvs);
|
|
|
|
|
|
|
|
|
|
# undef YYSTACK_RELOCATE
|
|
|
|
|
if (yyss1 != yyssa)
|
|
|
|
|
YYSTACK_FREE (yyss1);
|
|
|
|
|
}
|
|
|
|
|
# endif
|
|
|
|
|
#endif /* no yyoverflow */
|
|
|
|
|
|
|
|
|
|
yyssp = yyss + yysize - 1;
|
|
|
|
|
yyvsp = yyvs + yysize - 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
YYDPRINTF ((stderr, "Stack size increased to %lu\n",
|
|
|
|
|
(unsigned long int) yystacksize));
|
|
|
|
|
|
|
|
|
|
if (yyss + yystacksize - 1 <= yyssp)
|
|
|
|
|
YYABORT;
|
2003-11-28 18:07:29 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
YYDPRINTF ((stderr, "Entering state %d\n", yystate));
|
|
|
|
|
|
|
|
|
|
goto yybackup;
|
|
|
|
|
|
|
|
|
|
/*-----------.
|
|
|
|
|
| yybackup. |
|
|
|
|
|
`-----------*/
|
|
|
|
|
yybackup:
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Do appropriate processing given the current state. Read a
|
|
|
|
|
look-ahead token if we need one and don't already have one. */
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* First try to decide what to do without reference to look-ahead token. */
|
2006-10-18 22:23:18 +04:00
|
|
|
|
yyn = yypact[yystate];
|
|
|
|
|
if (yyn == YYPACT_NINF)
|
|
|
|
|
goto yydefault;
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Not known => get a look-ahead token if don't already have one. */
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol. */
|
2006-10-18 22:23:18 +04:00
|
|
|
|
if (yychar == YYEMPTY)
|
2003-11-28 18:07:29 +03:00
|
|
|
|
{
|
2006-10-18 22:23:18 +04:00
|
|
|
|
YYDPRINTF ((stderr, "Reading a token: "));
|
|
|
|
|
yychar = YYLEX;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (yychar <= YYEOF)
|
|
|
|
|
{
|
|
|
|
|
yychar = yytoken = YYEOF;
|
|
|
|
|
YYDPRINTF ((stderr, "Now at end of input.\n"));
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
yytoken = YYTRANSLATE (yychar);
|
2007-09-24 01:10:06 +04:00
|
|
|
|
YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
|
2006-10-18 22:23:18 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* If the proper action on seeing token YYTOKEN is to reduce or to
|
|
|
|
|
detect an error, take that action. */
|
|
|
|
|
yyn += yytoken;
|
|
|
|
|
if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
|
|
|
|
|
goto yydefault;
|
|
|
|
|
yyn = yytable[yyn];
|
|
|
|
|
if (yyn <= 0)
|
|
|
|
|
{
|
|
|
|
|
if (yyn == 0 || yyn == YYTABLE_NINF)
|
|
|
|
|
goto yyerrlab;
|
|
|
|
|
yyn = -yyn;
|
|
|
|
|
goto yyreduce;
|
2003-11-28 18:07:29 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
if (yyn == YYFINAL)
|
|
|
|
|
YYACCEPT;
|
|
|
|
|
|
|
|
|
|
/* Count tokens shifted since error; after three, turn off error
|
|
|
|
|
status. */
|
|
|
|
|
if (yyerrstatus)
|
|
|
|
|
yyerrstatus--;
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Shift the look-ahead token. */
|
|
|
|
|
YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
|
|
|
|
|
|
|
|
|
|
/* Discard the shifted token unless it is eof. */
|
|
|
|
|
if (yychar != YYEOF)
|
|
|
|
|
yychar = YYEMPTY;
|
|
|
|
|
|
2006-10-18 22:23:18 +04:00
|
|
|
|
yystate = yyn;
|
2007-09-24 01:10:06 +04:00
|
|
|
|
*++yyvsp = yylval;
|
|
|
|
|
|
2006-10-18 22:23:18 +04:00
|
|
|
|
goto yynewstate;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*-----------------------------------------------------------.
|
|
|
|
|
| yydefault -- do the default action for the current state. |
|
|
|
|
|
`-----------------------------------------------------------*/
|
|
|
|
|
yydefault:
|
|
|
|
|
yyn = yydefact[yystate];
|
|
|
|
|
if (yyn == 0)
|
|
|
|
|
goto yyerrlab;
|
|
|
|
|
goto yyreduce;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*-----------------------------.
|
|
|
|
|
| yyreduce -- Do a reduction. |
|
|
|
|
|
`-----------------------------*/
|
2003-11-28 18:07:29 +03:00
|
|
|
|
yyreduce:
|
2006-10-18 22:23:18 +04:00
|
|
|
|
/* yyn is the number of a rule to reduce with. */
|
|
|
|
|
yylen = yyr2[yyn];
|
|
|
|
|
|
|
|
|
|
/* If YYLEN is nonzero, implement the default value of the action:
|
|
|
|
|
`$$ = $1'.
|
|
|
|
|
|
|
|
|
|
Otherwise, the following line sets YYVAL to garbage.
|
|
|
|
|
This behavior is undocumented and Bison
|
|
|
|
|
users should not rely upon it. Assigning to YYVAL
|
|
|
|
|
unconditionally makes the parser a bit smaller, and it avoids a
|
|
|
|
|
GCC warning that YYVAL may be used uninitialized. */
|
|
|
|
|
yyval = yyvsp[1-yylen];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
YY_REDUCE_PRINT (yyn);
|
|
|
|
|
switch (yyn)
|
2003-11-28 18:07:29 +03:00
|
|
|
|
{
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 49:
|
|
|
|
|
#line 186 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2003-11-28 18:07:29 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 51:
|
|
|
|
|
#line 193 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.bval)=(yyvsp[(1) - (1)].bval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 57:
|
|
|
|
|
#line 203 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval)=(yyvsp[(1) - (1)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 58:
|
|
|
|
|
#line 208 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_timebp_command(0, (yyvsp[(2) - (3)].uval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 59:
|
|
|
|
|
#line 213 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_timebp_command(1, (yyvsp[(2) - (3)].uval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 60:
|
|
|
|
|
#line 221 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_record_command((yyvsp[(2) - (3)].sval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 61:
|
|
|
|
|
#line 229 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_playback_command((yyvsp[(2) - (3)].sval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 62:
|
|
|
|
|
#line 237 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_modebp_command();
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 63:
|
|
|
|
|
#line 245 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_show_command((yyvsp[(2) - (3)].sval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-05-30 23:46:31 +04:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 64:
|
|
|
|
|
#line 250 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_show_param_command((yyvsp[(2) - (3)].sval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 65:
|
|
|
|
|
#line 255 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_show_command(0);
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 66:
|
|
|
|
|
#line 263 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_xlate_address((yyvsp[(2) - (3)].uval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 67:
|
|
|
|
|
#line 271 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_ptime_command();
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 68:
|
|
|
|
|
#line 279 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_trace_command((yyvsp[(2) - (3)].bval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 69:
|
|
|
|
|
#line 287 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_trace_reg_command((yyvsp[(2) - (3)].bval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 70:
|
|
|
|
|
#line 295 "parser.y"
|
2008-04-19 17:21:23 +04:00
|
|
|
|
{
|
|
|
|
|
bx_dbg_trace_mem_command((yyvsp[(2) - (3)].bval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 71:
|
|
|
|
|
#line 303 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_print_stack_command(16);
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 72:
|
|
|
|
|
#line 308 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_print_stack_command((yyvsp[(2) - (3)].uval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 73:
|
|
|
|
|
#line 316 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
watchpoint_continue = 0;
|
|
|
|
|
dbg_printf("Will stop on watch points\n");
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 74:
|
|
|
|
|
#line 322 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
watchpoint_continue = 1;
|
|
|
|
|
dbg_printf("Will not stop on watch points (they will still be logged)\n");
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 75:
|
|
|
|
|
#line 328 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_watch(-1, 0);
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 76:
|
|
|
|
|
#line 333 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_unwatch(-1, 0);
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 77:
|
|
|
|
|
#line 338 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_watch(1, (yyvsp[(3) - (4)].uval));
|
|
|
|
|
free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 78:
|
|
|
|
|
#line 343 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_unwatch(1, (yyvsp[(3) - (4)].uval));
|
|
|
|
|
free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 79:
|
|
|
|
|
#line 348 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_watch(0, (yyvsp[(3) - (4)].uval));
|
|
|
|
|
free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 80:
|
|
|
|
|
#line 353 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_unwatch(0, (yyvsp[(3) - (4)].uval));
|
|
|
|
|
free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 81:
|
|
|
|
|
#line 361 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_symbol_command((yyvsp[(2) - (3)].sval), 0, 0);
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 82:
|
|
|
|
|
#line 366 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_symbol_command((yyvsp[(2) - (4)].sval), 0, (yyvsp[(3) - (4)].uval));
|
|
|
|
|
free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 83:
|
|
|
|
|
#line 371 "parser.y"
|
2008-03-30 00:37:18 +03:00
|
|
|
|
{
|
|
|
|
|
bx_dbg_symbol_command((yyvsp[(3) - (4)].sval), 1, 0);
|
|
|
|
|
free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); free((yyvsp[(3) - (4)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 84:
|
|
|
|
|
#line 376 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_symbol_command((yyvsp[(3) - (5)].sval), 1, (yyvsp[(4) - (5)].uval));
|
|
|
|
|
free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); free((yyvsp[(3) - (5)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 85:
|
|
|
|
|
#line 384 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_where_command();
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 86:
|
|
|
|
|
#line 392 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_print_string_command((yyvsp[(2) - (3)].uval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 87:
|
|
|
|
|
#line 400 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_continue_command();
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 88:
|
|
|
|
|
#line 408 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_stepN_command(1);
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 89:
|
|
|
|
|
#line 413 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_stepN_command((yyvsp[(2) - (3)].uval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 90:
|
|
|
|
|
#line 421 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_step_over_command();
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 91:
|
|
|
|
|
#line 429 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{
|
|
|
|
|
bx_dbg_set_auto_disassemble((yyvsp[(3) - (4)].bval));
|
|
|
|
|
free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 92:
|
|
|
|
|
#line 434 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{
|
|
|
|
|
bx_dbg_set_symbol_command((yyvsp[(2) - (5)].sval), (yyvsp[(4) - (5)].uval));
|
|
|
|
|
free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 93:
|
|
|
|
|
#line 439 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_set_reg8l_value((yyvsp[(2) - (5)].uval), (yyvsp[(4) - (5)].uval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 94:
|
|
|
|
|
#line 443 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_set_reg8h_value((yyvsp[(2) - (5)].uval), (yyvsp[(4) - (5)].uval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 95:
|
|
|
|
|
#line 447 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_set_reg16_value((yyvsp[(2) - (5)].uval), (yyvsp[(4) - (5)].uval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 96:
|
|
|
|
|
#line 451 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{
|
|
|
|
|
bx_dbg_set_reg32_value((yyvsp[(2) - (5)].uval), (yyvsp[(4) - (5)].uval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 97:
|
|
|
|
|
#line 455 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{
|
|
|
|
|
bx_dbg_set_reg64_value((yyvsp[(2) - (5)].uval), (yyvsp[(4) - (5)].uval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 98:
|
|
|
|
|
#line 462 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_vbreakpoint_command(bkAtIP, 0, 0);
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 99:
|
|
|
|
|
#line 467 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_vbreakpoint_command(bkRegular, (yyvsp[(2) - (5)].uval), (yyvsp[(4) - (5)].uval));
|
|
|
|
|
free((yyvsp[(1) - (5)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 100:
|
|
|
|
|
#line 472 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_lbreakpoint_command(bkAtIP, 0);
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 101:
|
|
|
|
|
#line 477 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_lbreakpoint_command(bkRegular, (yyvsp[(2) - (3)].uval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 102:
|
|
|
|
|
#line 482 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_lbreakpoint_symbol_command((yyvsp[(2) - (3)].sval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 103:
|
|
|
|
|
#line 487 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_pbreakpoint_command(bkAtIP, 0);
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 104:
|
|
|
|
|
#line 492 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_pbreakpoint_command(bkRegular, (yyvsp[(2) - (3)].uval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 105:
|
|
|
|
|
#line 497 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_pbreakpoint_command(bkRegular, (yyvsp[(3) - (4)].uval));
|
|
|
|
|
free((yyvsp[(1) - (4)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 106:
|
|
|
|
|
#line 505 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_info_bpoints_command();
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 107:
|
|
|
|
|
#line 513 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_info_symbols_command(0);
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 108:
|
|
|
|
|
#line 518 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_info_symbols_command((yyvsp[(2) - (3)].sval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 109:
|
|
|
|
|
#line 526 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
bx_dbg_info_bpoints_command();
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 110:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 531 "parser.y"
|
2007-10-11 22:12:00 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
bx_dbg_info_registers_command(BX_INFO_GENERAL_PURPOSE_REGS | BX_INFO_FPU_REGS | BX_INFO_SSE_REGS);
|
2007-10-11 22:12:00 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 111:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 536 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
bx_dbg_info_dirty_command();
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 112:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 541 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
bx_dbg_info_idt_command((yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval));
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 113:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 546 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
bx_dbg_info_ivt_command((yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval));
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 114:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 551 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
bx_dbg_info_gdt_command((yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval));
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 115:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 556 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
bx_dbg_info_ldt_command((yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval));
|
|
|
|
|
free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 116:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 561 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
bx_dbg_dump_table();
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 117:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 566 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
bx_dbg_info_tss_command();
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 118:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 571 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
bx_dbg_info_flags();
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 119:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 576 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
bx_dbg_info_linux_command();
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 120:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 581 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
bx_dbg_info_symbols_command(0);
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 121:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 586 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
bx_dbg_info_symbols_command((yyvsp[(3) - (4)].sval));
|
|
|
|
|
free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); free((yyvsp[(3) - (4)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 122:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 591 "parser.y"
|
2007-10-24 01:51:44 +04:00
|
|
|
|
{
|
2008-05-01 23:10:07 +04:00
|
|
|
|
bx_dbg_info_ne2k(-1, -1);
|
2007-10-24 01:51:44 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 123:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 596 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-01 23:10:07 +04:00
|
|
|
|
free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); free((yyvsp[(3) - (5)].sval));
|
|
|
|
|
bx_dbg_info_ne2k((yyvsp[(4) - (5)].uval), -1);
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 124:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 601 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-01 23:10:07 +04:00
|
|
|
|
free((yyvsp[(1) - (7)].sval)); free((yyvsp[(2) - (7)].sval)); free((yyvsp[(3) - (7)].sval)); free((yyvsp[(5) - (7)].sval));
|
|
|
|
|
bx_dbg_info_ne2k((yyvsp[(4) - (7)].uval), (yyvsp[(6) - (7)].uval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 125:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 606 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-01 23:10:07 +04:00
|
|
|
|
bx_dbg_info_pic();
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-05-30 23:46:31 +04:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 126:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 611 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-01 23:10:07 +04:00
|
|
|
|
bx_dbg_info_vga();
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 127:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 616 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-01 23:10:07 +04:00
|
|
|
|
bx_dbg_info_pci();
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 128:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 623 "parser.y"
|
|
|
|
|
{ (yyval.uval) = EMPTY_ARG; }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 130:
|
|
|
|
|
#line 628 "parser.y"
|
2008-03-30 00:37:18 +03:00
|
|
|
|
{
|
2008-05-01 23:10:07 +04:00
|
|
|
|
bx_dbg_info_registers_command(BX_INFO_GENERAL_PURPOSE_REGS);
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2008-03-30 00:37:18 +03:00
|
|
|
|
}
|
2007-10-24 01:51:44 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 131:
|
|
|
|
|
#line 636 "parser.y"
|
|
|
|
|
{
|
|
|
|
|
bx_dbg_info_registers_command(BX_INFO_FPU_REGS);
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
|
|
|
|
}
|
2008-03-30 00:37:18 +03:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 132:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 644 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-05-01 23:10:07 +04:00
|
|
|
|
bx_dbg_info_registers_command(BX_INFO_MMX_REGS);
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-04-19 17:21:23 +04:00
|
|
|
|
case 133:
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 652 "parser.y"
|
|
|
|
|
{
|
|
|
|
|
bx_dbg_info_registers_command(BX_INFO_SSE_REGS);
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 134:
|
|
|
|
|
#line 660 "parser.y"
|
|
|
|
|
{
|
|
|
|
|
bx_dbg_info_segment_regs_command();
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 135:
|
|
|
|
|
#line 668 "parser.y"
|
|
|
|
|
{
|
|
|
|
|
bx_dbg_info_control_regs_command();
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 136:
|
|
|
|
|
#line 676 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_del_breakpoint_command((yyvsp[(2) - (3)].uval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 137:
|
|
|
|
|
#line 684 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_en_dis_breakpoint_command((yyvsp[(2) - (3)].uval), 1);
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 138:
|
|
|
|
|
#line 691 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_en_dis_breakpoint_command((yyvsp[(2) - (3)].uval), 0);
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 139:
|
|
|
|
|
#line 699 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_quit_command();
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 140:
|
|
|
|
|
#line 707 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_examine_command((yyvsp[(1) - (4)].sval), (yyvsp[(2) - (4)].sval),1, (yyvsp[(3) - (4)].uval), 1);
|
|
|
|
|
free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 141:
|
|
|
|
|
#line 712 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_examine_command((yyvsp[(1) - (3)].sval), (yyvsp[(2) - (3)].sval),1, 0, 0);
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 142:
|
|
|
|
|
#line 717 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_examine_command((yyvsp[(1) - (3)].sval), NULL,0, (yyvsp[(2) - (3)].uval), 1);
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 143:
|
|
|
|
|
#line 722 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_examine_command((yyvsp[(1) - (2)].sval), NULL,0, 0, 0);
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 144:
|
|
|
|
|
#line 730 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-10-14 23:04:51 +04:00
|
|
|
|
bx_dbg_restore_command((yyvsp[(2) - (4)].sval), (yyvsp[(3) - (4)].sval));
|
|
|
|
|
free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); free((yyvsp[(3) - (4)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 145:
|
|
|
|
|
#line 738 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-10-14 23:04:51 +04:00
|
|
|
|
bx_dbg_setpmem_command((yyvsp[(2) - (5)].uval), (yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval));
|
|
|
|
|
free((yyvsp[(1) - (5)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 146:
|
|
|
|
|
#line 746 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-10-14 23:04:51 +04:00
|
|
|
|
bx_dbg_query_command((yyvsp[(2) - (3)].sval));
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 147:
|
|
|
|
|
#line 754 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-10-14 23:04:51 +04:00
|
|
|
|
bx_dbg_take_command((yyvsp[(2) - (3)].sval), 1);
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 148:
|
|
|
|
|
#line 759 "parser.y"
|
2006-10-22 01:28:20 +04:00
|
|
|
|
{
|
2007-10-14 23:04:51 +04:00
|
|
|
|
bx_dbg_take_command((yyvsp[(2) - (4)].sval), (yyvsp[(3) - (4)].uval));
|
|
|
|
|
free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval));
|
2006-10-22 01:28:20 +04:00
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 149:
|
|
|
|
|
#line 764 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-10-14 23:04:51 +04:00
|
|
|
|
bx_dbg_take_command((yyvsp[(2) - (3)].sval), 1);
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 150:
|
|
|
|
|
#line 772 "parser.y"
|
2006-10-22 01:28:20 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_disassemble_current(NULL);
|
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-10-22 01:28:20 +04:00
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 151:
|
|
|
|
|
#line 777 "parser.y"
|
2006-10-22 01:28:20 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_disassemble_command(NULL, (yyvsp[(2) - (3)].uval), (yyvsp[(2) - (3)].uval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-10-22 01:28:20 +04:00
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 152:
|
|
|
|
|
#line 782 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_disassemble_command(NULL, (yyvsp[(2) - (4)].uval), (yyvsp[(3) - (4)].uval));
|
|
|
|
|
free((yyvsp[(1) - (4)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 153:
|
|
|
|
|
#line 787 "parser.y"
|
2006-10-22 01:28:20 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_disassemble_current((yyvsp[(2) - (3)].sval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-10-22 01:28:20 +04:00
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 154:
|
|
|
|
|
#line 792 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_disassemble_command((yyvsp[(2) - (4)].sval), (yyvsp[(3) - (4)].uval), (yyvsp[(3) - (4)].uval));
|
|
|
|
|
free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 155:
|
|
|
|
|
#line 797 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_disassemble_command((yyvsp[(2) - (5)].sval), (yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval));
|
|
|
|
|
free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 156:
|
|
|
|
|
#line 802 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_disassemble_switch_mode();
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 157:
|
|
|
|
|
#line 807 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_set_disassemble_size((yyvsp[(4) - (5)].uval));
|
|
|
|
|
free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 158:
|
|
|
|
|
#line 815 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_instrument_command((yyvsp[(2) - (3)].sval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 159:
|
|
|
|
|
#line 820 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_instrument_command((yyvsp[(2) - (3)].sval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval));
|
2006-05-21 20:48:05 +04:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 160:
|
|
|
|
|
#line 828 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{
|
|
|
|
|
bx_dbg_doit_command((yyvsp[(2) - (3)].uval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 161:
|
|
|
|
|
#line 836 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{
|
|
|
|
|
bx_dbg_crc_command((yyvsp[(2) - (4)].uval), (yyvsp[(3) - (4)].uval));
|
|
|
|
|
free((yyvsp[(1) - (4)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 162:
|
|
|
|
|
#line 844 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-04-19 17:21:23 +04:00
|
|
|
|
dbg_printf("q|quit|exit - quit debugger and emulator execution\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 163:
|
|
|
|
|
#line 849 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-04-19 17:21:23 +04:00
|
|
|
|
dbg_printf("c|cont|continue - continue executing\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 164:
|
|
|
|
|
#line 854 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-04-19 17:21:23 +04:00
|
|
|
|
dbg_printf("s|step|stepi [count] - execute #count instructions (default is one instruction)\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 165:
|
|
|
|
|
#line 859 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-04-19 17:21:23 +04:00
|
|
|
|
dbg_printf("n|next|p - execute instruction stepping over subroutines\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 166:
|
|
|
|
|
#line 864 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-04-19 17:21:23 +04:00
|
|
|
|
dbg_printf("vb|vbreak <seg:offset> - set a virtual address instruction breakpoint\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 167:
|
|
|
|
|
#line 869 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-04-19 17:21:23 +04:00
|
|
|
|
dbg_printf("lb|lbreak <addr> - set a linear address instruction breakpoint\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 168:
|
|
|
|
|
#line 874 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-04-19 17:21:23 +04:00
|
|
|
|
dbg_printf("p|pb|break|pbreak <addr> - set a physical address instruction breakpoint\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 169:
|
|
|
|
|
#line 879 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-04-19 17:21:23 +04:00
|
|
|
|
dbg_printf("d|del|delete <n> - delete a breakpoint\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 170:
|
|
|
|
|
#line 884 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-04-19 17:21:23 +04:00
|
|
|
|
dbg_printf("bpe <n> - enable a breakpoint\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 171:
|
|
|
|
|
#line 889 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-04-19 17:21:23 +04:00
|
|
|
|
dbg_printf("bpd <n> - disable a breakpoint\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 172:
|
|
|
|
|
#line 894 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-04-19 17:21:23 +04:00
|
|
|
|
dbg_printf("blist - list all breakpoints (same as 'info break')\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 173:
|
|
|
|
|
#line 899 "parser.y"
|
2008-04-19 17:21:23 +04:00
|
|
|
|
{
|
|
|
|
|
dbg_printf("modebp - toggles mode switch breakpoint\n");
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 174:
|
|
|
|
|
#line 904 "parser.y"
|
2008-04-19 17:21:23 +04:00
|
|
|
|
{
|
|
|
|
|
dbg_printf("crc <addr1> <addr2> - show CRC32 for physical memory range addr1..addr2\n");
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 175:
|
|
|
|
|
#line 909 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
dbg_printf("trace on - print disassembly for every executed instruction\n");
|
|
|
|
|
dbg_printf("trace off - disable instruction tracing\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 176:
|
|
|
|
|
#line 915 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
dbg_printf("trace-reg on - print all registers before every executed instruction\n");
|
|
|
|
|
dbg_printf("trace-reg off - disable registers state tracing\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 177:
|
|
|
|
|
#line 921 "parser.y"
|
2008-04-19 17:21:23 +04:00
|
|
|
|
{
|
|
|
|
|
dbg_printf("trace-mem on - print all memory accesses occured during instruction execution\n");
|
|
|
|
|
dbg_printf("trace-mem off - disable memory accesses tracing\n");
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 178:
|
|
|
|
|
#line 927 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
dbg_printf("restore <param_name> [path] - restore bochs root param from the file\n");
|
|
|
|
|
dbg_printf("for example:\n");
|
|
|
|
|
dbg_printf("restore \"cpu0\" - restore CPU #0 from file \"cpu0\" in current directory\n");
|
|
|
|
|
dbg_printf("restore \"cpu0\" \"/save\" - restore CPU #0 from file \"cpu0\" located in directory \"/save\"\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 179:
|
|
|
|
|
#line 935 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
dbg_printf("ptime - print current time (number of ticks since start of simulation)\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 180:
|
|
|
|
|
#line 940 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
dbg_printf("sb <delta> - insert a time breakpoint delta instructions into the future\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 181:
|
|
|
|
|
#line 945 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
dbg_printf("sba <time> - insert breakpoint at specific time\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 182:
|
|
|
|
|
#line 950 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
dbg_printf("print-stack [num_words] - print the num_words top 16 bit words on the stack\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 183:
|
|
|
|
|
#line 955 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
dbg_printf("record <filename> - record console input to file filename\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 184:
|
|
|
|
|
#line 960 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
dbg_printf("playback <filename> - playback console input from file filename\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 185:
|
|
|
|
|
#line 965 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
dbg_printf("ldsym [global] <filename> [offset] - load symbols from file\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-03-25 00:01:44 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 186:
|
|
|
|
|
#line 970 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
dbg_printf("slist [string] - list symbols whose preffix is string (same as 'info symbols')\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-05-21 20:48:05 +04:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 187:
|
|
|
|
|
#line 975 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2008-03-30 00:37:18 +03:00
|
|
|
|
dbg_printf("r|reg|regs|registers - list of CPU registers and their contents (same as 'info registers')\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-05-30 23:46:31 +04:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 188:
|
|
|
|
|
#line 980 "parser.y"
|
|
|
|
|
{
|
|
|
|
|
dbg_printf("fp|fpu| - print FPU state\n");
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 189:
|
|
|
|
|
#line 985 "parser.y"
|
|
|
|
|
{
|
|
|
|
|
dbg_printf("mmx - print MMX state\n");
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 190:
|
|
|
|
|
#line 990 "parser.y"
|
|
|
|
|
{
|
|
|
|
|
dbg_printf("sse|xmm - print SSE state\n");
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 191:
|
|
|
|
|
#line 995 "parser.y"
|
|
|
|
|
{
|
|
|
|
|
dbg_printf("sreg - show segment registers\n");
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 192:
|
|
|
|
|
#line 1000 "parser.y"
|
|
|
|
|
{
|
|
|
|
|
dbg_printf("creg - show control registers\n");
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case 193:
|
|
|
|
|
#line 1005 "parser.y"
|
2008-03-30 00:37:18 +03:00
|
|
|
|
{
|
|
|
|
|
dbg_printf("setpmem <addr> <datasize> <val> - set physical memory location of size 'datasize' to value 'val'\n");
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 194:
|
|
|
|
|
#line 1010 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2006-01-24 22:03:55 +03:00
|
|
|
|
dbg_printf("u|disasm|disassemble [/count] <start> <end> - disassemble instructions for given linear address\n");
|
|
|
|
|
dbg_printf(" Optional 'count' is the number of disassembled instructions\n");
|
2006-01-25 00:37:37 +03:00
|
|
|
|
dbg_printf("u|disasm|disassemble switch-mode - switch between Intel and AT&T disassembler syntax\n");
|
|
|
|
|
dbg_printf("u|disasm|disassemble size = n - tell debugger what segment size [16|32|64] to use\n");
|
|
|
|
|
dbg_printf(" when \"disassemble\" command is used.\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 195:
|
|
|
|
|
#line 1019 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2006-01-24 22:03:55 +03:00
|
|
|
|
dbg_printf("watch - print current watch point status\n");
|
|
|
|
|
dbg_printf("watch stop - stop simulation when a watchpoint is encountred\n");
|
|
|
|
|
dbg_printf("watch continue - do not stop the simulation when watch point is encountred\n");
|
|
|
|
|
dbg_printf("watch read addr - insert a read watch point at physical address addr\n");
|
|
|
|
|
dbg_printf("watch write addr - insert a write watch point at physical address addr\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 196:
|
|
|
|
|
#line 1028 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2006-01-24 22:03:55 +03:00
|
|
|
|
dbg_printf("unwatch - remove all watch points\n");
|
|
|
|
|
dbg_printf("unwatch read addr - remove a read watch point at physical address addr\n");
|
|
|
|
|
dbg_printf("unwatch write addr - remove a write watch point at physical address addr\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 197:
|
|
|
|
|
#line 1035 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2006-01-24 22:03:55 +03:00
|
|
|
|
dbg_printf("x /nuf <addr> - examine memory at linear address\n");
|
|
|
|
|
dbg_printf("xp /nuf <addr> - examine memory at physical address\n");
|
|
|
|
|
dbg_printf(" nuf is a sequence of numbers (how much values to display)\n");
|
|
|
|
|
dbg_printf(" and one or more of the [mxduotcsibhwg] format specificators:\n");
|
|
|
|
|
dbg_printf(" x,d,u,o,t,c,s,i select the format of the output (they stand for\n");
|
|
|
|
|
dbg_printf(" hex, decimal, unsigned, octal, binary, char, asciiz, instr)\n");
|
|
|
|
|
dbg_printf(" b,h,w,g select the size of a data element (for byte, half-word,\n");
|
|
|
|
|
dbg_printf(" word and giant word)\n");
|
|
|
|
|
dbg_printf(" m selects an alternative output format (memory dump)\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 198:
|
|
|
|
|
#line 1048 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2006-01-24 22:03:55 +03:00
|
|
|
|
dbg_printf("instrument start - calls bx_instr_start() callback\n");
|
2006-02-12 00:19:22 +03:00
|
|
|
|
dbg_printf("instrument stop - calls bx_instr_stop () callback\n");
|
2006-01-24 22:03:55 +03:00
|
|
|
|
dbg_printf("instrument reset - calls bx_instr_reset() callback\n");
|
|
|
|
|
dbg_printf("instrument print - calls bx_instr_print() callback\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 199:
|
|
|
|
|
#line 1056 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2006-01-25 00:37:37 +03:00
|
|
|
|
dbg_printf("set <regname> = <expr> - set register value to expression\n");
|
|
|
|
|
dbg_printf("set $reg = val - set CPU register to value val\n");
|
|
|
|
|
dbg_printf("set $auto_disassemble = 1 - cause debugger to disassemble current instruction\n");
|
|
|
|
|
dbg_printf(" every time execution stops\n");
|
|
|
|
|
dbg_printf("set u|disasm|disassemble on - same as 'set $auto_disassemble = 1'\n");
|
|
|
|
|
dbg_printf("set u|disasm|disassemble off - same as 'set $auto_disassemble = 0'\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 200:
|
|
|
|
|
#line 1066 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{
|
|
|
|
|
dbg_printf("page <laddr> - show linear to physical xlation for linear address laddr\n");
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 201:
|
|
|
|
|
#line 1071 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2006-01-24 22:03:55 +03:00
|
|
|
|
dbg_printf("info break - show information about current breakpoint status\n");
|
|
|
|
|
dbg_printf("info dirty - show physical pages dirtied (written to) since last display\n");
|
|
|
|
|
dbg_printf("info idt - show interrupt descriptor table\n");
|
|
|
|
|
dbg_printf("info ivt - show interrupt vector table\n");
|
|
|
|
|
dbg_printf("info gdt - show global descriptor table\n");
|
|
|
|
|
dbg_printf("info tss - show current task state segment\n");
|
2006-02-11 23:47:22 +03:00
|
|
|
|
dbg_printf("info tab - show page tables\n");
|
2006-01-24 22:03:55 +03:00
|
|
|
|
dbg_printf("info eflags - show decoded EFLAGS register\n");
|
|
|
|
|
dbg_printf("info symbols [string] - list symbols whose prefix is string\n");
|
|
|
|
|
dbg_printf("info pic - show PICs registers\n");
|
|
|
|
|
dbg_printf("info ne2000 - show NE2000 registers\n");
|
|
|
|
|
dbg_printf("info vga - show vga registers\n");
|
2007-10-24 01:51:44 +04:00
|
|
|
|
dbg_printf("info pci - show i440fx PCI state\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 202:
|
|
|
|
|
#line 1088 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2006-02-12 00:19:22 +03:00
|
|
|
|
dbg_printf("show <command> - toggles show symbolic info (calls to begin with)\n");
|
2006-01-24 22:03:55 +03:00
|
|
|
|
dbg_printf("show - shows current show mode\n");
|
2006-02-12 00:19:22 +03:00
|
|
|
|
dbg_printf("show mode - show, when processor switch mode\n");
|
|
|
|
|
dbg_printf("show int - show, when interrupt is happens\n");
|
|
|
|
|
dbg_printf("show call - show, when call is happens\n");
|
|
|
|
|
dbg_printf("show off - toggles off symbolic info\n");
|
|
|
|
|
dbg_printf("show dbg-all - turn on all show flags\n");
|
|
|
|
|
dbg_printf("show dbg-none - turn off all show flags\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 203:
|
|
|
|
|
#line 1100 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2006-01-24 22:03:55 +03:00
|
|
|
|
dbg_printf("calc|? <expr> - calculate a expression and display the result.\n");
|
|
|
|
|
dbg_printf(" 'expr' can reference any general-purpose and segment\n");
|
|
|
|
|
dbg_printf(" registers, use any arithmetic and logic operations, and\n");
|
|
|
|
|
dbg_printf(" also the special ':' operator which computes the linear\n");
|
|
|
|
|
dbg_printf(" address for a segment:offset (in real and v86 mode) or\n");
|
|
|
|
|
dbg_printf(" of a selector:offset (in protected mode) pair.\n");
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 204:
|
|
|
|
|
#line 1110 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2006-01-24 22:03:55 +03:00
|
|
|
|
bx_dbg_print_help();
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 205:
|
|
|
|
|
#line 1115 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2006-01-24 22:03:55 +03:00
|
|
|
|
bx_dbg_print_help();
|
2007-09-24 01:10:06 +04:00
|
|
|
|
free((yyvsp[(1) - (2)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 206:
|
|
|
|
|
#line 1123 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
bx_dbg_calc_command((yyvsp[(2) - (3)].uval));
|
|
|
|
|
free((yyvsp[(1) - (3)].sval));
|
2006-02-14 00:32:21 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 207:
|
|
|
|
|
#line 1140 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (1)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 208:
|
|
|
|
|
#line 1141 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_reg8l_value((yyvsp[(1) - (1)].uval)); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 209:
|
|
|
|
|
#line 1142 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_reg8h_value((yyvsp[(1) - (1)].uval)); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 210:
|
|
|
|
|
#line 1143 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_reg16_value((yyvsp[(1) - (1)].uval)); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 211:
|
|
|
|
|
#line 1144 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_reg32_value((yyvsp[(1) - (1)].uval)); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 212:
|
|
|
|
|
#line 1145 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_reg64_value((yyvsp[(1) - (1)].uval)); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 213:
|
|
|
|
|
#line 1146 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_selector_value((yyvsp[(1) - (1)].uval)); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 214:
|
|
|
|
|
#line 1147 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_ip (); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 215:
|
|
|
|
|
#line 1148 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_eip(); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 216:
|
|
|
|
|
#line 1149 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_instruction_pointer(); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 217:
|
|
|
|
|
#line 1150 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) + (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 218:
|
|
|
|
|
#line 1151 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) - (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 219:
|
|
|
|
|
#line 1152 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) * (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 220:
|
|
|
|
|
#line 1153 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) / (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 221:
|
|
|
|
|
#line 1154 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) >> (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 222:
|
|
|
|
|
#line 1155 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) << (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 223:
|
|
|
|
|
#line 1156 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) | (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 224:
|
|
|
|
|
#line 1157 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) ^ (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 225:
|
|
|
|
|
#line 1158 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) & (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 226:
|
|
|
|
|
#line 1159 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = !(yyvsp[(2) - (2)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 227:
|
|
|
|
|
#line 1160 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = -(yyvsp[(2) - (2)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 228:
|
|
|
|
|
#line 1161 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(2) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 229:
|
|
|
|
|
#line 1166 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (1)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 230:
|
|
|
|
|
#line 1167 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_symbol_value((yyvsp[(1) - (1)].sval)); free((yyvsp[(1) - (1)].sval));}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 231:
|
|
|
|
|
#line 1168 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_reg8l_value((yyvsp[(1) - (1)].uval)); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 232:
|
|
|
|
|
#line 1169 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_reg8h_value((yyvsp[(1) - (1)].uval)); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 233:
|
|
|
|
|
#line 1170 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_reg16_value((yyvsp[(1) - (1)].uval)); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 234:
|
|
|
|
|
#line 1171 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_reg32_value((yyvsp[(1) - (1)].uval)); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 235:
|
|
|
|
|
#line 1172 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_reg64_value((yyvsp[(1) - (1)].uval)); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 236:
|
|
|
|
|
#line 1173 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_selector_value((yyvsp[(1) - (1)].uval)); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 237:
|
|
|
|
|
#line 1174 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_ip (); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 238:
|
|
|
|
|
#line 1175 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_eip(); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 239:
|
|
|
|
|
#line 1176 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_instruction_pointer(); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 240:
|
|
|
|
|
#line 1177 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = bx_dbg_get_laddr ((yyvsp[(1) - (3)].uval), (yyvsp[(3) - (3)].uval)); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 241:
|
|
|
|
|
#line 1178 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) + (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 242:
|
|
|
|
|
#line 1179 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) - (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 243:
|
|
|
|
|
#line 1180 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) * (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 244:
|
|
|
|
|
#line 1181 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = ((yyvsp[(3) - (3)].uval) != 0) ? (yyvsp[(1) - (3)].uval) / (yyvsp[(3) - (3)].uval) : 0; }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 245:
|
|
|
|
|
#line 1182 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) >> (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 246:
|
|
|
|
|
#line 1183 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) << (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 247:
|
|
|
|
|
#line 1184 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) | (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 248:
|
|
|
|
|
#line 1185 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) ^ (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 249:
|
|
|
|
|
#line 1186 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(1) - (3)].uval) & (yyvsp[(3) - (3)].uval); }
|
2006-10-18 22:23:18 +04:00
|
|
|
|
break;
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 250:
|
|
|
|
|
#line 1187 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = !(yyvsp[(2) - (2)].uval); }
|
|
|
|
|
break;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 251:
|
|
|
|
|
#line 1188 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = -(yyvsp[(2) - (2)].uval); }
|
|
|
|
|
break;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
case 252:
|
|
|
|
|
#line 1189 "parser.y"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
{ (yyval.uval) = (yyvsp[(2) - (3)].uval); }
|
|
|
|
|
break;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Line 1267 of yacc.c. */
|
2008-05-04 01:32:02 +04:00
|
|
|
|
#line 3628 "y.tab.c"
|
2007-09-24 01:10:06 +04:00
|
|
|
|
default: break;
|
|
|
|
|
}
|
|
|
|
|
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
|
|
|
|
|
|
|
|
|
|
YYPOPSTACK (yylen);
|
|
|
|
|
yylen = 0;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
YY_STACK_PRINT (yyss, yyssp);
|
|
|
|
|
|
|
|
|
|
*++yyvsp = yyval;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Now `shift' the result of the reduction. Determine what state
|
|
|
|
|
that goes to, based on the state we popped back to and the rule
|
|
|
|
|
number reduced by. */
|
|
|
|
|
|
|
|
|
|
yyn = yyr1[yyn];
|
|
|
|
|
|
|
|
|
|
yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
|
|
|
|
|
if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
|
|
|
|
|
yystate = yytable[yystate];
|
|
|
|
|
else
|
|
|
|
|
yystate = yydefgoto[yyn - YYNTOKENS];
|
|
|
|
|
|
|
|
|
|
goto yynewstate;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*------------------------------------.
|
|
|
|
|
| yyerrlab -- here on detecting error |
|
|
|
|
|
`------------------------------------*/
|
|
|
|
|
yyerrlab:
|
|
|
|
|
/* If not already recovering from an error, report this error. */
|
|
|
|
|
if (!yyerrstatus)
|
2006-01-24 00:44:44 +03:00
|
|
|
|
{
|
2006-10-18 22:23:18 +04:00
|
|
|
|
++yynerrs;
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#if ! YYERROR_VERBOSE
|
|
|
|
|
yyerror (YY_("syntax error"));
|
|
|
|
|
#else
|
|
|
|
|
{
|
|
|
|
|
YYSIZE_T yysize = yysyntax_error (0, yystate, yychar);
|
|
|
|
|
if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM)
|
|
|
|
|
{
|
|
|
|
|
YYSIZE_T yyalloc = 2 * yysize;
|
|
|
|
|
if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM))
|
|
|
|
|
yyalloc = YYSTACK_ALLOC_MAXIMUM;
|
|
|
|
|
if (yymsg != yymsgbuf)
|
|
|
|
|
YYSTACK_FREE (yymsg);
|
|
|
|
|
yymsg = (char *) YYSTACK_ALLOC (yyalloc);
|
|
|
|
|
if (yymsg)
|
|
|
|
|
yymsg_alloc = yyalloc;
|
|
|
|
|
else
|
2006-10-18 22:23:18 +04:00
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
yymsg = yymsgbuf;
|
|
|
|
|
yymsg_alloc = sizeof yymsgbuf;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
}
|
2007-09-24 01:10:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (0 < yysize && yysize <= yymsg_alloc)
|
|
|
|
|
{
|
|
|
|
|
(void) yysyntax_error (yymsg, yystate, yychar);
|
|
|
|
|
yyerror (yymsg);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
yyerror (YY_("syntax error"));
|
|
|
|
|
if (yysize != 0)
|
|
|
|
|
goto yyexhaustedlab;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
2006-10-18 22:23:18 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (yyerrstatus == 3)
|
|
|
|
|
{
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* If just tried and failed to reuse look-ahead token after an
|
2006-10-18 22:23:18 +04:00
|
|
|
|
error, discard it. */
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
if (yychar <= YYEOF)
|
|
|
|
|
{
|
|
|
|
|
/* Return failure if at end of input. */
|
|
|
|
|
if (yychar == YYEOF)
|
|
|
|
|
YYABORT;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
yydestruct ("Error: discarding",
|
|
|
|
|
yytoken, &yylval);
|
|
|
|
|
yychar = YYEMPTY;
|
|
|
|
|
}
|
2003-11-28 18:07:29 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Else will try to reuse look-ahead token after shifting the error
|
2006-10-18 22:23:18 +04:00
|
|
|
|
token. */
|
|
|
|
|
goto yyerrlab1;
|
|
|
|
|
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/*---------------------------------------------------.
|
|
|
|
|
| yyerrorlab -- error raised explicitly by YYERROR. |
|
|
|
|
|
`---------------------------------------------------*/
|
|
|
|
|
yyerrorlab:
|
|
|
|
|
|
|
|
|
|
/* Pacify compilers like GCC when the user code never invokes
|
|
|
|
|
YYERROR and the label yyerrorlab therefore never appears in user
|
|
|
|
|
code. */
|
|
|
|
|
if (/*CONSTCOND*/ 0)
|
|
|
|
|
goto yyerrorlab;
|
|
|
|
|
|
|
|
|
|
/* Do not reclaim the symbols of the rule which action triggered
|
|
|
|
|
this YYERROR. */
|
|
|
|
|
YYPOPSTACK (yylen);
|
|
|
|
|
yylen = 0;
|
|
|
|
|
YY_STACK_PRINT (yyss, yyssp);
|
|
|
|
|
yystate = *yyssp;
|
|
|
|
|
goto yyerrlab1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*-------------------------------------------------------------.
|
|
|
|
|
| yyerrlab1 -- common code for both syntax error and YYERROR. |
|
|
|
|
|
`-------------------------------------------------------------*/
|
2006-10-18 22:23:18 +04:00
|
|
|
|
yyerrlab1:
|
|
|
|
|
yyerrstatus = 3; /* Each real token shifted decrements this. */
|
|
|
|
|
|
|
|
|
|
for (;;)
|
2003-11-28 18:07:29 +03:00
|
|
|
|
{
|
2006-10-18 22:23:18 +04:00
|
|
|
|
yyn = yypact[yystate];
|
|
|
|
|
if (yyn != YYPACT_NINF)
|
|
|
|
|
{
|
|
|
|
|
yyn += YYTERROR;
|
|
|
|
|
if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
|
|
|
|
|
{
|
|
|
|
|
yyn = yytable[yyn];
|
|
|
|
|
if (0 < yyn)
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Pop the current state because it cannot handle the error token. */
|
|
|
|
|
if (yyssp == yyss)
|
|
|
|
|
YYABORT;
|
|
|
|
|
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
yydestruct ("Error: popping",
|
|
|
|
|
yystos[yystate], yyvsp);
|
|
|
|
|
YYPOPSTACK (1);
|
|
|
|
|
yystate = *yyssp;
|
2006-10-18 22:23:18 +04:00
|
|
|
|
YY_STACK_PRINT (yyss, yyssp);
|
2003-11-28 18:07:29 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
if (yyn == YYFINAL)
|
|
|
|
|
YYACCEPT;
|
|
|
|
|
|
|
|
|
|
*++yyvsp = yylval;
|
|
|
|
|
|
|
|
|
|
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/* Shift the error token. */
|
|
|
|
|
YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
|
|
|
|
|
|
2006-10-18 22:23:18 +04:00
|
|
|
|
yystate = yyn;
|
|
|
|
|
goto yynewstate;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*-------------------------------------.
|
|
|
|
|
| yyacceptlab -- YYACCEPT comes here. |
|
|
|
|
|
`-------------------------------------*/
|
|
|
|
|
yyacceptlab:
|
|
|
|
|
yyresult = 0;
|
|
|
|
|
goto yyreturn;
|
|
|
|
|
|
|
|
|
|
/*-----------------------------------.
|
|
|
|
|
| yyabortlab -- YYABORT comes here. |
|
|
|
|
|
`-----------------------------------*/
|
|
|
|
|
yyabortlab:
|
|
|
|
|
yyresult = 1;
|
|
|
|
|
goto yyreturn;
|
|
|
|
|
|
|
|
|
|
#ifndef yyoverflow
|
2007-09-24 01:10:06 +04:00
|
|
|
|
/*-------------------------------------------------.
|
|
|
|
|
| yyexhaustedlab -- memory exhaustion comes here. |
|
|
|
|
|
`-------------------------------------------------*/
|
|
|
|
|
yyexhaustedlab:
|
|
|
|
|
yyerror (YY_("memory exhausted"));
|
2006-10-18 22:23:18 +04:00
|
|
|
|
yyresult = 2;
|
|
|
|
|
/* Fall through. */
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
yyreturn:
|
2007-09-24 01:10:06 +04:00
|
|
|
|
if (yychar != YYEOF && yychar != YYEMPTY)
|
|
|
|
|
yydestruct ("Cleanup: discarding lookahead",
|
|
|
|
|
yytoken, &yylval);
|
|
|
|
|
/* Do not reclaim the symbols of the rule which action triggered
|
|
|
|
|
this YYABORT or YYACCEPT. */
|
|
|
|
|
YYPOPSTACK (yylen);
|
|
|
|
|
YY_STACK_PRINT (yyss, yyssp);
|
|
|
|
|
while (yyssp != yyss)
|
|
|
|
|
{
|
|
|
|
|
yydestruct ("Cleanup: popping",
|
|
|
|
|
yystos[*yyssp], yyvsp);
|
|
|
|
|
YYPOPSTACK (1);
|
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
#ifndef yyoverflow
|
|
|
|
|
if (yyss != yyssa)
|
|
|
|
|
YYSTACK_FREE (yyss);
|
|
|
|
|
#endif
|
2007-09-24 01:10:06 +04:00
|
|
|
|
#if YYERROR_VERBOSE
|
|
|
|
|
if (yymsg != yymsgbuf)
|
|
|
|
|
YYSTACK_FREE (yymsg);
|
|
|
|
|
#endif
|
|
|
|
|
/* Make sure YYID is used. */
|
|
|
|
|
return YYID (yyresult);
|
2003-11-28 18:07:29 +03:00
|
|
|
|
}
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
|
2008-05-01 23:10:07 +04:00
|
|
|
|
#line 1192 "parser.y"
|
2006-10-18 22:23:18 +04:00
|
|
|
|
|
|
|
|
|
|
2003-11-28 18:07:29 +03:00
|
|
|
|
#endif /* if BX_DEBUGGER */
|
|
|
|
|
/* The #endif is appended by the makefile after running yacc. */
|