/* A Bison parser, made by GNU Bison 1.875b. */ /* Skeleton parser for Yacc-like parsing with Bison, Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. 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 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison. */ /* Written by Richard Stallman by simplifying the original so called ``semantic'' parser. */ /* 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 /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" /* Pure parsers. */ #define YYPURE 0 /* Using locations. */ #define YYLSP_NEEDED 0 /* If NAME_PREFIX is specified substitute the variables and functions names. */ #define yyparse bxparse #define yylex bxlex #define yyerror bxerror #define yylval bxlval #define yychar bxchar #define yydebug bxdebug #define yynerrs bxnerrs /* 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, BX_TOKEN_ALL = 291, 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_EXAMINE = 301, BX_TOKEN_XFORMAT = 302, BX_TOKEN_DISFORMAT = 303, BX_TOKEN_SETPMEM = 304, BX_TOKEN_SYMBOLNAME = 305, BX_TOKEN_QUERY = 306, BX_TOKEN_PENDING = 307, BX_TOKEN_TAKE = 308, BX_TOKEN_DMA = 309, BX_TOKEN_IRQ = 310, BX_TOKEN_DUMP_CPU = 311, BX_TOKEN_SET_CPU = 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_SWITCH_MODE = 321, BX_TOKEN_SIZE = 322, BX_TOKEN_PTIME = 323, BX_TOKEN_TIMEBP_ABSOLUTE = 324, BX_TOKEN_TIMEBP = 325, BX_TOKEN_RECORD = 326, BX_TOKEN_PLAYBACK = 327, BX_TOKEN_MODEBP = 328, BX_TOKEN_PRINT_STACK = 329, BX_TOKEN_WATCH = 330, BX_TOKEN_UNWATCH = 331, BX_TOKEN_READ = 332, BX_TOKEN_WRITE = 333, BX_TOKEN_SHOW = 334, BX_TOKEN_LOAD_SYMBOLS = 335, BX_TOKEN_SYMBOLS = 336, BX_TOKEN_LIST_SYMBOLS = 337, BX_TOKEN_GLOBAL = 338, BX_TOKEN_WHERE = 339, BX_TOKEN_PRINT_STRING = 340, BX_TOKEN_NUMERIC = 341, BX_TOKEN_NE2000 = 342, BX_TOKEN_PIC = 343, BX_TOKEN_PAGE = 344, BX_TOKEN_HELP = 345, BX_TOKEN_CALC = 346, BX_TOKEN_VGA = 347, BX_TOKEN_COMMAND = 348, BX_TOKEN_GENERIC = 349, BX_TOKEN_RSHIFT = 350, BX_TOKEN_LSHIFT = 351, BX_TOKEN_REG_IP = 352, BX_TOKEN_REG_EIP = 353, BX_TOKEN_REG_RIP = 354, NEG = 355, NOT = 356 }; #endif #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 #define BX_TOKEN_ALL 291 #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_EXAMINE 301 #define BX_TOKEN_XFORMAT 302 #define BX_TOKEN_DISFORMAT 303 #define BX_TOKEN_SETPMEM 304 #define BX_TOKEN_SYMBOLNAME 305 #define BX_TOKEN_QUERY 306 #define BX_TOKEN_PENDING 307 #define BX_TOKEN_TAKE 308 #define BX_TOKEN_DMA 309 #define BX_TOKEN_IRQ 310 #define BX_TOKEN_DUMP_CPU 311 #define BX_TOKEN_SET_CPU 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_SWITCH_MODE 321 #define BX_TOKEN_SIZE 322 #define BX_TOKEN_PTIME 323 #define BX_TOKEN_TIMEBP_ABSOLUTE 324 #define BX_TOKEN_TIMEBP 325 #define BX_TOKEN_RECORD 326 #define BX_TOKEN_PLAYBACK 327 #define BX_TOKEN_MODEBP 328 #define BX_TOKEN_PRINT_STACK 329 #define BX_TOKEN_WATCH 330 #define BX_TOKEN_UNWATCH 331 #define BX_TOKEN_READ 332 #define BX_TOKEN_WRITE 333 #define BX_TOKEN_SHOW 334 #define BX_TOKEN_LOAD_SYMBOLS 335 #define BX_TOKEN_SYMBOLS 336 #define BX_TOKEN_LIST_SYMBOLS 337 #define BX_TOKEN_GLOBAL 338 #define BX_TOKEN_WHERE 339 #define BX_TOKEN_PRINT_STRING 340 #define BX_TOKEN_NUMERIC 341 #define BX_TOKEN_NE2000 342 #define BX_TOKEN_PIC 343 #define BX_TOKEN_PAGE 344 #define BX_TOKEN_HELP 345 #define BX_TOKEN_CALC 346 #define BX_TOKEN_VGA 347 #define BX_TOKEN_COMMAND 348 #define BX_TOKEN_GENERIC 349 #define BX_TOKEN_RSHIFT 350 #define BX_TOKEN_LSHIFT 351 #define BX_TOKEN_REG_IP 352 #define BX_TOKEN_REG_EIP 353 #define BX_TOKEN_REG_RIP 354 #define NEG 355 #define NOT 356 /* Copy the first part of user declarations. */ #line 5 "parser.y" #include #include #include "debug.h" #if BX_DEBUGGER /* 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 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) #line 13 "parser.y" typedef union YYSTYPE { char *sval; Bit64u uval; bx_bool bval; } YYSTYPE; /* Line 191 of yacc.c. */ #line 301 "y.tab.c" # 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. */ /* Line 214 of yacc.c. */ #line 313 "y.tab.c" #if ! defined (yyoverflow) || YYERROR_VERBOSE /* The parser invokes alloca or malloc; define the necessary symbols. */ # if YYSTACK_USE_ALLOCA # define YYSTACK_ALLOC alloca # else # ifndef YYSTACK_USE_ALLOCA # if defined (alloca) || defined (_ALLOCA_H) # define YYSTACK_ALLOC alloca # else # ifdef __GNUC__ # define YYSTACK_ALLOC __builtin_alloca # endif # endif # endif # endif # ifdef YYSTACK_ALLOC /* Pacify GCC's `empty if-body' warning. */ # define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) # else # if defined (__STDC__) || defined (__cplusplus) # include /* INFRINGES ON USER NAME SPACE */ # define YYSIZE_T size_t # endif # define YYSTACK_ALLOC malloc # define YYSTACK_FREE free # endif #endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */ #if (! defined (yyoverflow) \ && (! defined (__cplusplus) \ || (YYSTYPE_IS_TRIVIAL))) /* A type that is properly aligned for any stack member. */ union yyalloc { short yyss; 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) \ ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM) /* Copy COUNT objects from FROM to TO. The source and destination do not overlap. */ # ifndef YYCOPY # if 1 < __GNUC__ # define YYCOPY(To, From, Count) \ __builtin_memcpy (To, From, (Count) * sizeof (*(From))) # else # define YYCOPY(To, From, Count) \ do \ { \ register YYSIZE_T yyi; \ for (yyi = 0; yyi < (Count); yyi++) \ (To)[yyi] = (From)[yyi]; \ } \ while (0) # 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); \ } \ while (0) #endif #if defined (__STDC__) || defined (__cplusplus) typedef signed char yysigned_char; #else typedef short yysigned_char; #endif /* YYFINAL -- State number of the termination state. */ #define YYFINAL 248 /* YYLAST -- Last index in YYTABLE. */ #define YYLAST 1071 /* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 115 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 46 /* YYNRULES -- Number of rules. */ #define YYNRULES 237 /* YYNRULES -- Number of states. */ #define YYNSTATES 461 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 #define YYMAXUTOK 356 #define YYTRANSLATE(YYX) \ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) /* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ static const unsigned char yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 109, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 112, 2, 2, 2, 2, 106, 2, 113, 114, 104, 100, 2, 101, 2, 105, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 111, 2, 2, 110, 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, 103, 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, 102, 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, 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, 95, 96, 97, 98, 99, 107, 108 }; #if YYDEBUG /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in YYRHS. */ static const unsigned short yyprhs[] = { 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, 80, 82, 84, 85, 87, 89, 91, 93, 95, 97, 99, 101, 103, 107, 111, 115, 119, 122, 126, 130, 133, 136, 140, 144, 147, 151, 155, 159, 162, 165, 170, 175, 180, 185, 189, 194, 200, 203, 207, 210, 213, 217, 220, 225, 231, 237, 243, 249, 255, 261, 264, 270, 273, 277, 281, 284, 288, 293, 296, 299, 303, 307, 311, 315, 319, 323, 327, 331, 337, 343, 349, 355, 359, 363, 367, 371, 375, 380, 384, 388, 394, 402, 406, 410, 411, 413, 416, 419, 423, 427, 431, 434, 439, 443, 447, 450, 456, 460, 464, 469, 473, 476, 479, 483, 488, 492, 497, 503, 507, 513, 517, 521, 525, 530, 534, 538, 542, 546, 550, 554, 558, 562, 566, 570, 574, 578, 582, 586, 590, 594, 598, 602, 606, 610, 614, 618, 622, 626, 630, 634, 638, 642, 646, 650, 654, 658, 662, 666, 670, 674, 678, 681, 685, 687, 689, 691, 693, 695, 697, 699, 701, 703, 705, 709, 713, 717, 721, 725, 729, 733, 737, 741, 744, 747, 751, 753, 755, 757, 759, 761, 763, 765, 767, 769, 771, 773, 777, 781, 785, 789, 793, 797, 801, 805, 809, 813, 816, 819 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ static const short yyrhs[] = { 116, 0, -1, 116, 117, -1, 117, -1, 133, -1, 134, -1, 135, -1, 136, -1, 137, -1, 140, -1, 142, -1, 138, -1, 139, -1, 143, -1, 144, -1, 145, -1, 146, -1, 147, -1, 148, -1, 149, -1, 150, -1, 151, -1, 152, -1, 153, -1, 154, -1, 155, -1, 156, -1, 126, -1, 127, -1, 125, -1, 120, -1, 121, -1, 122, -1, 123, -1, 128, -1, 129, -1, 124, -1, 130, -1, 131, -1, 132, -1, 157, -1, 158, -1, -1, 109, -1, 15, -1, 16, -1, 8, -1, 9, -1, 10, -1, 11, -1, 12, -1, 13, -1, 70, 86, 109, -1, 69, 86, 109, -1, 71, 60, 109, -1, 72, 60, 109, -1, 73, 109, -1, 79, 93, 109, -1, 79, 60, 109, -1, 79, 109, -1, 68, 109, -1, 64, 118, 109, -1, 65, 118, 109, -1, 74, 109, -1, 74, 86, 109, -1, 75, 61, 109, -1, 75, 17, 109, -1, 75, 109, -1, 76, 109, -1, 75, 77, 86, 109, -1, 76, 77, 86, 109, -1, 75, 78, 86, 109, -1, 76, 78, 86, 109, -1, 80, 60, 109, -1, 80, 60, 86, 109, -1, 80, 83, 60, 86, 109, -1, 84, 109, -1, 85, 86, 109, -1, 17, 109, -1, 18, 109, -1, 18, 86, 109, -1, 19, 109, -1, 21, 58, 118, 109, -1, 21, 50, 110, 86, 109, -1, 21, 4, 110, 160, 109, -1, 21, 3, 110, 160, 109, -1, 21, 5, 110, 160, 109, -1, 21, 6, 110, 160, 109, -1, 21, 7, 110, 160, 109, -1, 24, 109, -1, 24, 159, 111, 159, 109, -1, 25, 109, -1, 25, 160, 109, -1, 25, 60, 109, -1, 26, 109, -1, 26, 160, 109, -1, 26, 104, 160, 109, -1, 23, 109, -1, 82, 109, -1, 82, 60, 109, -1, 30, 26, 109, -1, 30, 33, 109, -1, 30, 32, 109, -1, 30, 34, 109, -1, 30, 35, 109, -1, 30, 36, 109, -1, 30, 43, 109, -1, 30, 37, 141, 141, 109, -1, 30, 38, 141, 141, 109, -1, 30, 39, 141, 141, 109, -1, 30, 40, 141, 141, 109, -1, 30, 42, 109, -1, 30, 41, 109, -1, 30, 14, 109, -1, 30, 44, 109, -1, 30, 81, 109, -1, 30, 81, 60, 109, -1, 30, 45, 109, -1, 30, 87, 109, -1, 30, 87, 89, 86, 109, -1, 30, 87, 89, 86, 32, 86, 109, -1, 30, 88, 109, -1, 30, 92, 109, -1, -1, 86, -1, 32, 109, -1, 56, 109, -1, 27, 86, 109, -1, 28, 86, 109, -1, 29, 86, 109, -1, 31, 109, -1, 46, 47, 160, 109, -1, 46, 47, 109, -1, 46, 160, 109, -1, 46, 109, -1, 49, 86, 86, 86, 109, -1, 51, 52, 109, -1, 53, 54, 109, -1, 53, 54, 86, 109, -1, 53, 55, 109, -1, 57, 109, -1, 58, 109, -1, 58, 160, 109, -1, 58, 160, 160, 109, -1, 58, 48, 109, -1, 58, 48, 160, 109, -1, 58, 48, 160, 160, 109, -1, 58, 66, 109, -1, 58, 67, 110, 86, 109, -1, 59, 61, 109, -1, 59, 93, 109, -1, 62, 86, 109, -1, 63, 86, 86, 109, -1, 90, 31, 109, -1, 90, 17, 109, -1, 90, 18, 109, -1, 90, 19, 109, -1, 90, 24, 109, -1, 90, 25, 109, -1, 90, 26, 109, -1, 90, 27, 109, -1, 90, 28, 109, -1, 90, 29, 109, -1, 90, 23, 109, -1, 90, 73, 109, -1, 90, 63, 109, -1, 90, 64, 109, -1, 90, 65, 109, -1, 90, 56, 109, -1, 90, 57, 109, -1, 90, 68, 109, -1, 90, 70, 109, -1, 90, 69, 109, -1, 90, 74, 109, -1, 90, 71, 109, -1, 90, 72, 109, -1, 90, 80, 109, -1, 90, 82, 109, -1, 90, 32, 109, -1, 90, 49, 109, -1, 90, 58, 109, -1, 90, 75, 109, -1, 90, 76, 109, -1, 90, 46, 109, -1, 90, 59, 109, -1, 90, 21, 109, -1, 90, 30, 109, -1, 90, 79, 109, -1, 90, 91, 109, -1, 90, 90, 109, -1, 90, 109, -1, 91, 160, 109, -1, 86, -1, 4, -1, 3, -1, 5, -1, 6, -1, 7, -1, 119, -1, 97, -1, 98, -1, 99, -1, 159, 100, 159, -1, 159, 101, 159, -1, 159, 104, 159, -1, 159, 105, 159, -1, 159, 95, 159, -1, 159, 96, 159, -1, 159, 102, 159, -1, 159, 103, 159, -1, 159, 106, 159, -1, 112, 159, -1, 101, 159, -1, 113, 159, 114, -1, 86, -1, 60, -1, 4, -1, 3, -1, 5, -1, 6, -1, 7, -1, 119, -1, 97, -1, 98, -1, 99, -1, 160, 111, 160, -1, 160, 100, 160, -1, 160, 101, 160, -1, 160, 104, 160, -1, 160, 105, 160, -1, 160, 95, 160, -1, 160, 96, 160, -1, 160, 102, 160, -1, 160, 103, 160, -1, 160, 106, 160, -1, 112, 160, -1, 101, 160, -1, 113, 160, 114, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ static const unsigned short yyrline[] = { 0, 133, 133, 134, 138, 139, 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, 183, 184, 189, 190, 191, 192, 193, 194, 199, 204, 212, 220, 228, 236, 241, 246, 254, 262, 270, 278, 283, 291, 297, 303, 308, 313, 318, 323, 328, 336, 341, 346, 354, 362, 370, 378, 383, 391, 399, 404, 409, 413, 417, 421, 425, 432, 437, 442, 447, 452, 457, 462, 467, 475, 483, 488, 496, 501, 506, 511, 516, 521, 526, 531, 536, 541, 546, 551, 556, 561, 566, 571, 576, 581, 586, 591, 596, 601, 606, 614, 615, 618, 626, 634, 642, 649, 657, 665, 670, 675, 680, 688, 696, 704, 709, 714, 722, 730, 735, 740, 745, 750, 755, 760, 765, 773, 778, 786, 794, 802, 807, 812, 817, 822, 827, 832, 837, 842, 847, 852, 857, 862, 867, 873, 879, 884, 889, 894, 899, 904, 909, 914, 919, 924, 929, 934, 939, 948, 957, 964, 977, 985, 995, 1016, 1028, 1038, 1043, 1051, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118 }; #endif #if YYDEBUG || YYERROR_VERBOSE /* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. First, the terminals, then, starting at YYNTOKENS, nonterminals. */ static const char *const yytname[] = { "$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", "BX_TOKEN_ALL", "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_EXAMINE", "BX_TOKEN_XFORMAT", "BX_TOKEN_DISFORMAT", "BX_TOKEN_SETPMEM", "BX_TOKEN_SYMBOLNAME", "BX_TOKEN_QUERY", "BX_TOKEN_PENDING", "BX_TOKEN_TAKE", "BX_TOKEN_DMA", "BX_TOKEN_IRQ", "BX_TOKEN_DUMP_CPU", "BX_TOKEN_SET_CPU", "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_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_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", "ptime_command", "trace_command", "trace_reg_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", "dump_cpu_command", "delete_command", "bpe_command", "bpd_command", "quit_command", "examine_command", "setpmem_command", "query_command", "take_command", "set_cpu_command", "disassemble_command", "instrument_command", "doit_command", "crc_command", "help_command", "calc_command", "vexpression", "expression", 0 }; #endif # ifdef YYPRINT /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to token YYLEX-NUM. */ static const unsigned short yytoknum[] = { 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, 43, 45, 124, 94, 42, 47, 38, 355, 356, 10, 61, 58, 33, 40, 41 }; # endif /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ static const unsigned char yyr1[] = { 0, 115, 116, 116, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 118, 118, 119, 119, 119, 119, 119, 119, 120, 120, 121, 122, 123, 124, 124, 124, 125, 126, 127, 128, 128, 129, 129, 129, 129, 129, 129, 129, 129, 130, 130, 130, 131, 132, 133, 134, 134, 135, 136, 136, 136, 136, 136, 136, 136, 137, 137, 137, 137, 137, 137, 137, 137, 138, 139, 139, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 141, 141, 142, 143, 144, 145, 146, 147, 148, 148, 148, 148, 149, 150, 151, 151, 151, 152, 153, 153, 153, 153, 153, 153, 153, 153, 154, 154, 155, 156, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 158, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ static const unsigned char yyr2[] = { 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, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 2, 3, 3, 2, 2, 3, 3, 2, 3, 3, 3, 2, 2, 4, 4, 4, 4, 3, 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, 3, 3, 3, 3, 3, 3, 5, 5, 5, 5, 3, 3, 3, 3, 3, 4, 3, 3, 5, 7, 3, 3, 0, 1, 2, 2, 3, 3, 3, 2, 4, 3, 3, 2, 5, 3, 3, 4, 3, 2, 2, 3, 4, 3, 4, 5, 3, 5, 3, 3, 3, 4, 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, 3, 3, 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 }; /* 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. */ static const unsigned char yydefact[] = { 42, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 43, 0, 3, 30, 31, 32, 33, 36, 29, 27, 28, 34, 35, 37, 38, 39, 4, 5, 6, 7, 8, 11, 12, 9, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 40, 41, 78, 0, 79, 81, 0, 0, 0, 0, 0, 0, 0, 97, 194, 193, 195, 196, 197, 46, 47, 48, 49, 50, 51, 192, 199, 200, 201, 0, 89, 0, 0, 198, 0, 217, 216, 218, 219, 220, 215, 214, 222, 223, 224, 0, 91, 0, 0, 221, 0, 215, 0, 94, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 123, 123, 123, 123, 0, 0, 0, 0, 0, 0, 0, 0, 0, 130, 125, 0, 134, 0, 0, 0, 0, 0, 126, 140, 0, 0, 0, 141, 0, 0, 0, 0, 0, 44, 45, 0, 0, 60, 0, 0, 0, 0, 56, 0, 63, 0, 0, 0, 0, 67, 0, 0, 68, 0, 0, 59, 0, 0, 0, 98, 76, 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, 0, 0, 0, 0, 0, 0, 0, 0, 190, 0, 1, 2, 80, 0, 0, 0, 0, 0, 0, 0, 212, 211, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 93, 236, 235, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 92, 0, 0, 95, 127, 128, 129, 113, 100, 102, 101, 103, 104, 105, 124, 123, 123, 123, 123, 112, 111, 106, 114, 117, 0, 115, 0, 118, 121, 122, 132, 0, 133, 0, 136, 0, 137, 139, 144, 0, 147, 0, 0, 142, 0, 149, 150, 151, 0, 61, 62, 53, 52, 54, 55, 64, 66, 65, 0, 0, 0, 0, 58, 57, 0, 73, 0, 99, 77, 154, 155, 156, 185, 163, 157, 158, 159, 160, 161, 162, 186, 153, 178, 183, 179, 168, 169, 180, 184, 165, 166, 167, 170, 172, 171, 174, 175, 164, 173, 181, 182, 187, 176, 177, 189, 188, 191, 0, 0, 0, 0, 0, 0, 82, 213, 206, 207, 202, 203, 208, 209, 204, 205, 210, 0, 237, 230, 231, 226, 227, 232, 233, 228, 229, 234, 225, 96, 0, 0, 0, 0, 116, 0, 131, 0, 138, 145, 0, 0, 227, 143, 152, 69, 71, 70, 72, 74, 0, 85, 84, 86, 87, 88, 83, 90, 107, 108, 109, 110, 0, 119, 135, 146, 148, 75, 0, 120 }; /* YYDEFGOTO[NTERM-NUM]. */ static const short yydefgoto[] = { -1, 44, 45, 182, 131, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 299, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 116, 132 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ #define YYPACT_NINF -145 static const short yypact[] = { 734, -95, -59, -90, 19, -52, 501, 356, 293, -70, -25, -21, 872, -41, -39, 339, -20, 22, -43, -38, -34, 228, -44, -7, -2, 36, 36, -31, -1, 0, 27, 29, -19, -56, -15, -49, -45, -28, -51, -16, 5, 809, 526, -145, 634, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, 1, -145, -145, -3, 2, 3, 4, 6, 7, 36, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, 637, -145, 637, 637, -145, 328, -145, -145, -145, -145, -145, 11, -145, -145, -145, -145, 526, -145, 526, 526, -145, 445, -145, 526, -145, 573, 14, 15, 16, 33, 37, 38, 42, 50, 51, 52, 25, 25, 25, 25, 53, 55, 56, 57, 70, -50, -42, 71, 72, -145, -145, 467, -145, 673, 67, 73, -55, 74, -145, -145, 484, 75, 76, -145, 32, 90, 91, 93, 99, -145, -145, 100, 101, -145, 109, 110, 112, 114, -145, 115, -145, 117, 118, 122, 134, -145, 142, 143, -145, 121, 133, -145, -53, 188, 140, -145, -145, 141, 144, 145, 146, 157, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 180, 181, 182, 183, 184, 198, 199, 200, 201, 202, 203, 204, 207, 208, 210, 211, 212, 213, 214, 215, 219, 221, 222, -145, 824, -145, -145, -145, 526, 526, 526, 526, 526, 165, 223, -145, -145, 308, 637, 637, 637, 637, 637, 637, 637, 637, 637, 637, -145, 224, 224, 111, 526, 526, 526, 526, 526, 526, 526, 526, 526, -145, 526, 836, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, 25, 25, 25, 25, -145, -145, -145, -145, -145, 225, -145, 166, -145, -145, -145, -145, 866, -145, 247, -145, 227, -145, -145, -145, 92, -145, 252, 526, -145, 878, -145, -145, -145, 230, -145, -145, -145, -145, -145, -145, -145, -145, -145, 245, 246, 248, 249, -145, -145, 261, -145, 270, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, 890, 902, 914, 926, 938, 262, -145, -145, -145, -145, 44, 44, 44, 44, -145, -145, -145, 962, -145, 224, 224, -23, -23, -23, -23, 224, 224, 224, 626, -145, 263, 264, 265, 266, -145, -29, -145, 267, -145, -145, 950, 268, -23, -145, -145, -145, -145, -145, -145, -145, 269, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, 294, -145, -145, -145, -145, -145, 272, -145 }; /* YYPGOTO[NTERM-NUM]. */ static const short yypgoto[] = { -145, -145, 338, -18, -5, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -144, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -145, -93, -8 }; /* 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. */ #define YYTABLE_NINF -1 static const unsigned short yytable[] = { 136, 115, 192, 453, 300, 301, 302, 164, 183, 205, 308, 167, 168, 175, 84, 200, 137, 176, 258, 87, 259, 260, 88, 89, 90, 91, 92, 85, 197, 198, 190, 319, 203, 348, 247, 117, 118, 119, 120, 121, 101, 102, 103, 104, 105, 106, 193, 310, 201, 177, 86, 180, 181, 191, 320, 204, 349, 95, 206, 309, 199, 138, 194, 195, 202, 139, 165, 311, 160, 93, 161, 169, 275, 276, 166, 170, 257, 94, 184, 178, 454, 281, 282, 283, 179, 185, 186, 187, 285, 188, 189, 208, 133, 207, 196, 117, 118, 119, 120, 121, 101, 102, 103, 104, 105, 106, 115, 251, 115, 115, 250, 298, 252, 253, 254, 0, 255, 256, 123, 272, 271, 273, 274, 288, 289, 290, 286, 275, 276, 124, 125, 126, 277, 326, 279, 280, 281, 282, 283, 261, 262, 327, 291, 285, 129, 130, 292, 293, 267, 268, 269, 294, 133, 317, 315, 421, 422, 423, 424, 295, 296, 297, 303, 323, 304, 305, 306, 328, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 123, 307, 312, 313, 318, 321, 324, 332, 325, 275, 276, 124, 125, 126, 277, 326, 279, 280, 281, 282, 283, 329, 330, 430, 331, 285, 129, 130, 275, 276, 342, 333, 334, 277, 278, 279, 280, 281, 282, 283, 335, 336, 343, 337, 285, 338, 339, 409, 340, 341, 344, 345, 346, 117, 118, 119, 120, 121, 101, 102, 103, 104, 105, 106, 347, 391, 392, 393, 394, 395, 350, 351, 352, 396, 426, 353, 354, 355, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 356, 410, 411, 412, 413, 414, 415, 416, 417, 418, 171, 419, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 133, 367, 368, 369, 370, 371, 172, 173, 117, 118, 119, 120, 121, 101, 102, 103, 104, 105, 106, 372, 373, 374, 375, 376, 377, 378, 123, 431, 379, 380, 433, 381, 382, 383, 384, 385, 386, 124, 125, 126, 387, 127, 388, 389, 397, 428, 425, 285, 429, 174, 432, 435, 129, 130, 117, 118, 119, 120, 121, 101, 102, 103, 104, 105, 106, 133, 436, 437, 441, 438, 439, 117, 118, 119, 120, 121, 101, 102, 103, 104, 105, 106, 440, 447, 449, 450, 451, 452, 455, 457, 458, 123, 459, 460, 249, 0, 0, 0, 162, 0, 0, 0, 124, 125, 126, 0, 127, 0, 0, 134, 0, 133, 0, 0, 135, 261, 262, 129, 130, 0, 263, 264, 265, 266, 267, 268, 269, 0, 122, 0, 0, 0, 0, 0, 398, 261, 262, 123, 0, 0, 263, 264, 265, 266, 267, 268, 269, 0, 124, 125, 126, 270, 127, 0, 123, 0, 0, 0, 0, 0, 163, 0, 0, 129, 130, 124, 125, 126, 0, 127, 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, 129, 130, 117, 118, 119, 120, 121, 101, 102, 103, 104, 105, 106, 0, 0, 0, 0, 0, 0, 117, 118, 119, 120, 121, 101, 102, 103, 104, 105, 106, 0, 0, 0, 0, 0, 0, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 133, 0, 117, 118, 119, 120, 121, 101, 102, 103, 104, 105, 106, 275, 276, 0, 0, 133, 277, 278, 279, 280, 281, 282, 283, 0, 123, 284, 0, 285, 0, 0, 0, 0, 0, 0, 0, 124, 125, 126, 0, 127, 0, 123, 0, 0, 0, 0, 0, 314, 0, 0, 129, 130, 124, 125, 126, 0, 127, 133, 107, 0, 0, 0, 0, 0, 322, 0, 0, 129, 130, 108, 109, 110, 0, 111, 0, 0, 0, 0, 0, 0, 0, 112, 0, 123, 113, 114, 0, 0, 0, 0, 0, 0, 0, 0, 124, 125, 126, 0, 127, 0, 0, 0, 0, 0, 0, 248, 0, 0, 0, 129, 130, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 1, 2, 3, 0, 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 275, 276, 0, 0, 0, 277, 278, 279, 280, 281, 282, 283, 15, 0, 287, 16, 285, 17, 0, 18, 0, 0, 19, 20, 21, 22, 0, 0, 23, 24, 25, 26, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 0, 0, 36, 37, 0, 38, 0, 39, 40, 0, 275, 276, 107, 41, 42, 277, 278, 279, 280, 281, 282, 283, 0, 108, 109, 110, 285, 111, 0, 0, 0, 0, 43, 0, 0, 0, 0, 0, 113, 114, 1, 2, 3, 0, 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 275, 276, 0, 0, 0, 277, 278, 279, 280, 281, 282, 283, 15, 0, 316, 16, 285, 17, 0, 18, 0, 0, 19, 20, 21, 22, 0, 0, 23, 24, 25, 26, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 0, 0, 36, 37, 0, 38, 0, 39, 40, 0, 0, 0, 0, 41, 42, 209, 210, 211, 0, 212, 0, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 0, 43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 223, 0, 0, 224, 0, 0, 0, 0, 0, 0, 225, 226, 227, 228, 0, 0, 0, 229, 230, 231, 0, 0, 232, 233, 234, 235, 236, 237, 238, 239, 240, 140, 0, 241, 242, 0, 243, 0, 0, 0, 0, 0, 0, 141, 244, 245, 0, 0, 0, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 246, 275, 276, 0, 0, 0, 277, 278, 279, 280, 281, 282, 283, 275, 276, 390, 0, 285, 277, 278, 279, 280, 281, 282, 283, 0, 0, 420, 0, 285, 0, 0, 0, 0, 0, 156, 0, 0, 0, 0, 0, 157, 158, 275, 276, 0, 159, 0, 277, 278, 279, 280, 281, 282, 283, 275, 276, 427, 0, 285, 277, 278, 279, 280, 281, 282, 283, 275, 276, 434, 0, 285, 277, 278, 279, 280, 281, 282, 283, 275, 276, 442, 0, 285, 277, 278, 279, 280, 281, 282, 283, 275, 276, 443, 0, 285, 277, 278, 279, 280, 281, 282, 283, 275, 276, 444, 0, 285, 277, 278, 279, 280, 281, 282, 283, 275, 276, 445, 0, 285, 277, 278, 279, 280, 281, 282, 283, 275, 276, 446, 0, 285, 277, 278, 279, 280, 281, 282, 283, 261, 262, 456, 0, 285, 263, 264, 265, 266, 267, 268, 269, 0, 0, 448 }; static const short yycheck[] = { 8, 6, 17, 32, 148, 149, 150, 15, 26, 60, 60, 54, 55, 21, 109, 60, 86, 61, 111, 109, 113, 114, 3, 4, 5, 6, 7, 86, 77, 78, 86, 86, 60, 86, 42, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 61, 89, 93, 93, 109, 15, 16, 109, 109, 83, 109, 109, 109, 109, 109, 86, 77, 78, 109, 86, 86, 109, 109, 50, 109, 109, 95, 96, 52, 109, 94, 58, 109, 86, 109, 104, 105, 106, 86, 86, 86, 60, 111, 60, 109, 86, 60, 109, 109, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 111, 110, 113, 114, 109, 86, 110, 110, 110, -1, 110, 110, 86, 127, 109, 129, 130, 109, 109, 109, 134, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 95, 96, 109, 109, 111, 112, 113, 109, 109, 104, 105, 106, 109, 60, 86, 162, 299, 300, 301, 302, 109, 109, 109, 109, 171, 109, 109, 109, 175, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 86, 109, 109, 109, 109, 109, 109, 86, 110, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 109, 109, 109, 109, 111, 112, 113, 95, 96, 86, 109, 109, 100, 101, 102, 103, 104, 105, 106, 109, 109, 86, 109, 111, 109, 109, 114, 109, 109, 86, 86, 109, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 109, 251, 252, 253, 254, 255, 60, 109, 109, 86, 86, 109, 109, 109, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 109, 275, 276, 277, 278, 279, 280, 281, 282, 283, 48, 285, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 60, 109, 109, 109, 109, 109, 66, 67, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 109, 109, 109, 109, 109, 109, 109, 86, 323, 109, 109, 326, 109, 109, 109, 109, 109, 109, 97, 98, 99, 109, 101, 109, 109, 109, 86, 109, 111, 109, 109, 86, 109, 112, 113, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 60, 109, 109, 86, 109, 109, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 109, 109, 109, 109, 109, 109, 109, 109, 109, 86, 86, 109, 44, -1, -1, -1, 47, -1, -1, -1, 97, 98, 99, -1, 101, -1, -1, 104, -1, 60, -1, -1, 109, 95, 96, 112, 113, -1, 100, 101, 102, 103, 104, 105, 106, -1, 60, -1, -1, -1, -1, -1, 114, 95, 96, 86, -1, -1, 100, 101, 102, 103, 104, 105, 106, -1, 97, 98, 99, 111, 101, -1, 86, -1, -1, -1, -1, -1, 109, -1, -1, 112, 113, 97, 98, 99, -1, 101, -1, -1, -1, -1, -1, -1, -1, 109, -1, -1, 112, 113, 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, -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, 95, 96, -1, -1, 60, 100, 101, 102, 103, 104, 105, 106, -1, 86, 109, -1, 111, -1, -1, -1, -1, -1, -1, -1, 97, 98, 99, -1, 101, -1, 86, -1, -1, -1, -1, -1, 109, -1, -1, 112, 113, 97, 98, 99, -1, 101, 60, 86, -1, -1, -1, -1, -1, 109, -1, -1, 112, 113, 97, 98, 99, -1, 101, -1, -1, -1, -1, -1, -1, -1, 109, -1, 86, 112, 113, -1, -1, -1, -1, -1, -1, -1, -1, 97, 98, 99, -1, 101, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, 112, 113, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 17, 18, 19, -1, 21, -1, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, -1, 95, 96, -1, -1, -1, 100, 101, 102, 103, 104, 105, 106, 46, -1, 109, 49, 111, 51, -1, 53, -1, -1, 56, 57, 58, 59, -1, -1, 62, 63, 64, 65, -1, -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, -1, -1, 79, 80, -1, 82, -1, 84, 85, -1, 95, 96, 86, 90, 91, 100, 101, 102, 103, 104, 105, 106, -1, 97, 98, 99, 111, 101, -1, -1, -1, -1, 109, -1, -1, -1, -1, -1, 112, 113, 17, 18, 19, -1, 21, -1, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, -1, 95, 96, -1, -1, -1, 100, 101, 102, 103, 104, 105, 106, 46, -1, 109, 49, 111, 51, -1, 53, -1, -1, 56, 57, 58, 59, -1, -1, 62, 63, 64, 65, -1, -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, -1, -1, 79, 80, -1, 82, -1, 84, 85, -1, -1, -1, -1, 90, 91, 17, 18, 19, -1, 21, -1, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, -1, 109, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 46, -1, -1, 49, -1, -1, -1, -1, -1, -1, 56, 57, 58, 59, -1, -1, -1, 63, 64, 65, -1, -1, 68, 69, 70, 71, 72, 73, 74, 75, 76, 14, -1, 79, 80, -1, 82, -1, -1, -1, -1, -1, -1, 26, 90, 91, -1, -1, -1, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 109, 95, 96, -1, -1, -1, 100, 101, 102, 103, 104, 105, 106, 95, 96, 109, -1, 111, 100, 101, 102, 103, 104, 105, 106, -1, -1, 109, -1, 111, -1, -1, -1, -1, -1, 81, -1, -1, -1, -1, -1, 87, 88, 95, 96, -1, 92, -1, 100, 101, 102, 103, 104, 105, 106, 95, 96, 109, -1, 111, 100, 101, 102, 103, 104, 105, 106, 95, 96, 109, -1, 111, 100, 101, 102, 103, 104, 105, 106, 95, 96, 109, -1, 111, 100, 101, 102, 103, 104, 105, 106, 95, 96, 109, -1, 111, 100, 101, 102, 103, 104, 105, 106, 95, 96, 109, -1, 111, 100, 101, 102, 103, 104, 105, 106, 95, 96, 109, -1, 111, 100, 101, 102, 103, 104, 105, 106, 95, 96, 109, -1, 111, 100, 101, 102, 103, 104, 105, 106, 95, 96, 109, -1, 111, 100, 101, 102, 103, 104, 105, 106, -1, -1, 109 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing symbol of state STATE-NUM. */ static const unsigned char yystos[] = { 0, 17, 18, 19, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 46, 49, 51, 53, 56, 57, 58, 59, 62, 63, 64, 65, 68, 69, 70, 71, 72, 73, 74, 75, 76, 79, 80, 82, 84, 85, 90, 91, 109, 116, 117, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 109, 86, 109, 109, 3, 4, 5, 6, 7, 50, 58, 109, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 86, 97, 98, 99, 101, 109, 112, 113, 119, 159, 3, 4, 5, 6, 7, 60, 86, 97, 98, 99, 101, 109, 112, 113, 119, 160, 60, 104, 109, 160, 86, 86, 86, 14, 26, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 81, 87, 88, 92, 109, 109, 47, 109, 160, 86, 52, 54, 55, 109, 109, 48, 66, 67, 109, 160, 61, 93, 86, 86, 15, 16, 118, 118, 109, 86, 86, 60, 60, 109, 86, 109, 17, 61, 77, 78, 109, 77, 78, 109, 60, 93, 109, 60, 83, 60, 109, 109, 86, 17, 18, 19, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 46, 49, 56, 57, 58, 59, 63, 64, 65, 68, 69, 70, 71, 72, 73, 74, 75, 76, 79, 80, 82, 90, 91, 109, 160, 0, 117, 109, 110, 110, 110, 110, 110, 110, 118, 159, 159, 159, 95, 96, 100, 101, 102, 103, 104, 105, 106, 111, 109, 160, 160, 160, 95, 96, 100, 101, 102, 103, 104, 105, 106, 109, 111, 160, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 86, 141, 141, 141, 141, 109, 109, 109, 109, 109, 60, 109, 89, 109, 109, 109, 109, 160, 109, 86, 109, 86, 109, 109, 109, 160, 109, 110, 101, 109, 160, 109, 109, 109, 86, 109, 109, 109, 109, 109, 109, 109, 109, 109, 86, 86, 86, 86, 109, 109, 86, 109, 60, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 160, 160, 160, 160, 160, 86, 109, 114, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 114, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 109, 141, 141, 141, 141, 109, 86, 109, 86, 109, 109, 160, 86, 160, 109, 109, 109, 109, 109, 109, 109, 86, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, 32, 109, 109, 109, 109, 109, 86, 109 }; #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) # define YYSIZE_T __SIZE_TYPE__ #endif #if ! defined (YYSIZE_T) && defined (size_t) # define YYSIZE_T size_t #endif #if ! defined (YYSIZE_T) # if defined (__STDC__) || defined (__cplusplus) # include /* INFRINGES ON USER NAME SPACE */ # define YYSIZE_T size_t # endif #endif #if ! defined (YYSIZE_T) # define YYSIZE_T unsigned int #endif #define yyerrok (yyerrstatus = 0) #define yyclearin (yychar = YYEMPTY) #define YYEMPTY (-2) #define YYEOF 0 #define YYACCEPT goto yyacceptlab #define YYABORT goto yyabortlab #define YYERROR goto yyerrlab1 /* 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); \ YYPOPSTACK; \ goto yybackup; \ } \ else \ { \ yyerror ("syntax error: cannot back up");\ YYERROR; \ } \ while (0) #define YYTERROR 1 #define YYERRCODE 256 /* YYLLOC_DEFAULT -- Compute the default location (before the actions are run). */ #ifndef YYLLOC_DEFAULT # define YYLLOC_DEFAULT(Current, Rhs, N) \ Current.first_line = Rhs[1].first_line; \ Current.first_column = Rhs[1].first_column; \ Current.last_line = Rhs[N].last_line; \ Current.last_column = Rhs[N].last_column; #endif /* YYLEX -- calling `yylex' with the right arguments. */ #ifdef YYLEX_PARAM # define YYLEX yylex (YYLEX_PARAM) #else # define YYLEX yylex () #endif /* Enable debugging if requested. */ #if YYDEBUG # ifndef YYFPRINTF # include /* INFRINGES ON USER NAME SPACE */ # define YYFPRINTF fprintf # endif # define YYDPRINTF(Args) \ do { \ if (yydebug) \ YYFPRINTF Args; \ } while (0) # define YYDSYMPRINT(Args) \ do { \ if (yydebug) \ yysymprint Args; \ } while (0) # define YYDSYMPRINTF(Title, Token, Value, Location) \ do { \ if (yydebug) \ { \ YYFPRINTF (stderr, "%s ", Title); \ yysymprint (stderr, \ Token, Value); \ YYFPRINTF (stderr, "\n"); \ } \ } while (0) /*------------------------------------------------------------------. | yy_stack_print -- Print the state stack from its BOTTOM up to its | | TOP (cinluded). | `------------------------------------------------------------------*/ #if defined (__STDC__) || defined (__cplusplus) static void yy_stack_print (short *bottom, short *top) #else static void yy_stack_print (bottom, top) short *bottom; short *top; #endif { YYFPRINTF (stderr, "Stack now"); for (/* Nothing. */; bottom <= top; ++bottom) YYFPRINTF (stderr, " %d", *bottom); YYFPRINTF (stderr, "\n"); } # define YY_STACK_PRINT(Bottom, Top) \ do { \ if (yydebug) \ yy_stack_print ((Bottom), (Top)); \ } while (0) /*------------------------------------------------. | Report that the YYRULE is going to be reduced. | `------------------------------------------------*/ #if defined (__STDC__) || defined (__cplusplus) static void yy_reduce_print (int yyrule) #else static void yy_reduce_print (yyrule) int yyrule; #endif { int yyi; unsigned int yylno = yyrline[yyrule]; YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", yyrule - 1, yylno); /* Print the symbols being reduced, and their result. */ for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++) YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]); YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]); } # define YY_REDUCE_PRINT(Rule) \ do { \ if (yydebug) \ yy_reduce_print (Rule); \ } while (0) /* Nonzero means print parse trace. It is left uninitialized so that multiple parsers can coexist. */ int yydebug; #else /* !YYDEBUG */ # define YYDPRINTF(Args) # define YYDSYMPRINT(Args) # define YYDSYMPRINTF(Title, Token, Value, Location) # 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 #endif /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only if the built-in stack extension method is used). Do not make this value too large; the results are undefined if SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) evaluated with infinite-precision integer arithmetic. */ #if YYMAXDEPTH == 0 # undef YYMAXDEPTH #endif #ifndef YYMAXDEPTH # define YYMAXDEPTH 10000 #endif #if YYERROR_VERBOSE # ifndef yystrlen # if defined (__GLIBC__) && defined (_STRING_H) # define yystrlen strlen # else /* Return the length of YYSTR. */ static YYSIZE_T # if defined (__STDC__) || defined (__cplusplus) yystrlen (const char *yystr) # else yystrlen (yystr) const char *yystr; # endif { register const char *yys = yystr; while (*yys++ != '\0') continue; return yys - yystr - 1; } # endif # endif # ifndef yystpcpy # if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) # define yystpcpy stpcpy # else /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in YYDEST. */ static char * # if defined (__STDC__) || defined (__cplusplus) yystpcpy (char *yydest, const char *yysrc) # else yystpcpy (yydest, yysrc) char *yydest; const char *yysrc; # endif { register char *yyd = yydest; register const char *yys = yysrc; while ((*yyd++ = *yys++) != '\0') continue; return yyd - 1; } # endif # endif #endif /* !YYERROR_VERBOSE */ #if YYDEBUG /*--------------------------------. | Print this symbol on YYOUTPUT. | `--------------------------------*/ #if defined (__STDC__) || defined (__cplusplus) static void yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep) #else static void yysymprint (yyoutput, yytype, yyvaluep) FILE *yyoutput; int yytype; YYSTYPE *yyvaluep; #endif { /* Pacify ``unused variable'' warnings. */ (void) yyvaluep; if (yytype < YYNTOKENS) { YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); # ifdef YYPRINT YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); # endif } else YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); switch (yytype) { default: break; } YYFPRINTF (yyoutput, ")"); } #endif /* ! YYDEBUG */ /*-----------------------------------------------. | Release the memory associated to this symbol. | `-----------------------------------------------*/ #if defined (__STDC__) || defined (__cplusplus) static void yydestruct (int yytype, YYSTYPE *yyvaluep) #else static void yydestruct (yytype, yyvaluep) int yytype; YYSTYPE *yyvaluep; #endif { /* Pacify ``unused variable'' warnings. */ (void) yyvaluep; switch (yytype) { default: break; } } /* Prevent warnings from -Wmissing-prototypes. */ #ifdef YYPARSE_PARAM # if defined (__STDC__) || defined (__cplusplus) int yyparse (void *YYPARSE_PARAM); # else int yyparse (); # endif #else /* ! YYPARSE_PARAM */ #if defined (__STDC__) || defined (__cplusplus) int yyparse (void); #else int yyparse (); #endif #endif /* ! YYPARSE_PARAM */ /* The lookahead symbol. */ int yychar; /* The semantic value of the lookahead symbol. */ YYSTYPE yylval; /* Number of syntax errors so far. */ int yynerrs; /*----------. | yyparse. | `----------*/ #ifdef YYPARSE_PARAM # if defined (__STDC__) || defined (__cplusplus) int yyparse (void *YYPARSE_PARAM) # else int yyparse (YYPARSE_PARAM) void *YYPARSE_PARAM; # endif #else /* ! YYPARSE_PARAM */ #if defined (__STDC__) || defined (__cplusplus) int yyparse (void) #else int yyparse () #endif #endif { register int yystate; register int yyn; int yyresult; /* Number of tokens to shift before error messages enabled. */ int yyerrstatus; /* Lookahead token as an internal (translated) token number. */ int yytoken = 0; /* 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. */ short yyssa[YYINITDEPTH]; short *yyss = yyssa; register short *yyssp; /* The semantic value stack. */ YYSTYPE yyvsa[YYINITDEPTH]; YYSTYPE *yyvs = yyvsa; register YYSTYPE *yyvsp; #define YYPOPSTACK (yyvsp--, yyssp--) YYSIZE_T yystacksize = YYINITDEPTH; /* The variables used to return semantic value and location from the action routines. */ YYSTYPE yyval; /* When reducing, the number of symbols on the RHS of the reduced rule. */ int yylen; 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 have just been pushed. so pushing a state here evens the stacks. */ 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 { /* Give user a chance to reallocate the stack. Use copies of these so that the &'s don't force the real ones into memory. */ YYSTYPE *yyvs1 = yyvs; short *yyss1 = yyss; /* 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. */ yyoverflow ("parser stack overflow", &yyss1, yysize * sizeof (*yyssp), &yyvs1, yysize * sizeof (*yyvsp), &yystacksize); yyss = yyss1; yyvs = yyvs1; } #else /* no yyoverflow */ # ifndef YYSTACK_RELOCATE goto yyoverflowlab; # else /* Extend the stack our own way. */ if (YYMAXDEPTH <= yystacksize) goto yyoverflowlab; yystacksize *= 2; if (YYMAXDEPTH < yystacksize) yystacksize = YYMAXDEPTH; { short *yyss1 = yyss; union yyalloc *yyptr = (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); if (! yyptr) goto yyoverflowlab; 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; } YYDPRINTF ((stderr, "Entering state %d\n", yystate)); goto yybackup; /*-----------. | yybackup. | `-----------*/ yybackup: /* Do appropriate processing given the current state. */ /* Read a lookahead token if we need one and don't already have one. */ /* yyresume: */ /* First try to decide what to do without reference to lookahead token. */ yyn = yypact[yystate]; if (yyn == YYPACT_NINF) goto yydefault; /* Not known => get a lookahead token if don't already have one. */ /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ if (yychar == YYEMPTY) { 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); YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc); } /* 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; } if (yyn == YYFINAL) YYACCEPT; /* Shift the lookahead token. */ YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken])); /* Discard the token being shifted unless it is eof. */ if (yychar != YYEOF) yychar = YYEMPTY; *++yyvsp = yylval; /* Count tokens shifted since error; after three, turn off error status. */ if (yyerrstatus) yyerrstatus--; yystate = yyn; 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. | `-----------------------------*/ yyreduce: /* 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) { case 43: #line 178 "parser.y" { } break; case 45: #line 185 "parser.y" { yyval.bval=yyvsp[0].bval; } break; case 51: #line 195 "parser.y" { yyval.uval=yyvsp[0].uval; } break; case 52: #line 200 "parser.y" { bx_dbg_timebp_command(0, yyvsp[-1].uval); free(yyvsp[-2].sval); } break; case 53: #line 205 "parser.y" { bx_dbg_timebp_command(1, yyvsp[-1].uval); free(yyvsp[-2].sval); } break; case 54: #line 213 "parser.y" { bx_dbg_record_command(yyvsp[-1].sval); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 55: #line 221 "parser.y" { bx_dbg_playback_command(yyvsp[-1].sval); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 56: #line 229 "parser.y" { bx_dbg_modebp_command(); free(yyvsp[-1].sval); } break; case 57: #line 237 "parser.y" { bx_dbg_show_command(yyvsp[-1].sval); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 58: #line 242 "parser.y" { bx_dbg_show_param_command(yyvsp[-1].sval); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 59: #line 247 "parser.y" { bx_dbg_show_command(0); free(yyvsp[-1].sval); } break; case 60: #line 255 "parser.y" { bx_dbg_ptime_command(); free(yyvsp[-1].sval); } break; case 61: #line 263 "parser.y" { bx_dbg_trace_command(yyvsp[-1].bval); free(yyvsp[-2].sval); } break; case 62: #line 271 "parser.y" { bx_dbg_trace_reg_command(yyvsp[-1].bval); free(yyvsp[-2].sval); } break; case 63: #line 279 "parser.y" { bx_dbg_print_stack_command(16); free(yyvsp[-1].sval); } break; case 64: #line 284 "parser.y" { bx_dbg_print_stack_command(yyvsp[-1].uval); free(yyvsp[-2].sval); } break; case 65: #line 292 "parser.y" { watchpoint_continue = 0; dbg_printf("Will stop on watch points\n"); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 66: #line 298 "parser.y" { watchpoint_continue = 1; dbg_printf("Will not stop on watch points (they will still be logged)\n"); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 67: #line 304 "parser.y" { bx_dbg_watch(-1, 0); free(yyvsp[-1].sval); } break; case 68: #line 309 "parser.y" { bx_dbg_unwatch(-1, 0); free(yyvsp[-1].sval); } break; case 69: #line 314 "parser.y" { bx_dbg_watch(1, yyvsp[-1].uval); free(yyvsp[-3].sval); free(yyvsp[-2].sval); } break; case 70: #line 319 "parser.y" { bx_dbg_unwatch(1, yyvsp[-1].uval); free(yyvsp[-3].sval); free(yyvsp[-2].sval); } break; case 71: #line 324 "parser.y" { bx_dbg_watch(0, yyvsp[-1].uval); free(yyvsp[-3].sval); free(yyvsp[-2].sval); } break; case 72: #line 329 "parser.y" { bx_dbg_unwatch(0, yyvsp[-1].uval); free(yyvsp[-3].sval); free(yyvsp[-2].sval); } break; case 73: #line 337 "parser.y" { bx_dbg_symbol_command(yyvsp[-1].sval, 0, 0); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 74: #line 342 "parser.y" { bx_dbg_symbol_command(yyvsp[-2].sval, 0, yyvsp[-1].uval); free(yyvsp[-3].sval); free(yyvsp[-2].sval); } break; case 75: #line 347 "parser.y" { bx_dbg_symbol_command(yyvsp[-2].sval, 1, yyvsp[-1].uval); free(yyvsp[-4].sval); free(yyvsp[-3].sval); free(yyvsp[-2].sval); } break; case 76: #line 355 "parser.y" { bx_dbg_where_command(); free(yyvsp[-1].sval); } break; case 77: #line 363 "parser.y" { bx_dbg_print_string_command(yyvsp[-1].uval); free(yyvsp[-2].sval); } break; case 78: #line 371 "parser.y" { bx_dbg_continue_command(); free(yyvsp[-1].sval); } break; case 79: #line 379 "parser.y" { bx_dbg_stepN_command(1); free(yyvsp[-1].sval); } break; case 80: #line 384 "parser.y" { bx_dbg_stepN_command(yyvsp[-1].uval); free(yyvsp[-2].sval); } break; case 81: #line 392 "parser.y" { bx_dbg_step_over_command(); free(yyvsp[-1].sval); } break; case 82: #line 400 "parser.y" { bx_dbg_set_auto_disassemble(yyvsp[-1].bval); free(yyvsp[-3].sval); free(yyvsp[-2].sval); } break; case 83: #line 405 "parser.y" { bx_dbg_set_symbol_command(yyvsp[-3].sval, yyvsp[-1].uval); free(yyvsp[-4].sval); free(yyvsp[-3].sval); } break; case 84: #line 410 "parser.y" { bx_dbg_set_reg8l_value(yyvsp[-3].uval, yyvsp[-1].uval); } break; case 85: #line 414 "parser.y" { bx_dbg_set_reg8h_value(yyvsp[-3].uval, yyvsp[-1].uval); } break; case 86: #line 418 "parser.y" { bx_dbg_set_reg16_value(yyvsp[-3].uval, yyvsp[-1].uval); } break; case 87: #line 422 "parser.y" { bx_dbg_set_reg32_value(yyvsp[-3].uval, yyvsp[-1].uval); } break; case 88: #line 426 "parser.y" { bx_dbg_set_reg64_value(yyvsp[-3].uval, yyvsp[-1].uval); } break; case 89: #line 433 "parser.y" { bx_dbg_vbreakpoint_command(bkAtIP, 0, 0); free(yyvsp[-1].sval); } break; case 90: #line 438 "parser.y" { bx_dbg_vbreakpoint_command(bkRegular, yyvsp[-3].uval, yyvsp[-1].uval); free(yyvsp[-4].sval); } break; case 91: #line 443 "parser.y" { bx_dbg_lbreakpoint_command(bkAtIP, 0); free(yyvsp[-1].sval); } break; case 92: #line 448 "parser.y" { bx_dbg_lbreakpoint_command(bkRegular, yyvsp[-1].uval); free(yyvsp[-2].sval); } break; case 93: #line 453 "parser.y" { bx_dbg_lbreakpoint_symbol_command(yyvsp[-1].sval); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 94: #line 458 "parser.y" { bx_dbg_pbreakpoint_command(bkAtIP, 0); free(yyvsp[-1].sval); } break; case 95: #line 463 "parser.y" { bx_dbg_pbreakpoint_command(bkRegular, yyvsp[-1].uval); free(yyvsp[-2].sval); } break; case 96: #line 468 "parser.y" { bx_dbg_pbreakpoint_command(bkRegular, yyvsp[-1].uval); free(yyvsp[-3].sval); } break; case 97: #line 476 "parser.y" { bx_dbg_info_bpoints_command(); free(yyvsp[-1].sval); } break; case 98: #line 484 "parser.y" { bx_dbg_info_symbols_command(0); free(yyvsp[-1].sval); } break; case 99: #line 489 "parser.y" { bx_dbg_info_symbols_command(yyvsp[-1].sval); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 100: #line 497 "parser.y" { bx_dbg_info_bpoints_command(); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 101: #line 502 "parser.y" { bx_dbg_dump_cpu_command(); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 102: #line 507 "parser.y" { bx_dbg_info_registers_command(BX_INFO_CPU_REGS); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 103: #line 512 "parser.y" { bx_dbg_info_registers_command(BX_INFO_FPU_REGS); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 104: #line 517 "parser.y" { bx_dbg_info_registers_command(BX_INFO_SSE_REGS); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 105: #line 522 "parser.y" { bx_dbg_info_registers_command(BX_INFO_CPU_REGS | BX_INFO_FPU_REGS | BX_INFO_SSE_REGS); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 106: #line 527 "parser.y" { bx_dbg_info_dirty_command(); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 107: #line 532 "parser.y" { bx_dbg_info_idt_command(yyvsp[-2].uval, yyvsp[-1].uval); free(yyvsp[-4].sval); free(yyvsp[-3].sval); } break; case 108: #line 537 "parser.y" { bx_dbg_info_ivt_command(yyvsp[-2].uval, yyvsp[-1].uval); free(yyvsp[-4].sval); free(yyvsp[-3].sval); } break; case 109: #line 542 "parser.y" { bx_dbg_info_gdt_command(yyvsp[-2].uval, yyvsp[-1].uval); free(yyvsp[-4].sval); free(yyvsp[-3].sval); } break; case 110: #line 547 "parser.y" { bx_dbg_info_ldt_command(yyvsp[-2].uval, yyvsp[-1].uval); free(yyvsp[-4].sval); free(yyvsp[-3].sval); } break; case 111: #line 552 "parser.y" { bx_dbg_dump_table(); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 112: #line 557 "parser.y" { bx_dbg_info_tss_command(); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 113: #line 562 "parser.y" { bx_dbg_info_flags(); free(yyvsp[-2].sval); } break; case 114: #line 567 "parser.y" { bx_dbg_info_linux_command(); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 115: #line 572 "parser.y" { bx_dbg_info_symbols_command(0); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 116: #line 577 "parser.y" { bx_dbg_info_symbols_command(yyvsp[-1].sval); free(yyvsp[-3].sval); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 117: #line 582 "parser.y" { bx_dbg_info_control_regs_command(); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 118: #line 587 "parser.y" { bx_dbg_info_ne2k(-1, -1); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 119: #line 592 "parser.y" { free(yyvsp[-4].sval); free(yyvsp[-3].sval); free(yyvsp[-2].sval); bx_dbg_info_ne2k(yyvsp[-1].uval, -1); } break; case 120: #line 597 "parser.y" { free(yyvsp[-6].sval); free(yyvsp[-5].sval); free(yyvsp[-4].sval); free(yyvsp[-2].sval); bx_dbg_info_ne2k(yyvsp[-3].uval, yyvsp[-1].uval); } break; case 121: #line 602 "parser.y" { bx_dbg_info_pic(); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 122: #line 607 "parser.y" { bx_dbg_info_vga(); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 123: #line 614 "parser.y" { yyval.uval = EMPTY_ARG; } break; case 125: #line 619 "parser.y" { bx_dbg_info_registers_command(BX_INFO_CPU_REGS); free(yyvsp[-1].sval); } break; case 126: #line 627 "parser.y" { bx_dbg_dump_cpu_command(); free(yyvsp[-1].sval); } break; case 127: #line 635 "parser.y" { bx_dbg_del_breakpoint_command(yyvsp[-1].uval); free(yyvsp[-2].sval); } break; case 128: #line 643 "parser.y" { bx_dbg_en_dis_breakpoint_command(yyvsp[-1].uval, 1); free(yyvsp[-2].sval); } break; case 129: #line 650 "parser.y" { bx_dbg_en_dis_breakpoint_command(yyvsp[-1].uval, 0); free(yyvsp[-2].sval); } break; case 130: #line 658 "parser.y" { bx_dbg_quit_command(); free(yyvsp[-1].sval); } break; case 131: #line 666 "parser.y" { bx_dbg_examine_command(yyvsp[-3].sval, yyvsp[-2].sval,1, yyvsp[-1].uval, 1); free(yyvsp[-3].sval); free(yyvsp[-2].sval); } break; case 132: #line 671 "parser.y" { bx_dbg_examine_command(yyvsp[-2].sval, yyvsp[-1].sval,1, 0, 0); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 133: #line 676 "parser.y" { bx_dbg_examine_command(yyvsp[-2].sval, NULL,0, yyvsp[-1].uval, 1); free(yyvsp[-2].sval); } break; case 134: #line 681 "parser.y" { bx_dbg_examine_command(yyvsp[-1].sval, NULL,0, 0, 0); free(yyvsp[-1].sval); } break; case 135: #line 689 "parser.y" { bx_dbg_setpmem_command(yyvsp[-3].uval, yyvsp[-2].uval, yyvsp[-1].uval); free(yyvsp[-4].sval); } break; case 136: #line 697 "parser.y" { bx_dbg_query_command(yyvsp[-1].sval); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 137: #line 705 "parser.y" { bx_dbg_take_command(yyvsp[-1].sval, 1); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 138: #line 710 "parser.y" { bx_dbg_take_command(yyvsp[-2].sval, yyvsp[-1].uval); free(yyvsp[-3].sval); free(yyvsp[-2].sval); } break; case 139: #line 715 "parser.y" { bx_dbg_take_command(yyvsp[-1].sval, 1); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 140: #line 723 "parser.y" { bx_dbg_set_cpu_command(); free(yyvsp[-1].sval); } break; case 141: #line 731 "parser.y" { bx_dbg_disassemble_current(NULL); free(yyvsp[-1].sval); } break; case 142: #line 736 "parser.y" { bx_dbg_disassemble_command(NULL, yyvsp[-1].uval, yyvsp[-1].uval); free(yyvsp[-2].sval); } break; case 143: #line 741 "parser.y" { bx_dbg_disassemble_command(NULL, yyvsp[-2].uval, yyvsp[-1].uval); free(yyvsp[-3].sval); } break; case 144: #line 746 "parser.y" { bx_dbg_disassemble_current(yyvsp[-1].sval); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 145: #line 751 "parser.y" { bx_dbg_disassemble_command(yyvsp[-2].sval, yyvsp[-1].uval, yyvsp[-1].uval); free(yyvsp[-3].sval); free(yyvsp[-2].sval); } break; case 146: #line 756 "parser.y" { bx_dbg_disassemble_command(yyvsp[-3].sval, yyvsp[-2].uval, yyvsp[-1].uval); free(yyvsp[-4].sval); free(yyvsp[-3].sval); } break; case 147: #line 761 "parser.y" { bx_dbg_disassemble_switch_mode(); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 148: #line 766 "parser.y" { bx_dbg_set_disassemble_size(yyvsp[-1].uval); free(yyvsp[-4].sval); free(yyvsp[-3].sval); } break; case 149: #line 774 "parser.y" { bx_dbg_instrument_command(yyvsp[-1].sval); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 150: #line 779 "parser.y" { bx_dbg_instrument_command(yyvsp[-1].sval); free(yyvsp[-2].sval); free(yyvsp[-1].sval); } break; case 151: #line 787 "parser.y" { bx_dbg_doit_command(yyvsp[-1].uval); free(yyvsp[-2].sval); } break; case 152: #line 795 "parser.y" { bx_dbg_crc_command(yyvsp[-2].uval, yyvsp[-1].uval); free(yyvsp[-3].sval); } break; case 153: #line 803 "parser.y" { dbg_printf("q|quit|exit - quit debugger and emulator execution\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 154: #line 808 "parser.y" { dbg_printf("c|cont|continue - continue executing\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 155: #line 813 "parser.y" { dbg_printf("s|step|stepi [count] - execute #count instructions (default is one instruction)\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 156: #line 818 "parser.y" { dbg_printf("n|next|p - execute instruction stepping over subroutines\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 157: #line 823 "parser.y" { dbg_printf("vb|vbreak - set a virtual address instruction breakpoint\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 158: #line 828 "parser.y" { dbg_printf("lb|lbreak - set a linear address instruction breakpoint\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 159: #line 833 "parser.y" { dbg_printf("p|pb|break|pbreak - set a physical address instruction breakpoint\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 160: #line 838 "parser.y" { dbg_printf("d|del|delete - delete a breakpoint\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 161: #line 843 "parser.y" { dbg_printf("bpe - enable a breakpoint\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 162: #line 848 "parser.y" { dbg_printf("bpd - disable a breakpoint\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 163: #line 853 "parser.y" { dbg_printf("blist - list all breakpoints (same as 'info break')\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 164: #line 858 "parser.y" { dbg_printf("modebp - toggles mode switch breakpoint\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 165: #line 863 "parser.y" { dbg_printf("crc - show CRC32 for physical memory range addr1..addr2\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 166: #line 868 "parser.y" { dbg_printf("trace on - print disassembly for every executed instruction\n"); dbg_printf("trace off - disable instruction tracing\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 167: #line 874 "parser.y" { dbg_printf("trace-reg on - print all registers before every executed instruction\n"); dbg_printf("trace-reg off - disable registers state tracing\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 168: #line 880 "parser.y" { dbg_printf("dump_cpu - dump complete cpu state\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 169: #line 885 "parser.y" { dbg_printf("set_cpu - set complete cpu state\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 170: #line 890 "parser.y" { dbg_printf("ptime - print current time (number of ticks since start of simulation)\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 171: #line 895 "parser.y" { dbg_printf("sb - insert a time breakpoint delta instructions into the future\n"); free(yyvsp[-2].sval);free(yyvsp[-1].sval); } break; case 172: #line 900 "parser.y" { dbg_printf("sba