diff --git a/bochs/bx_debug/dbg_main.cc b/bochs/bx_debug/dbg_main.cc index acec95777..26132ee5d 100644 --- a/bochs/bx_debug/dbg_main.cc +++ b/bochs/bx_debug/dbg_main.cc @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: dbg_main.cc,v 1.221 2009-12-04 16:53:11 sshwarts Exp $ +// $Id: dbg_main.cc,v 1.222 2009-12-27 16:38:09 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001-2009 The Bochs Project @@ -3561,67 +3561,121 @@ bx_address bx_dbg_get_instruction_pointer(void) return BX_CPU(dbg_cpu)->get_instruction_pointer(); } +bx_bool bx_dbg_read_pmode_descriptor(Bit16u sel, bx_descriptor_t *descriptor) +{ + bx_selector_t selector; + Bit32u dword1, dword2; + bx_address desc_base; + + /* if selector is NULL, error */ + if ((sel & 0xfffc) == 0) { + dbg_printf("bx_dbg_read_pmode_descriptor: Dereferencing a NULL selector!\n"); + return 0; + } + + /* parse fields in selector */ + parse_selector(sel, &selector); + + if (selector.ti) { + // LDT + if (((Bit32u)selector.index*8 + 7) > BX_CPU(dbg_cpu)->ldtr.cache.u.segment.limit_scaled) { + dbg_printf("bx_dbg_read_pmode_descriptor: selector (0x%04x) > LDT size limit\n", selector.index*8); + return 0; + } + desc_base = BX_CPU(dbg_cpu)->ldtr.cache.u.segment.base; + } + else { + // GDT + if (((Bit32u)selector.index*8 + 7) > BX_CPU(dbg_cpu)->gdtr.limit) { + dbg_printf("bx_dbg_read_pmode_descriptor: selector (0x%04x) > GDT size limit\n", selector.index*8); + return 0; + } + desc_base = BX_CPU(dbg_cpu)->gdtr.base; + } + + if (! bx_dbg_read_linear(dbg_cpu, desc_base + selector.index * 8, 4, (Bit8u*) &dword1)) { + dbg_printf("bx_dbg_read_pmode_descriptor: cannot read selector 0x%04x (index=0x%04x)\n", sel, selector.index); + return 0; + } + if (! bx_dbg_read_linear(dbg_cpu, desc_base + selector.index * 8 + 4, 4, (Bit8u*) &dword2)) { + dbg_printf("bx_dbg_read_pmode_descriptor: cannot read selector 0x%04x (index=0x%04x)\n", sel, selector.index); + return 0; + } + + memset (descriptor, 0, sizeof (descriptor)); + BX_CPU(dbg_cpu)->parse_descriptor(dword1, dword2, descriptor); + + if (!descriptor->segment) { + dbg_printf("bx_dbg_read_pmode_descriptor: selector 0x%04x points to a system descriptor and is not supported!\n", sel); + return 0; + } + + /* #NP(selector) if descriptor is not present */ + if (descriptor->p==0) { + dbg_printf("bx_dbg_read_pmode_descriptor: descriptor 0x%04x not present!\n", sel); + return 0; + } + + return 1; +} + +void bx_dbg_load_segreg(unsigned seg_no, unsigned value) +{ + bx_segment_reg_t sreg; + + if (seg_no > 6) { + dbg_printf("bx_dbg_load_segreg: unknown segment register !"); + return; + } + + if (value > 0xffff) { + dbg_printf("bx_dbg_load_segreg: segment selector out of limits !"); + return; + } + + unsigned cpu_mode = BX_CPU(dbg_cpu)->get_cpu_mode(); + if (cpu_mode == BX_MODE_LONG_64) { + dbg_printf("bx_dbg_load_segreg: not supported in long64 mode !"); + return; + } + + if (! BX_CPU(dbg_cpu)->protected_mode()) { + parse_selector(value, &sreg.selector); + + sreg.cache.valid = SegValidCache; + sreg.cache.p = 1; + sreg.cache.dpl = (cpu_mode == BX_MODE_IA32_V8086); + sreg.cache.segment = 1; + sreg.cache.type = BX_DATA_READ_WRITE_ACCESSED; + + sreg.cache.u.segment.base = sreg.selector.value << 4; + sreg.cache.u.segment.limit_scaled = 0xffff; + sreg.cache.u.segment.g = 0; + sreg.cache.u.segment.d_b = 0; + sreg.cache.u.segment.avl = 0; + sreg.selector.rpl = (cpu_mode == BX_MODE_IA32_V8086); + + BX_CPU(dbg_cpu)->dbg_set_sreg(seg_no, &sreg); + } + else { + parse_selector(value, &sreg.selector); + if (bx_dbg_read_pmode_descriptor(value, &sreg.cache)) { + BX_CPU(dbg_cpu)->dbg_set_sreg(seg_no, &sreg); + } + } +} + bx_address bx_dbg_get_laddr(Bit16u sel, bx_address ofs) { bx_address laddr; if (BX_CPU(dbg_cpu)->protected_mode()) { bx_descriptor_t descriptor; - bx_selector_t selector; - Bit32u dword1, dword2; - - /* if selector is NULL, error */ - if ((sel & 0xfffc) == 0) { - dbg_printf("ERROR: Dereferencing a NULL selector!\n"); - return 0; - } - - /* parse fields in selector */ - BX_CPU(dbg_cpu)->parse_selector(sel, &selector); - - bx_address desc_base; - if (selector.ti) { - // LDT - if (((Bit32u)selector.index*8 + 7) > BX_CPU(dbg_cpu)->ldtr.cache.u.segment.limit_scaled) { - dbg_printf("ERROR: selector (%04x) > LDT size limit\n", selector.index*8); - return 0; - } - desc_base = BX_CPU(dbg_cpu)->ldtr.cache.u.segment.base; - } - else { - // GDT - if (((Bit32u)selector.index*8 + 7) > BX_CPU(dbg_cpu)->gdtr.limit) { - dbg_printf("ERROR: selector (%04x) > GDT size limit\n", selector.index*8); - return 0; - } - desc_base = BX_CPU(dbg_cpu)->gdtr.base; - } - - if (! bx_dbg_read_linear(dbg_cpu, desc_base + selector.index * 8, 4, (Bit8u*) &dword1)) { - dbg_printf("ERROR: cannot read selector (0x%04x)\n", selector.index); - return 0; - } - if (! bx_dbg_read_linear(dbg_cpu, desc_base + selector.index * 8 + 4, 4, (Bit8u*) &dword2)) { - dbg_printf("ERROR: cannot read selector (0x%04x)\n", selector.index); - return 0; - } - - memset (&descriptor, 0, sizeof (descriptor)); - BX_CPU(dbg_cpu)->parse_descriptor(dword1, dword2, &descriptor); - - if (!descriptor.segment) { - dbg_printf("ERROR: selector %04x points to a system descriptor and is not supported!\n", sel); - return 0; - } - - /* #NP(selector) if descriptor is not present */ - if (descriptor.p==0) { - dbg_printf("ERROR: descriptor %04x not present!\n", sel); - return 0; - } - Bit32u lowaddr, highaddr; + if (! bx_dbg_read_pmode_descriptor(sel, &descriptor)) + return 0; + // expand-down if (IS_DATA_SEGMENT(descriptor.type) && IS_DATA_SEGMENT_EXPAND_DOWN(descriptor.type)) { lowaddr = descriptor.u.segment.limit_scaled; diff --git a/bochs/bx_debug/debug.h b/bochs/bx_debug/debug.h index 34e0c5c85..3c2d51bb7 100644 --- a/bochs/bx_debug/debug.h +++ b/bochs/bx_debug/debug.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: debug.h,v 1.62 2009-12-04 16:53:11 sshwarts Exp $ +// $Id: debug.h,v 1.63 2009-12-27 16:38:09 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001-2009 The Bochs Project @@ -214,6 +214,7 @@ void bx_dbg_set_reg8h_value(unsigned reg, Bit8u value); void bx_dbg_set_reg16_value(unsigned reg, Bit16u value); void bx_dbg_set_reg32_value(unsigned reg, Bit32u value); void bx_dbg_set_reg64_value(unsigned reg, Bit64u value); +void bx_dbg_load_segreg(unsigned reg, unsigned value); bx_address bx_dbg_get_laddr(Bit16u sel, bx_address ofs); void bx_dbg_step_over_command(void); void bx_dbg_trace_command(bx_bool enable); diff --git a/bochs/bx_debug/parser.c b/bochs/bx_debug/parser.c index ddc1c0a44..82c9a1e53 100644 --- a/bochs/bx_debug/parser.c +++ b/bochs/bx_debug/parser.c @@ -550,18 +550,18 @@ union yyalloc #endif /* YYFINAL -- State number of the termination state. */ -#define YYFINAL 272 +#define YYFINAL 274 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 1358 +#define YYLAST 1412 /* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 119 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 54 /* YYNRULES -- Number of rules. */ -#define YYNRULES 260 +#define YYNRULES 262 /* YYNRULES -- Number of states. */ -#define YYNSTATES 501 +#define YYNSTATES 506 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 @@ -627,23 +627,23 @@ static const yytype_uint16 yyprhs[] = 155, 158, 162, 166, 170, 173, 177, 181, 185, 188, 193, 198, 203, 209, 215, 221, 224, 228, 232, 237, 242, 248, 251, 255, 258, 261, 265, 270, 275, 278, - 283, 289, 295, 301, 307, 313, 319, 322, 328, 331, - 335, 339, 342, 346, 351, 354, 357, 361, 365, 369, - 375, 381, 387, 393, 397, 401, 405, 409, 413, 418, - 422, 428, 436, 440, 444, 448, 449, 451, 454, 457, - 460, 463, 466, 469, 472, 476, 480, 484, 487, 492, - 496, 500, 503, 508, 514, 518, 522, 527, 531, 534, - 538, 543, 547, 552, 558, 562, 568, 572, 576, 580, - 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, 729, 733, 737, 741, - 745, 749, 753, 757, 760, 764, 766, 768, 770, 772, - 774, 776, 778, 780, 782, 784, 788, 792, 796, 800, - 804, 808, 812, 816, 820, 823, 826, 830, 832, 834, - 836, 838, 840, 842, 844, 846, 848, 850, 852, 856, - 860, 864, 868, 872, 876, 880, 884, 888, 892, 895, - 898 + 283, 289, 295, 301, 307, 313, 319, 325, 328, 334, + 337, 341, 345, 348, 352, 357, 360, 363, 367, 371, + 375, 381, 387, 393, 399, 403, 407, 411, 415, 419, + 424, 428, 434, 442, 446, 450, 454, 455, 457, 460, + 463, 466, 469, 472, 475, 478, 482, 486, 490, 493, + 498, 502, 506, 509, 514, 520, 524, 528, 533, 537, + 540, 544, 549, 553, 558, 564, 568, 574, 578, 582, + 586, 591, 595, 599, 603, 607, 611, 615, 619, 623, + 627, 631, 635, 639, 643, 647, 651, 655, 659, 663, + 667, 671, 675, 679, 683, 687, 691, 695, 699, 703, + 707, 711, 715, 719, 723, 727, 731, 735, 739, 743, + 747, 751, 755, 759, 763, 766, 770, 772, 774, 776, + 778, 780, 782, 784, 786, 788, 790, 792, 796, 800, + 804, 808, 812, 816, 820, 824, 828, 831, 834, 838, + 840, 842, 844, 846, 848, 850, 852, 854, 856, 858, + 860, 864, 868, 872, 876, 880, 884, 888, 892, 896, + 900, 903, 906 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ @@ -680,66 +680,66 @@ static const yytype_int16 yyrhs[] = 122, 113, -1, 21, 54, 114, 89, 113, -1, 21, 4, 114, 172, 113, -1, 21, 3, 114, 172, 113, -1, 21, 5, 114, 172, 113, -1, 21, 6, 114, - 172, 113, -1, 21, 7, 114, 172, 113, -1, 24, - 113, -1, 24, 171, 115, 171, 113, -1, 25, 113, - -1, 25, 172, 113, -1, 25, 62, 113, -1, 26, - 113, -1, 26, 172, 113, -1, 26, 108, 172, 113, - -1, 23, 113, -1, 85, 113, -1, 85, 62, 113, - -1, 30, 26, 113, -1, 30, 34, 113, -1, 30, - 38, 148, 148, 113, -1, 30, 39, 148, 148, 113, - -1, 30, 40, 148, 148, 113, -1, 30, 41, 148, - 148, 113, -1, 30, 43, 113, -1, 30, 42, 113, - -1, 30, 14, 113, -1, 30, 45, 113, -1, 30, - 84, 113, -1, 30, 84, 62, 113, -1, 30, 90, - 113, -1, 30, 90, 92, 89, 113, -1, 30, 90, - 92, 89, 123, 89, 113, -1, 30, 91, 113, -1, - 30, 95, 113, -1, 30, 96, 113, -1, -1, 89, - -1, 123, 113, -1, 35, 113, -1, 37, 113, -1, - 36, 113, -1, 48, 113, -1, 47, 113, -1, 46, - 113, -1, 27, 89, 113, -1, 28, 89, 113, -1, - 29, 89, 113, -1, 31, 113, -1, 49, 50, 172, - 113, -1, 49, 50, 113, -1, 49, 172, 113, -1, - 49, 113, -1, 52, 62, 62, 113, -1, 53, 89, - 89, 89, 113, -1, 55, 56, 113, -1, 57, 58, - 113, -1, 57, 58, 89, 113, -1, 57, 59, 113, - -1, 60, 113, -1, 60, 172, 113, -1, 60, 172, - 172, 113, -1, 60, 51, 113, -1, 60, 51, 172, - 113, -1, 60, 51, 172, 172, 113, -1, 60, 69, - 113, -1, 60, 70, 114, 89, 113, -1, 61, 63, - 113, -1, 61, 97, 113, -1, 64, 89, 113, -1, - 65, 89, 89, 113, -1, 93, 31, 113, -1, 93, - 17, 113, -1, 93, 18, 113, -1, 93, 19, 113, - -1, 93, 24, 113, -1, 93, 25, 113, -1, 93, - 26, 113, -1, 93, 27, 113, -1, 93, 28, 113, - -1, 93, 29, 113, -1, 93, 23, 113, -1, 93, - 76, 113, -1, 93, 65, 113, -1, 93, 66, 113, - -1, 93, 67, 113, -1, 93, 68, 113, -1, 93, - 52, 113, -1, 93, 71, 113, -1, 93, 73, 113, - -1, 93, 72, 113, -1, 93, 77, 113, -1, 93, - 74, 113, -1, 93, 75, 113, -1, 93, 83, 113, - -1, 93, 85, 113, -1, 93, 123, 113, -1, 93, - 35, 113, -1, 93, 37, 113, -1, 93, 36, 113, - -1, 93, 48, 113, -1, 93, 47, 113, -1, 93, - 53, 113, -1, 93, 60, 113, -1, 93, 78, 113, - -1, 93, 79, 113, -1, 93, 49, 113, -1, 93, - 61, 113, -1, 93, 21, 113, -1, 93, 92, 113, - -1, 93, 30, 113, -1, 93, 82, 113, -1, 93, - 94, 113, -1, 93, 93, 113, -1, 93, 113, -1, - 94, 172, 113, -1, 89, -1, 4, -1, 3, -1, - 5, -1, 6, -1, 7, -1, 124, -1, 101, -1, - 102, -1, 103, -1, 171, 104, 171, -1, 171, 105, - 171, -1, 171, 108, 171, -1, 171, 109, 171, -1, - 171, 99, 171, -1, 171, 100, 171, -1, 171, 106, - 171, -1, 171, 107, 171, -1, 171, 110, 171, -1, - 116, 171, -1, 105, 171, -1, 117, 171, 118, -1, + 172, 113, -1, 21, 7, 114, 172, 113, -1, 21, + 124, 114, 172, 113, -1, 24, 113, -1, 24, 171, + 115, 171, 113, -1, 25, 113, -1, 25, 172, 113, + -1, 25, 62, 113, -1, 26, 113, -1, 26, 172, + 113, -1, 26, 108, 172, 113, -1, 23, 113, -1, + 85, 113, -1, 85, 62, 113, -1, 30, 26, 113, + -1, 30, 34, 113, -1, 30, 38, 148, 148, 113, + -1, 30, 39, 148, 148, 113, -1, 30, 40, 148, + 148, 113, -1, 30, 41, 148, 148, 113, -1, 30, + 43, 113, -1, 30, 42, 113, -1, 30, 14, 113, + -1, 30, 45, 113, -1, 30, 84, 113, -1, 30, + 84, 62, 113, -1, 30, 90, 113, -1, 30, 90, + 92, 89, 113, -1, 30, 90, 92, 89, 123, 89, + 113, -1, 30, 91, 113, -1, 30, 95, 113, -1, + 30, 96, 113, -1, -1, 89, -1, 123, 113, -1, + 35, 113, -1, 37, 113, -1, 36, 113, -1, 48, + 113, -1, 47, 113, -1, 46, 113, -1, 27, 89, + 113, -1, 28, 89, 113, -1, 29, 89, 113, -1, + 31, 113, -1, 49, 50, 172, 113, -1, 49, 50, + 113, -1, 49, 172, 113, -1, 49, 113, -1, 52, + 62, 62, 113, -1, 53, 89, 89, 89, 113, -1, + 55, 56, 113, -1, 57, 58, 113, -1, 57, 58, + 89, 113, -1, 57, 59, 113, -1, 60, 113, -1, + 60, 172, 113, -1, 60, 172, 172, 113, -1, 60, + 51, 113, -1, 60, 51, 172, 113, -1, 60, 51, + 172, 172, 113, -1, 60, 69, 113, -1, 60, 70, + 114, 89, 113, -1, 61, 63, 113, -1, 61, 97, + 113, -1, 64, 89, 113, -1, 65, 89, 89, 113, + -1, 93, 31, 113, -1, 93, 17, 113, -1, 93, + 18, 113, -1, 93, 19, 113, -1, 93, 24, 113, + -1, 93, 25, 113, -1, 93, 26, 113, -1, 93, + 27, 113, -1, 93, 28, 113, -1, 93, 29, 113, + -1, 93, 23, 113, -1, 93, 76, 113, -1, 93, + 65, 113, -1, 93, 66, 113, -1, 93, 67, 113, + -1, 93, 68, 113, -1, 93, 52, 113, -1, 93, + 71, 113, -1, 93, 73, 113, -1, 93, 72, 113, + -1, 93, 77, 113, -1, 93, 74, 113, -1, 93, + 75, 113, -1, 93, 83, 113, -1, 93, 85, 113, + -1, 93, 123, 113, -1, 93, 35, 113, -1, 93, + 37, 113, -1, 93, 36, 113, -1, 93, 48, 113, + -1, 93, 47, 113, -1, 93, 53, 113, -1, 93, + 60, 113, -1, 93, 78, 113, -1, 93, 79, 113, + -1, 93, 49, 113, -1, 93, 61, 113, -1, 93, + 21, 113, -1, 93, 92, 113, -1, 93, 30, 113, + -1, 93, 82, 113, -1, 93, 94, 113, -1, 93, + 93, 113, -1, 93, 113, -1, 94, 172, 113, -1, 89, -1, 62, -1, 4, -1, 3, -1, 5, -1, 6, -1, 7, -1, 124, -1, 101, -1, 102, -1, - 103, -1, 172, 115, 172, -1, 172, 104, 172, -1, - 172, 105, 172, -1, 172, 108, 172, -1, 172, 109, - 172, -1, 172, 99, 172, -1, 172, 100, 172, -1, - 172, 106, 172, -1, 172, 107, 172, -1, 172, 110, - 172, -1, 116, 172, -1, 105, 172, -1, 117, 172, - 118, -1 + 103, -1, 171, 104, 171, -1, 171, 105, 171, -1, + 171, 108, 171, -1, 171, 109, 171, -1, 171, 99, + 171, -1, 171, 100, 171, -1, 171, 106, 171, -1, + 171, 107, 171, -1, 171, 110, 171, -1, 116, 171, + -1, 105, 171, -1, 117, 171, 118, -1, 89, -1, + 62, -1, 4, -1, 3, -1, 5, -1, 6, -1, + 7, -1, 124, -1, 101, -1, 102, -1, 103, -1, + 172, 115, 172, -1, 172, 104, 172, -1, 172, 105, + 172, -1, 172, 108, 172, -1, 172, 109, 172, -1, + 172, 99, 172, -1, 172, 100, 172, -1, 172, 106, + 172, -1, 172, 107, 172, -1, 172, 110, 172, -1, + 116, 172, -1, 105, 172, -1, 117, 172, 118, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ @@ -755,23 +755,23 @@ static const yytype_uint16 yyrline[] = 280, 288, 296, 304, 312, 317, 325, 330, 335, 340, 345, 350, 355, 360, 365, 370, 375, 383, 388, 393, 398, 406, 414, 422, 430, 435, 440, 445, 453, 461, - 466, 471, 475, 479, 483, 487, 494, 499, 504, 509, - 514, 519, 524, 529, 537, 545, 550, 558, 563, 568, - 573, 578, 583, 588, 593, 598, 603, 608, 613, 618, - 623, 628, 633, 638, 643, 651, 652, 655, 663, 671, - 679, 687, 695, 703, 711, 719, 726, 734, 742, 747, - 752, 757, 765, 773, 781, 789, 794, 799, 807, 812, - 817, 822, 827, 832, 837, 842, 850, 855, 863, 871, - 879, 884, 889, 896, 901, 906, 911, 916, 921, 926, - 931, 936, 941, 946, 952, 958, 964, 972, 977, 982, - 987, 992, 997, 1002, 1007, 1012, 1017, 1022, 1027, 1032, - 1037, 1042, 1047, 1056, 1067, 1073, 1086, 1091, 1101, 1106, - 1122, 1134, 1144, 1149, 1157, 1175, 1176, 1177, 1178, 1179, - 1180, 1181, 1182, 1183, 1184, 1185, 1186, 1187, 1188, 1189, - 1190, 1191, 1192, 1193, 1194, 1195, 1196, 1201, 1202, 1203, - 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, 1213, - 1214, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222, 1223, - 1224 + 466, 471, 475, 479, 483, 487, 491, 498, 503, 508, + 513, 518, 523, 528, 533, 541, 549, 554, 562, 567, + 572, 577, 582, 587, 592, 597, 602, 607, 612, 617, + 622, 627, 632, 637, 642, 647, 655, 656, 659, 667, + 675, 683, 691, 699, 707, 715, 723, 730, 738, 746, + 751, 756, 761, 769, 777, 785, 793, 798, 803, 811, + 816, 821, 826, 831, 836, 841, 846, 854, 859, 867, + 875, 883, 888, 893, 900, 905, 910, 915, 920, 925, + 930, 935, 940, 945, 950, 956, 962, 968, 976, 981, + 986, 991, 996, 1001, 1006, 1011, 1016, 1021, 1026, 1031, + 1036, 1041, 1046, 1051, 1060, 1071, 1077, 1090, 1095, 1105, + 1110, 1126, 1138, 1148, 1153, 1161, 1179, 1180, 1181, 1182, + 1183, 1184, 1185, 1186, 1187, 1188, 1189, 1190, 1191, 1192, + 1193, 1194, 1195, 1196, 1197, 1198, 1199, 1200, 1201, 1206, + 1207, 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1215, 1216, + 1217, 1218, 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, + 1227, 1228, 1229 }; #endif @@ -865,23 +865,23 @@ static const yytype_uint8 yyr1[] = 131, 132, 133, 134, 135, 135, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 137, 137, 137, 137, 138, 139, 140, 141, 141, 141, 141, 142, 143, - 143, 143, 143, 143, 143, 143, 144, 144, 144, 144, - 144, 144, 144, 144, 145, 146, 146, 147, 147, 147, + 143, 143, 143, 143, 143, 143, 143, 144, 144, 144, + 144, 144, 144, 144, 144, 145, 146, 146, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, - 147, 147, 147, 147, 147, 148, 148, 149, 150, 151, - 152, 153, 154, 155, 156, 157, 158, 159, 160, 160, - 160, 160, 161, 162, 163, 164, 164, 164, 165, 165, - 165, 165, 165, 165, 165, 165, 166, 166, 167, 168, + 147, 147, 147, 147, 147, 147, 148, 148, 149, 150, + 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, + 160, 160, 160, 161, 162, 163, 164, 164, 164, 165, + 165, 165, 165, 165, 165, 165, 165, 166, 166, 167, + 168, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, - 169, 169, 169, 169, 170, 171, 171, 171, 171, 171, + 169, 169, 169, 169, 169, 170, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, - 171, 171, 171, 171, 171, 171, 171, 172, 172, 172, + 171, 171, 171, 171, 171, 171, 171, 171, 171, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, - 172 + 172, 172, 172 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ @@ -897,23 +897,23 @@ static const yytype_uint8 yyr2[] = 2, 3, 3, 3, 2, 3, 3, 3, 2, 4, 4, 4, 5, 5, 5, 2, 3, 3, 4, 4, 5, 2, 3, 2, 2, 3, 4, 4, 2, 4, - 5, 5, 5, 5, 5, 5, 2, 5, 2, 3, - 3, 2, 3, 4, 2, 2, 3, 3, 3, 5, - 5, 5, 5, 3, 3, 3, 3, 3, 4, 3, - 5, 7, 3, 3, 3, 0, 1, 2, 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, + 5, 5, 5, 5, 5, 5, 5, 2, 5, 2, + 3, 3, 2, 3, 4, 2, 2, 3, 3, 3, + 5, 5, 5, 5, 3, 3, 3, 3, 3, 4, + 3, 5, 7, 3, 3, 3, 0, 1, 2, 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, 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, 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, - 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 + 2, 2, 3 }; /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state @@ -932,398 +932,413 @@ static const yytype_uint16 yydefact[] = 12, 13, 14, 16, 15, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 47, 48, 93, 0, 0, 94, 98, 0, 0, 0, 0, 0, - 0, 0, 114, 217, 216, 218, 219, 220, 55, 56, - 57, 58, 59, 60, 215, 222, 223, 224, 0, 106, - 0, 0, 221, 0, 240, 239, 241, 242, 243, 238, - 237, 245, 246, 247, 0, 108, 0, 0, 244, 0, - 238, 0, 111, 0, 0, 0, 0, 0, 0, 0, - 135, 135, 135, 135, 0, 0, 0, 0, 0, 0, - 0, 0, 147, 138, 140, 139, 143, 142, 141, 0, - 151, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 158, 0, 0, 0, 0, 0, 51, 52, 0, 0, - 0, 70, 0, 0, 0, 0, 65, 0, 74, 0, - 0, 0, 0, 0, 78, 85, 0, 0, 0, 68, - 0, 0, 0, 115, 91, 0, 0, 0, 0, 0, + 55, 56, 57, 58, 59, 60, 0, 0, 0, 115, + 219, 218, 220, 221, 222, 217, 216, 224, 225, 226, + 0, 107, 0, 0, 223, 0, 242, 241, 243, 244, + 245, 240, 239, 247, 248, 249, 0, 109, 0, 0, + 246, 0, 240, 0, 112, 0, 0, 0, 0, 0, + 0, 0, 136, 136, 136, 136, 0, 0, 0, 0, + 0, 0, 0, 0, 148, 139, 141, 140, 144, 143, + 142, 0, 152, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 159, 0, 0, 0, 0, 0, 51, 52, + 0, 0, 0, 70, 0, 0, 0, 0, 65, 0, + 74, 0, 0, 0, 0, 0, 78, 85, 0, 0, + 0, 68, 0, 0, 0, 116, 91, 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, 213, - 0, 0, 1, 2, 137, 0, 0, 95, 0, 0, - 0, 0, 0, 0, 0, 235, 234, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 110, 259, - 258, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 109, 0, 0, 112, 144, 145, 146, 125, 117, - 118, 136, 135, 135, 135, 135, 124, 123, 126, 0, - 127, 0, 129, 132, 133, 134, 149, 0, 150, 0, - 0, 154, 0, 155, 157, 161, 0, 164, 0, 0, - 159, 0, 166, 167, 168, 0, 71, 72, 73, 62, - 61, 63, 64, 75, 77, 0, 76, 0, 0, 86, - 67, 66, 0, 87, 0, 116, 92, 69, 171, 172, - 173, 207, 180, 174, 175, 176, 177, 178, 179, 209, - 170, 196, 198, 197, 200, 199, 205, 186, 201, 202, - 206, 182, 183, 184, 185, 187, 189, 188, 191, 192, - 181, 190, 203, 204, 210, 193, 194, 208, 212, 211, - 195, 214, 96, 97, 0, 0, 0, 0, 0, 0, - 99, 236, 229, 230, 225, 226, 231, 232, 227, 228, - 233, 0, 260, 253, 254, 249, 250, 255, 256, 251, - 252, 257, 248, 113, 0, 0, 0, 0, 128, 0, - 148, 152, 0, 156, 162, 0, 0, 250, 160, 169, - 79, 0, 80, 0, 81, 0, 88, 0, 89, 102, - 101, 103, 104, 105, 100, 107, 119, 120, 121, 122, - 130, 0, 153, 163, 165, 82, 83, 84, 90, 0, - 131 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 214, 0, 0, 1, 2, 138, 0, 0, 95, + 0, 0, 0, 0, 0, 0, 0, 0, 237, 236, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 111, 261, 260, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 110, 0, 0, 113, 145, 146, + 147, 126, 118, 119, 137, 136, 136, 136, 136, 125, + 124, 127, 0, 128, 0, 130, 133, 134, 135, 150, + 0, 151, 0, 0, 155, 0, 156, 158, 162, 0, + 165, 0, 0, 160, 0, 167, 168, 169, 0, 71, + 72, 73, 62, 61, 63, 64, 75, 77, 0, 76, + 0, 0, 86, 67, 66, 0, 87, 0, 117, 92, + 69, 172, 173, 174, 208, 181, 175, 176, 177, 178, + 179, 180, 210, 171, 197, 199, 198, 201, 200, 206, + 187, 202, 203, 207, 183, 184, 185, 186, 188, 190, + 189, 192, 193, 182, 191, 204, 205, 211, 194, 195, + 209, 213, 212, 196, 215, 96, 97, 0, 0, 0, + 0, 0, 0, 99, 0, 238, 231, 232, 227, 228, + 233, 234, 229, 230, 235, 0, 262, 255, 256, 251, + 252, 257, 258, 253, 254, 259, 250, 114, 0, 0, + 0, 0, 129, 0, 149, 153, 0, 157, 163, 0, + 0, 252, 161, 170, 79, 0, 80, 0, 81, 0, + 88, 0, 89, 102, 101, 103, 104, 105, 100, 106, + 108, 120, 121, 122, 123, 131, 0, 154, 164, 166, + 82, 83, 84, 90, 0, 132 }; /* YYDEFGOTO[NTERM-NUM]. */ static const yytype_int16 yydefgoto[] = { - -1, 52, 53, 198, 54, 148, 55, 56, 57, 58, + -1, 52, 53, 200, 54, 150, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, 73, 74, 75, 76, 77, 322, + 69, 70, 71, 72, 73, 74, 75, 76, 77, 325, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, - 98, 99, 133, 149 + 98, 99, 135, 151 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ -#define YYPACT_NINF -159 +#define YYPACT_NINF -148 static const yytype_int16 yypact[] = { - 998, -92, -28, -89, 41, -87, 254, 636, 504, -53, - -18, -16, 816, -79, -159, -159, -74, -39, -38, -37, - -34, -33, 521, 20, -6, 28, -40, 487, -55, 2, - 8, 51, 51, 51, -27, 13, 14, 42, 44, 12, - -76, -3, 653, -32, -22, -51, 15, 18, 786, 1077, - 786, -159, 919, -159, 16, -159, -159, -159, -159, -159, - -159, -159, -159, -159, -159, -159, -159, -159, -159, -159, - -159, -159, -159, -159, -159, -159, -159, -159, -159, -159, - -159, -159, -159, -159, -159, -159, -159, -159, -159, -159, - -159, -159, -159, -159, -159, -159, -159, -159, -159, -159, - -159, 45, -21, -159, -159, -5, 22, 27, 29, 43, - 57, 51, -159, -159, -159, -159, -159, -159, -159, -159, - -159, -159, -159, -159, -159, -159, -159, -159, 815, -159, - 815, 815, -159, 1231, -159, -159, -159, -159, -159, 17, - -159, -159, -159, -159, 786, -159, 786, 786, -159, 437, - -159, 786, -159, 454, 47, 68, 70, 82, 83, 85, - 53, 53, 53, 53, 86, 87, 88, -50, -75, 89, - 91, 106, -159, -159, -159, -159, -159, -159, -159, 670, - -159, 586, 96, 131, 109, -20, 115, 699, 116, 124, - -159, 46, 117, 126, 128, 151, -159, -159, 130, 133, - 134, -159, 135, 136, 137, 138, -159, 139, -159, 140, - 786, 141, 786, 786, -159, -159, 614, 142, 143, -159, - -19, 182, 155, -159, -159, 156, 763, 157, 163, 164, - 165, 166, 167, 168, 169, 170, 181, 191, 193, 194, - 195, 196, 197, 198, 199, 200, 201, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, - 227, 228, 249, 250, 251, 252, 253, 255, 256, -159, - 259, 1068, -159, -159, -159, 260, 275, -159, 786, 786, - 786, 786, 786, 300, 277, -159, -159, 287, 815, 815, - 815, 815, 815, 815, 815, 815, 815, 815, -159, 283, - 283, 127, 786, 786, 786, 786, 786, 786, 786, 786, - 786, -159, 786, 1087, -159, -159, -159, -159, -159, -159, - -159, -159, 53, 53, 53, 53, -159, -159, -159, 286, - -159, 311, -159, -159, -159, -159, -159, 1099, -159, 289, - 315, -159, 293, -159, -159, -159, 108, -159, 318, 786, - -159, 1111, -159, -159, -159, 295, -159, -159, -159, -159, - -159, -159, -159, -159, -159, 312, -159, 341, 372, -159, - -159, -159, 296, -159, -17, -159, -159, -159, -159, -159, - -159, -159, -159, -159, -159, -159, -159, -159, -159, -159, - -159, -159, -159, -159, -159, -159, -159, -159, -159, -159, - -159, -159, -159, -159, -159, -159, -159, -159, -159, -159, - -159, -159, -159, -159, -159, -159, -159, -159, -159, -159, - -159, -159, -159, -159, 1123, 1135, 1147, 1159, 1171, 310, - -159, -159, -159, -159, -77, -77, -77, -77, -159, -159, - -159, 69, -159, 283, 283, -10, -10, -10, -10, 283, - 283, 283, 1243, -159, 313, 319, 320, 322, -159, -26, - -159, -159, 323, -159, -159, 1183, 324, 23, -159, -159, - -159, 1195, -159, 1207, -159, 1219, -159, 325, -159, -159, - -159, -159, -159, -159, -159, -159, -159, -159, -159, -159, - -159, 335, -159, -159, -159, -159, -159, -159, -159, 326, - -159 + 1065, -94, -31, -90, 379, -88, 620, 662, 505, -57, + -56, -55, 1220, -84, -148, -148, -74, -51, -46, -44, + -40, -37, 547, 15, -11, 28, -28, 42, -60, -4, + 1, 12, 12, 12, -21, 5, 6, 37, 38, -8, + -75, -6, 680, -41, -22, -52, -5, 13, 812, 1144, + 812, -148, 986, -148, -3, -148, -148, -148, -148, -148, + -148, -148, -148, -148, -148, -148, -148, -148, -148, -148, + -148, -148, -148, -148, -148, -148, -148, -148, -148, -148, + -148, -148, -148, -148, -148, -148, -148, -148, -148, -148, + -148, -148, -148, -148, -148, -148, -148, -148, -148, -148, + -148, 17, -53, -148, -148, -13, -1, 11, 14, 16, + -148, -148, -148, -148, -148, -148, 19, 12, 20, -148, + -148, -148, -148, -148, -148, -148, -148, -148, -148, -148, + 882, -148, 882, 882, -148, 432, -148, -148, -148, -148, + -148, 22, -148, -148, -148, -148, 812, -148, 812, 812, + -148, 179, -148, 812, -148, 294, 23, 24, 25, 27, + 36, 39, 40, 40, 40, 40, 41, 43, 44, -50, + -27, 47, 48, 49, -148, -148, -148, -148, -148, -148, + -148, 749, -148, 311, 64, 86, 63, -47, 72, 795, + 74, 81, -148, 111, 83, 85, 88, 108, -148, -148, + 90, 91, 93, -148, 96, 109, 110, 112, -148, 116, + -148, 117, 812, 118, 812, 812, -148, -148, 420, 119, + 120, -148, -45, 65, 134, -148, -148, 135, 595, 136, + 144, 145, 147, 148, 149, 150, 152, 153, 154, 155, + 156, 157, 158, 159, 168, 169, 177, 178, 182, 183, + 184, 194, 206, 208, 209, 210, 211, 212, 213, 214, + 215, 216, 230, 247, 249, 252, 253, 254, 255, 256, + 257, -148, 282, 727, -148, -148, -148, 283, 284, -148, + 812, 812, 812, 812, 812, 170, 292, 812, -148, -148, + 146, 882, 882, 882, 882, 882, 882, 882, 882, 882, + 882, -148, 62, 62, 84, 812, 812, 812, 812, 812, + 812, 812, 812, 812, -148, 812, 826, -148, -148, -148, + -148, -148, -148, -148, -148, 40, 40, 40, 40, -148, + -148, -148, 293, -148, 323, -148, -148, -148, -148, -148, + 843, -148, 300, 333, -148, 310, -148, -148, -148, 231, + -148, 336, 812, -148, 855, -148, -148, -148, 316, -148, + -148, -148, -148, -148, -148, -148, -148, -148, 346, -148, + 368, 483, -148, -148, -148, 318, -148, -30, -148, -148, + -148, -148, -148, -148, -148, -148, -148, -148, -148, -148, + -148, -148, -148, -148, -148, -148, -148, -148, -148, -148, + -148, -148, -148, -148, -148, -148, -148, -148, -148, -148, + -148, -148, -148, -148, -148, -148, -148, -148, -148, -148, + -148, -148, -148, -148, -148, -148, -148, 1167, 1179, 1213, + 1225, 1237, 319, -148, 1249, -148, -148, -148, -29, -29, + -29, -29, -148, -148, -148, 607, -148, 62, 62, -12, + -12, -12, -12, 62, 62, 62, 1191, -148, 321, 327, + 329, 331, -148, -24, -148, -148, 345, -148, -148, 1261, + 347, 328, -148, -148, -148, 1273, -148, 1285, -148, 1297, + -148, 351, -148, -148, -148, -148, -148, -148, -148, -148, + -148, -148, -148, -148, -148, -148, 352, -148, -148, -148, + -148, -148, -148, -148, 353, -148 }; /* YYPGOTO[NTERM-NUM]. */ static const yytype_int16 yypgoto[] = { - -159, -159, 379, -23, -49, -4, -159, -159, -159, -159, - -159, -159, -159, -159, -159, -159, -159, -159, -159, -159, - -159, -159, -159, -159, -159, -159, -159, -159, -159, -158, - -159, -159, -159, -159, -159, -159, -159, -159, -159, -159, - -159, -159, -159, -159, -159, -159, -159, -159, -159, -159, - -159, -159, -103, -7 + -148, -148, 57, -26, -49, 18, -148, -148, -148, -148, + -148, -148, -148, -148, -148, -148, -148, -148, -148, -148, + -148, -148, -148, -148, -148, -148, -148, -148, -148, -147, + -148, -148, -148, -148, -148, -148, -148, -148, -148, -148, + -148, -148, -148, -148, -148, -148, -148, -148, -148, -148, + -148, -148, -128, -7 }; /* 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 -260 +#define YYTABLE_NINF -262 static const yytype_int16 yytable[] = { - 270, 153, 132, 323, 324, 325, 14, 15, 192, 199, - 200, 222, 329, 207, 209, 181, 101, 331, 185, 186, - 191, 100, 288, 289, 104, 285, 112, 286, 287, 210, - 217, 294, 295, 296, 172, 216, 154, 208, 332, 173, - 220, 226, 193, 271, 105, 106, 107, 108, 109, 134, - 135, 136, 137, 138, 118, 119, 120, 121, 122, 123, - 211, 102, 223, 330, 221, 218, 196, 197, 276, 342, - 372, 155, 477, 156, 174, 175, 176, 212, 213, 177, - 178, 219, 182, 183, 184, 103, 201, 490, 284, 302, - 303, 194, 277, 343, 373, 110, 478, 195, 308, 309, - 310, 111, 202, 203, 204, 312, 205, 225, 150, 278, - 214, 134, 135, 136, 137, 138, 118, 119, 120, 121, - 122, 123, -259, -259, 132, 206, 132, 132, 224, 274, - 298, -259, -259, -259, 275, 140, 279, 299, 312, 300, - 301, 280, 321, 281, 313, 302, 303, 141, 142, 143, - 304, 349, 306, 307, 308, 309, 310, 282, 339, 350, - 315, 312, 146, 147, 454, 455, 456, 457, 288, 289, - 150, 283, 337, 290, 291, 292, 293, 294, 295, 296, - 346, 316, 485, 317, 351, 432, 433, 434, 435, 436, - 437, 438, 439, 440, 441, 318, 319, 140, 320, 326, - 327, 328, 333, 365, 334, 367, 368, 302, 303, 141, - 142, 143, 304, 349, 306, 307, 308, 309, 310, 335, - 340, 464, 341, 312, 146, 147, 302, 303, 344, 347, - 352, 304, 305, 306, 307, 308, 309, 310, 348, 353, - 355, 354, 312, 356, 374, 442, 357, 358, 359, 360, - 361, 362, 363, 364, 366, 370, 371, 113, 114, 115, - 116, 117, 118, 119, 120, 121, 122, 123, 375, 376, - 378, 424, 425, 426, 427, 428, 379, 380, 381, 382, - 383, 384, 385, 386, 132, 132, 132, 132, 132, 132, - 132, 132, 132, 132, 387, 443, 444, 445, 446, 447, - 448, 449, 450, 451, 388, 452, 389, 390, 391, 392, - 393, 394, 395, 396, 397, 134, 135, 136, 137, 138, - 118, 119, 120, 121, 122, 123, 398, 399, 400, 401, - 402, 403, 404, 405, 406, 407, 408, 409, 410, 465, - 411, 412, 467, 124, 134, 135, 136, 137, 138, 118, - 119, 120, 121, 122, 123, 125, 126, 127, 471, 128, - 473, 475, 413, 414, 415, 416, 417, 129, 418, 419, - 130, 131, 420, 422, 150, 134, 135, 136, 137, 138, - 118, 119, 120, 121, 122, 123, 288, 289, 423, 429, - 430, 290, 291, 292, 293, 294, 295, 296, 312, 458, - 459, 140, 461, 150, 462, 431, 463, 466, 469, 476, - 491, 302, 303, 141, 142, 143, 304, 349, 306, 307, - 308, 309, 310, 484, 499, 470, 486, 312, 146, 147, - 140, 273, 487, 488, 150, 489, 492, 494, 498, 500, - 302, 303, 141, 142, 143, 304, 349, 306, 307, 308, - 309, 310, 0, 0, 472, 0, 312, 146, 147, 0, - 0, 140, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 302, 303, 141, 142, 143, 304, 349, 306, 307, - 308, 309, 310, 0, 0, 474, 0, 312, 146, 147, - 134, 135, 136, 137, 138, 118, 119, 120, 121, 122, - 123, 0, 0, 0, 0, 0, 0, 134, 135, 136, - 137, 138, 118, 119, 120, 121, 122, 123, 0, 0, - 0, 0, 0, 0, 134, 135, 136, 137, 138, 118, - 119, 120, 121, 122, 123, 0, 302, 303, 187, 0, - 0, 304, 305, 306, 307, 308, 309, 310, 0, 150, - 311, 0, 312, 302, 303, 0, 188, 189, 304, 305, - 306, 307, 308, 309, 310, 0, 150, 314, 0, 312, - 0, 179, 0, 0, 0, 0, 140, 0, 0, 0, - 0, 0, 0, 150, 0, 0, 0, 0, 141, 142, - 143, 0, 144, 140, 0, 0, 0, 0, 0, 0, - 190, 0, 0, 146, 147, 141, 142, 143, 0, 144, - 140, 0, 151, 0, 0, 0, 0, 152, 0, 0, - 146, 147, 141, 142, 143, 0, 144, 0, 0, 0, - 0, 0, 0, 0, 180, 0, 0, 146, 147, 134, - 135, 136, 137, 138, 118, 119, 120, 121, 122, 123, - 0, 0, 0, 0, 0, 0, 134, 135, 136, 137, - 138, 118, 119, 120, 121, 122, 123, 0, 0, 0, - 0, 0, 0, 134, 135, 136, 137, 138, 118, 119, - 120, 121, 122, 123, 0, 302, 303, 0, 0, 0, - 304, 305, 306, 307, 308, 309, 310, 0, 139, 338, - 0, 312, 134, 135, 136, 137, 138, 118, 119, 120, - 121, 122, 123, 302, 303, 150, 0, 0, 304, 305, - 306, 307, 308, 309, 310, 140, 0, 369, 0, 312, - 0, 0, 150, 0, 0, 0, 0, 141, 142, 143, - 0, 144, 140, 0, 0, 0, 0, 0, 0, 145, - 0, 0, 146, 147, 141, 142, 143, 0, 144, 140, - 0, 150, 0, 0, 0, 0, 215, 0, 0, 146, - 147, 141, 142, 143, 0, 144, 0, 0, 0, 0, - 0, 0, 0, 336, 0, 0, 146, 147, 140, 134, - 135, 136, 137, 138, 118, 119, 120, 121, 122, 123, - 141, 142, 143, 0, 144, 0, 0, 0, 0, 0, - 0, 0, 345, 0, 0, 146, 147, 0, 113, 114, - 115, 116, 117, 118, 119, 120, 121, 122, 123, 0, - 157, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 158, 0, 0, 0, 0, 0, 150, 0, - 159, 0, 0, 0, 160, 161, 162, 163, 164, 165, - 0, 166, 302, 303, 0, 0, 0, 304, 305, 306, - 307, 308, 309, 310, 0, 140, 377, 0, 312, 0, - 0, 0, 0, 0, 0, 0, 0, 141, 142, 143, - 0, 144, 0, 0, 0, 0, 0, 0, 0, 0, - 167, 0, 146, 147, 124, 0, 168, 169, 0, 0, - 0, 170, 171, 0, 0, 0, 125, 126, 127, 272, - 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 130, 131, 0, 0, 0, 1, 2, 3, 0, - 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, - 13, 14, 15, 0, 16, 17, 18, 0, 0, 0, - 0, 0, 0, 0, 0, 19, 20, 21, 22, 0, - 0, 23, 24, 0, 25, 0, 26, 0, 0, 27, - 28, 0, 0, 29, 30, 31, 32, 33, 0, 0, - 34, 35, 36, 37, 38, 39, 40, 41, 42, 0, - 0, 43, 44, 0, 45, 0, 46, 47, 0, 0, - 0, 48, 49, 50, 0, 1, 2, 3, 0, 4, - 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 14, 15, 51, 16, 17, 18, 0, 0, 0, 0, - 0, 0, 0, 0, 19, 20, 21, 22, 0, 0, - 23, 24, 0, 25, 0, 26, 0, 0, 27, 28, - 0, 0, 29, 30, 31, 32, 33, 0, 0, 34, - 35, 36, 37, 38, 39, 40, 41, 42, 0, 0, - 43, 44, 0, 45, 0, 46, 47, 0, 0, 0, - 48, 49, 50, 0, 227, 228, 229, 0, 230, 0, - 231, 232, 233, 234, 235, 236, 237, 238, 239, 14, - 15, 51, 240, 241, 242, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 243, 244, 245, 0, 0, 246, - 247, 0, 0, 0, 0, 0, 0, 248, 249, 0, - 0, 0, 250, 251, 252, 253, 0, 0, 254, 255, - 256, 257, 258, 259, 260, 261, 262, 0, 0, 263, - 264, 0, 265, 0, 0, 0, 0, 302, 303, 266, - 267, 268, 304, 305, 306, 307, 308, 309, 310, 0, - 0, 421, 0, 312, 0, 0, 302, 303, 0, 0, - 269, 304, 305, 306, 307, 308, 309, 310, 302, 303, - 453, 0, 312, 304, 305, 306, 307, 308, 309, 310, - 302, 303, 460, 0, 312, 304, 305, 306, 307, 308, - 309, 310, 302, 303, 468, 0, 312, 304, 305, 306, - 307, 308, 309, 310, 302, 303, 479, 0, 312, 304, - 305, 306, 307, 308, 309, 310, 302, 303, 480, 0, - 312, 304, 305, 306, 307, 308, 309, 310, 302, 303, - 481, 0, 312, 304, 305, 306, 307, 308, 309, 310, - 302, 303, 482, 0, 312, 304, 305, 306, 307, 308, - 309, 310, 302, 303, 483, 0, 312, 304, 305, 306, - 307, 308, 309, 310, 302, 303, 493, 0, 312, 304, - 305, 306, 307, 308, 309, 310, 302, 303, 495, 0, - 312, 304, 305, 306, 307, 308, 309, 310, 302, 303, - 496, 0, 312, 304, 305, 306, 307, 308, 309, 310, - 288, 289, 497, 0, 312, 290, 291, 292, 293, 294, - 295, 296, 302, 303, 0, 0, 297, 304, 305, 306, - 307, 308, 309, 310, 0, 0, 0, 0, 312 + 272, 155, 288, 194, 289, 290, 201, 202, 14, 15, + 224, 211, 332, 101, 209, 183, 326, 327, 328, 100, + 193, 219, 118, 104, 134, 119, 212, 198, 199, 174, + 187, 188, 156, 157, 158, 218, 278, 195, 210, 175, + 222, 228, 345, 273, 375, 136, 137, 138, 139, 140, + 110, 111, 112, 113, 114, 115, 220, 213, 102, 481, + 279, 225, 176, 333, 223, 334, 346, 177, 376, 178, + 291, 292, 221, 179, 214, 215, 180, 184, 185, 297, + 298, 299, 103, 482, 186, 196, 335, 305, 306, 495, + 197, 286, 203, 189, 204, 205, 311, 312, 313, 206, + 207, 280, 227, 315, 152, 208, 277, 216, 226, 275, + 276, 190, 191, 281, 136, 137, 138, 139, 140, 110, + 111, 112, 113, 114, 115, 282, 342, 377, 283, 324, + 284, 142, 0, 285, 287, 301, 318, 319, 320, 302, + 321, 303, 304, 143, 144, 145, 316, 146, 134, 322, + 134, 134, 323, 0, 329, 192, 330, 331, 148, 149, + 336, 337, 338, 436, 437, 438, 439, 440, 441, 442, + 443, 444, 445, 152, 340, 343, 344, 315, 458, 459, + 460, 461, 349, 305, 306, 347, 354, 350, 307, 308, + 309, 310, 311, 312, 313, 351, 355, 358, 356, 315, + 142, 357, 446, 359, 360, 368, 361, 370, 371, 362, + 305, 306, 143, 144, 145, 307, 352, 309, 310, 311, + 312, 313, 363, 364, 353, 365, 315, 148, 149, 366, + 367, 369, 373, 374, 136, 137, 138, 139, 140, 110, + 111, 112, 113, 114, 115, 291, 292, 378, 379, 381, + 293, 294, 295, 296, 297, 298, 299, 382, 383, 432, + 384, 385, 386, 387, 435, 388, 389, 390, 391, 392, + 393, 394, 395, 427, 428, 429, 430, 431, 305, 306, + 434, 396, 397, 307, 308, 309, 310, 311, 312, 313, + 398, 399, 314, 152, 315, 400, 401, 402, 447, 448, + 449, 450, 451, 452, 453, 454, 455, 403, 456, 134, + 134, 134, 134, 134, 134, 134, 134, 134, 134, 404, + 142, 405, 406, 407, 408, 409, 410, 411, 412, 413, + 305, 306, 143, 144, 145, 307, 352, 309, 310, 311, + 312, 313, 469, 414, 468, 471, 315, 148, 149, 136, + 137, 138, 139, 140, 110, 111, 112, 113, 114, 115, + 415, 475, 416, 477, 479, 417, 418, 419, 420, 421, + 422, 136, 137, 138, 139, 140, 110, 111, 112, 113, + 114, 115, 105, 106, 107, 108, 109, 110, 111, 112, + 113, 114, 115, 305, 306, 423, 425, 426, 307, 308, + 309, 310, 311, 312, 313, 433, 462, 317, 152, 315, + 305, 306, 463, 465, 496, 307, 308, 309, 310, 311, + 312, 313, 466, 467, 341, 470, 315, -261, -261, 473, + 152, 480, 488, 116, 491, 142, -261, -261, -261, 117, + 492, 504, 493, 315, 494, 305, 306, 143, 144, 145, + 307, 352, 309, 310, 311, 312, 313, 142, 497, 474, + 499, 315, 148, 149, 503, 0, 505, 305, 306, 143, + 144, 145, 307, 352, 309, 310, 311, 312, 313, 0, + 0, 476, 0, 315, 148, 149, 136, 137, 138, 139, + 140, 110, 111, 112, 113, 114, 115, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 136, 137, + 138, 139, 140, 110, 111, 112, 113, 114, 115, 305, + 306, 0, 0, 0, 307, 308, 309, 310, 311, 312, + 313, 291, 292, 372, 0, 315, 293, 294, 295, 296, + 297, 298, 299, 0, 0, 152, 0, 300, 0, 0, + 136, 137, 138, 139, 140, 110, 111, 112, 113, 114, + 115, 0, 0, 0, 0, 0, 0, 152, 0, 0, + 0, 0, 142, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 305, 306, 143, 144, 145, 307, 352, 309, + 310, 311, 312, 313, 142, 0, 478, 181, 315, 148, + 149, 0, 0, 0, 0, 0, 143, 144, 145, 152, + 146, 0, 0, 153, 0, 0, 0, 0, 154, 0, + 0, 148, 149, 120, 121, 122, 123, 124, 110, 111, + 112, 113, 114, 115, 0, 0, 142, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 143, 144, + 145, 0, 146, 0, 0, 0, 0, 0, 0, 0, + 182, 0, 0, 148, 149, 136, 137, 138, 139, 140, + 110, 111, 112, 113, 114, 115, 0, 0, 0, 0, + 0, 0, 125, 136, 137, 138, 139, 140, 110, 111, + 112, 113, 114, 115, 305, 306, 0, 0, 0, 307, + 308, 309, 310, 311, 312, 313, 291, 292, 380, 126, + 315, 293, 294, 295, 296, 297, 298, 299, 0, 0, + 490, 127, 128, 129, 141, 130, 0, 0, 0, 0, + 0, 0, 0, 131, 0, 0, 132, 133, 0, 0, + 0, 0, 152, 0, 0, 0, 0, 0, 0, 0, + 0, 142, 136, 137, 138, 139, 140, 110, 111, 112, + 113, 114, 115, 143, 144, 145, 0, 146, 0, 142, + 0, 0, 0, 0, 0, 147, 0, 0, 148, 149, + 0, 143, 144, 145, 0, 146, 0, 0, 0, 0, + 0, 0, 0, 217, 0, 0, 148, 149, 136, 137, + 138, 139, 140, 110, 111, 112, 113, 114, 115, 0, + 0, 152, 0, 0, 0, 136, 137, 138, 139, 140, + 110, 111, 112, 113, 114, 115, 305, 306, 0, 0, + 0, 307, 308, 309, 310, 311, 312, 313, 142, 0, + 424, 0, 315, 0, 0, 0, 0, 0, 0, 0, + 143, 144, 145, 0, 146, 0, 0, 152, 0, 0, + 0, 0, 339, 0, 0, 148, 149, 0, 0, 0, + 0, 0, 0, 0, 152, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 142, 120, 121, 122, 123, 124, + 110, 111, 112, 113, 114, 115, 143, 144, 145, 0, + 146, 142, 0, 0, 0, 0, 0, 0, 348, 0, + 0, 148, 149, 143, 144, 145, 0, 146, 0, 0, + 0, 0, 0, 0, 0, 305, 306, 0, 148, 149, + 307, 308, 309, 310, 311, 312, 313, 0, 0, 457, + 0, 315, 305, 306, 125, 0, 0, 307, 308, 309, + 310, 311, 312, 313, 305, 306, 464, 0, 315, 307, + 308, 309, 310, 311, 312, 313, 0, 0, 472, 0, + 315, 126, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 127, 128, 129, 274, 130, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 132, 133, + 0, 0, 0, 1, 2, 3, 0, 4, 0, 5, + 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + 0, 16, 17, 18, 0, 0, 0, 0, 0, 0, + 0, 0, 19, 20, 21, 22, 0, 0, 23, 24, + 0, 25, 0, 26, 0, 0, 27, 28, 0, 0, + 29, 30, 31, 32, 33, 0, 0, 34, 35, 36, + 37, 38, 39, 40, 41, 42, 0, 0, 43, 44, + 0, 45, 0, 46, 47, 0, 0, 0, 48, 49, + 50, 0, 1, 2, 3, 0, 4, 0, 5, 6, + 7, 8, 9, 10, 11, 12, 13, 14, 15, 51, + 16, 17, 18, 0, 0, 0, 0, 0, 0, 0, + 0, 19, 20, 21, 22, 0, 0, 23, 24, 0, + 25, 0, 26, 0, 0, 27, 28, 0, 0, 29, + 30, 31, 32, 33, 0, 0, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 0, 0, 43, 44, 0, + 45, 0, 46, 47, 0, 0, 0, 48, 49, 50, + 0, 229, 230, 231, 0, 232, 0, 233, 234, 235, + 236, 237, 238, 239, 240, 241, 14, 15, 51, 242, + 243, 244, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 245, 246, 247, 0, 0, 248, 249, 0, 0, + 0, 0, 0, 0, 250, 251, 0, 0, 0, 252, + 253, 254, 255, 0, 0, 256, 257, 258, 259, 260, + 261, 262, 263, 264, 0, 0, 265, 266, 0, 267, + 0, 0, 0, 0, 159, 0, 268, 269, 270, 0, + 0, 0, 0, 0, 0, 0, 160, 0, 0, 0, + 0, 0, 0, 0, 161, 0, 0, 271, 162, 163, + 164, 165, 166, 167, 0, 168, 305, 306, 0, 0, + 0, 307, 308, 309, 310, 311, 312, 313, 305, 306, + 483, 0, 315, 307, 308, 309, 310, 311, 312, 313, + 305, 306, 484, 0, 315, 307, 308, 309, 310, 311, + 312, 313, 0, 0, 169, 0, 315, 0, 0, 0, + 170, 171, 305, 306, 0, 172, 173, 307, 308, 309, + 310, 311, 312, 313, 305, 306, 485, 0, 315, 307, + 308, 309, 310, 311, 312, 313, 305, 306, 486, 0, + 315, 307, 308, 309, 310, 311, 312, 313, 305, 306, + 487, 0, 315, 307, 308, 309, 310, 311, 312, 313, + 305, 306, 489, 0, 315, 307, 308, 309, 310, 311, + 312, 313, 305, 306, 498, 0, 315, 307, 308, 309, + 310, 311, 312, 313, 305, 306, 500, 0, 315, 307, + 308, 309, 310, 311, 312, 313, 305, 306, 501, 0, + 315, 307, 308, 309, 310, 311, 312, 313, 0, 0, + 502, 0, 315 }; static const yytype_int16 yycheck[] = { - 49, 8, 6, 161, 162, 163, 32, 33, 63, 32, - 33, 62, 62, 89, 17, 22, 44, 92, 58, 59, - 27, 113, 99, 100, 113, 128, 113, 130, 131, 32, - 62, 108, 109, 110, 113, 42, 89, 113, 113, 113, - 62, 48, 97, 50, 3, 4, 5, 6, 7, 3, - 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 63, 89, 113, 113, 86, 97, 15, 16, 89, 89, - 89, 89, 89, 89, 113, 113, 113, 80, 81, 113, - 113, 113, 62, 89, 56, 113, 113, 113, 111, 99, - 100, 89, 113, 113, 113, 54, 113, 89, 108, 109, - 110, 60, 89, 89, 62, 115, 62, 89, 62, 114, - 113, 3, 4, 5, 6, 7, 8, 9, 10, 11, - 12, 13, 99, 100, 128, 113, 130, 131, 113, 113, - 113, 108, 109, 110, 89, 89, 114, 144, 115, 146, - 147, 114, 89, 114, 151, 99, 100, 101, 102, 103, - 104, 105, 106, 107, 108, 109, 110, 114, 62, 113, - 113, 115, 116, 117, 322, 323, 324, 325, 99, 100, - 62, 114, 179, 104, 105, 106, 107, 108, 109, 110, - 187, 113, 113, 113, 191, 288, 289, 290, 291, 292, - 293, 294, 295, 296, 297, 113, 113, 89, 113, 113, - 113, 113, 113, 210, 113, 212, 213, 99, 100, 101, - 102, 103, 104, 105, 106, 107, 108, 109, 110, 113, - 89, 113, 113, 115, 116, 117, 99, 100, 113, 113, - 113, 104, 105, 106, 107, 108, 109, 110, 114, 113, - 89, 113, 115, 113, 62, 118, 113, 113, 113, 113, - 113, 113, 113, 113, 113, 113, 113, 3, 4, 5, - 6, 7, 8, 9, 10, 11, 12, 13, 113, 113, - 113, 278, 279, 280, 281, 282, 113, 113, 113, 113, - 113, 113, 113, 113, 288, 289, 290, 291, 292, 293, - 294, 295, 296, 297, 113, 302, 303, 304, 305, 306, - 307, 308, 309, 310, 113, 312, 113, 113, 113, 113, - 113, 113, 113, 113, 113, 3, 4, 5, 6, 7, - 8, 9, 10, 11, 12, 13, 113, 113, 113, 113, - 113, 113, 113, 113, 113, 113, 113, 113, 113, 346, - 113, 113, 349, 89, 3, 4, 5, 6, 7, 8, - 9, 10, 11, 12, 13, 101, 102, 103, 365, 105, - 367, 368, 113, 113, 113, 113, 113, 113, 113, 113, - 116, 117, 113, 113, 62, 3, 4, 5, 6, 7, - 8, 9, 10, 11, 12, 13, 99, 100, 113, 89, - 113, 104, 105, 106, 107, 108, 109, 110, 115, 113, - 89, 89, 113, 62, 89, 118, 113, 89, 113, 113, - 459, 99, 100, 101, 102, 103, 104, 105, 106, 107, - 108, 109, 110, 113, 89, 113, 113, 115, 116, 117, - 89, 52, 113, 113, 62, 113, 113, 113, 113, 113, + 49, 8, 130, 63, 132, 133, 32, 33, 32, 33, + 62, 17, 62, 44, 89, 22, 163, 164, 165, 113, + 27, 62, 4, 113, 6, 113, 32, 15, 16, 113, + 58, 59, 89, 89, 89, 42, 89, 97, 113, 113, + 62, 48, 89, 50, 89, 3, 4, 5, 6, 7, + 8, 9, 10, 11, 12, 13, 97, 63, 89, 89, + 113, 113, 113, 113, 86, 92, 113, 113, 113, 113, + 99, 100, 113, 113, 80, 81, 113, 62, 89, 108, + 109, 110, 113, 113, 56, 89, 113, 99, 100, 113, + 89, 117, 113, 51, 89, 89, 108, 109, 110, 62, + 62, 114, 89, 115, 62, 113, 89, 113, 113, 52, + 113, 69, 70, 114, 3, 4, 5, 6, 7, 8, + 9, 10, 11, 12, 13, 114, 62, 62, 114, 89, + 114, 89, -1, 114, 114, 113, 113, 113, 113, 146, + 113, 148, 149, 101, 102, 103, 153, 105, 130, 113, + 132, 133, 113, -1, 113, 113, 113, 113, 116, 117, + 113, 113, 113, 291, 292, 293, 294, 295, 296, 297, + 298, 299, 300, 62, 181, 89, 113, 115, 325, 326, + 327, 328, 189, 99, 100, 113, 193, 113, 104, 105, + 106, 107, 108, 109, 110, 114, 113, 89, 113, 115, + 89, 113, 118, 113, 113, 212, 113, 214, 215, 113, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, - 109, 110, -1, -1, 113, -1, 115, 116, 117, -1, - -1, 89, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 99, 100, 101, 102, 103, 104, 105, 106, 107, - 108, 109, 110, -1, -1, 113, -1, 115, 116, 117, - 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, 99, 100, 51, -1, - -1, 104, 105, 106, 107, 108, 109, 110, -1, 62, - 113, -1, 115, 99, 100, -1, 69, 70, 104, 105, - 106, 107, 108, 109, 110, -1, 62, 113, -1, 115, - -1, 50, -1, -1, -1, -1, 89, -1, -1, -1, - -1, -1, -1, 62, -1, -1, -1, -1, 101, 102, - 103, -1, 105, 89, -1, -1, -1, -1, -1, -1, - 113, -1, -1, 116, 117, 101, 102, 103, -1, 105, - 89, -1, 108, -1, -1, -1, -1, 113, -1, -1, - 116, 117, 101, 102, 103, -1, 105, -1, -1, -1, - -1, -1, -1, -1, 113, -1, -1, 116, 117, 3, + 109, 110, 113, 113, 113, 113, 115, 116, 117, 113, + 113, 113, 113, 113, 3, 4, 5, 6, 7, 8, + 9, 10, 11, 12, 13, 99, 100, 113, 113, 113, + 104, 105, 106, 107, 108, 109, 110, 113, 113, 89, + 113, 113, 113, 113, 118, 113, 113, 113, 113, 113, + 113, 113, 113, 280, 281, 282, 283, 284, 99, 100, + 287, 113, 113, 104, 105, 106, 107, 108, 109, 110, + 113, 113, 113, 62, 115, 113, 113, 113, 305, 306, + 307, 308, 309, 310, 311, 312, 313, 113, 315, 291, + 292, 293, 294, 295, 296, 297, 298, 299, 300, 113, + 89, 113, 113, 113, 113, 113, 113, 113, 113, 113, + 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, + 109, 110, 349, 113, 113, 352, 115, 116, 117, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, - -1, -1, -1, -1, -1, -1, 3, 4, 5, 6, + 113, 368, 113, 370, 371, 113, 113, 113, 113, 113, + 113, 3, 4, 5, 6, 7, 8, 9, 10, 11, + 12, 13, 3, 4, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 99, 100, 113, 113, 113, 104, 105, + 106, 107, 108, 109, 110, 113, 113, 113, 62, 115, + 99, 100, 89, 113, 463, 104, 105, 106, 107, 108, + 109, 110, 89, 113, 113, 89, 115, 99, 100, 113, + 62, 113, 113, 54, 113, 89, 108, 109, 110, 60, + 113, 89, 113, 115, 113, 99, 100, 101, 102, 103, + 104, 105, 106, 107, 108, 109, 110, 89, 113, 113, + 113, 115, 116, 117, 113, -1, 113, 99, 100, 101, + 102, 103, 104, 105, 106, 107, 108, 109, 110, -1, + -1, 113, -1, 115, 116, 117, 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, 99, 100, -1, -1, -1, - 104, 105, 106, 107, 108, 109, 110, -1, 62, 113, - -1, 115, 3, 4, 5, 6, 7, 8, 9, 10, - 11, 12, 13, 99, 100, 62, -1, -1, 104, 105, - 106, 107, 108, 109, 110, 89, -1, 113, -1, 115, - -1, -1, 62, -1, -1, -1, -1, 101, 102, 103, - -1, 105, 89, -1, -1, -1, -1, -1, -1, 113, - -1, -1, 116, 117, 101, 102, 103, -1, 105, 89, - -1, 62, -1, -1, -1, -1, 113, -1, -1, 116, - 117, 101, 102, 103, -1, 105, -1, -1, -1, -1, - -1, -1, -1, 113, -1, -1, 116, 117, 89, 3, - 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 101, 102, 103, -1, 105, -1, -1, -1, -1, -1, - -1, -1, 113, -1, -1, 116, 117, -1, 3, 4, + -1, -1, -1, -1, -1, -1, -1, -1, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 99, + 100, -1, -1, -1, 104, 105, 106, 107, 108, 109, + 110, 99, 100, 113, -1, 115, 104, 105, 106, 107, + 108, 109, 110, -1, -1, 62, -1, 115, -1, -1, + 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, + 13, -1, -1, -1, -1, -1, -1, 62, -1, -1, + -1, -1, 89, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 99, 100, 101, 102, 103, 104, 105, 106, + 107, 108, 109, 110, 89, -1, 113, 50, 115, 116, + 117, -1, -1, -1, -1, -1, 101, 102, 103, 62, + 105, -1, -1, 108, -1, -1, -1, -1, 113, -1, + -1, 116, 117, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, -1, -1, 89, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 101, 102, + 103, -1, 105, -1, -1, -1, -1, -1, -1, -1, + 113, -1, -1, 116, 117, 3, 4, 5, 6, 7, + 8, 9, 10, 11, 12, 13, -1, -1, -1, -1, + -1, -1, 62, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 99, 100, -1, -1, -1, 104, + 105, 106, 107, 108, 109, 110, 99, 100, 113, 89, + 115, 104, 105, 106, 107, 108, 109, 110, -1, -1, + 113, 101, 102, 103, 62, 105, -1, -1, -1, -1, + -1, -1, -1, 113, -1, -1, 116, 117, -1, -1, + -1, -1, 62, -1, -1, -1, -1, -1, -1, -1, + -1, 89, 3, 4, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 101, 102, 103, -1, 105, -1, 89, + -1, -1, -1, -1, -1, 113, -1, -1, 116, 117, + -1, 101, 102, 103, -1, 105, -1, -1, -1, -1, + -1, -1, -1, 113, -1, -1, 116, 117, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, -1, - 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 26, -1, -1, -1, -1, -1, 62, -1, - 34, -1, -1, -1, 38, 39, 40, 41, 42, 43, - -1, 45, 99, 100, -1, -1, -1, 104, 105, 106, - 107, 108, 109, 110, -1, 89, 113, -1, 115, -1, - -1, -1, -1, -1, -1, -1, -1, 101, 102, 103, - -1, 105, -1, -1, -1, -1, -1, -1, -1, -1, - 84, -1, 116, 117, 89, -1, 90, 91, -1, -1, - -1, 95, 96, -1, -1, -1, 101, 102, 103, 0, - 105, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 116, 117, -1, -1, -1, 17, 18, 19, -1, - 21, -1, 23, 24, 25, 26, 27, 28, 29, 30, - 31, 32, 33, -1, 35, 36, 37, -1, -1, -1, - -1, -1, -1, -1, -1, 46, 47, 48, 49, -1, - -1, 52, 53, -1, 55, -1, 57, -1, -1, 60, - 61, -1, -1, 64, 65, 66, 67, 68, -1, -1, - 71, 72, 73, 74, 75, 76, 77, 78, 79, -1, - -1, 82, 83, -1, 85, -1, 87, 88, -1, -1, - -1, 92, 93, 94, -1, 17, 18, 19, -1, 21, - -1, 23, 24, 25, 26, 27, 28, 29, 30, 31, - 32, 33, 113, 35, 36, 37, -1, -1, -1, -1, - -1, -1, -1, -1, 46, 47, 48, 49, -1, -1, - 52, 53, -1, 55, -1, 57, -1, -1, 60, 61, - -1, -1, 64, 65, 66, 67, 68, -1, -1, 71, - 72, 73, 74, 75, 76, 77, 78, 79, -1, -1, - 82, 83, -1, 85, -1, 87, 88, -1, -1, -1, - 92, 93, 94, -1, 17, 18, 19, -1, 21, -1, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 113, 35, 36, 37, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 47, 48, 49, -1, -1, 52, - 53, -1, -1, -1, -1, -1, -1, 60, 61, -1, - -1, -1, 65, 66, 67, 68, -1, -1, 71, 72, - 73, 74, 75, 76, 77, 78, 79, -1, -1, 82, - 83, -1, 85, -1, -1, -1, -1, 99, 100, 92, - 93, 94, 104, 105, 106, 107, 108, 109, 110, -1, - -1, 113, -1, 115, -1, -1, 99, 100, -1, -1, - 113, 104, 105, 106, 107, 108, 109, 110, 99, 100, + -1, 62, -1, -1, -1, 3, 4, 5, 6, 7, + 8, 9, 10, 11, 12, 13, 99, 100, -1, -1, + -1, 104, 105, 106, 107, 108, 109, 110, 89, -1, + 113, -1, 115, -1, -1, -1, -1, -1, -1, -1, + 101, 102, 103, -1, 105, -1, -1, 62, -1, -1, + -1, -1, 113, -1, -1, 116, 117, -1, -1, -1, + -1, -1, -1, -1, 62, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 89, 3, 4, 5, 6, 7, + 8, 9, 10, 11, 12, 13, 101, 102, 103, -1, + 105, 89, -1, -1, -1, -1, -1, -1, 113, -1, + -1, 116, 117, 101, 102, 103, -1, 105, -1, -1, + -1, -1, -1, -1, -1, 99, 100, -1, 116, 117, + 104, 105, 106, 107, 108, 109, 110, -1, -1, 113, + -1, 115, 99, 100, 62, -1, -1, 104, 105, 106, + 107, 108, 109, 110, 99, 100, 113, -1, 115, 104, + 105, 106, 107, 108, 109, 110, -1, -1, 113, -1, + 115, 89, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 101, 102, 103, 0, 105, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 116, 117, + -1, -1, -1, 17, 18, 19, -1, 21, -1, 23, + 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, + -1, 35, 36, 37, -1, -1, -1, -1, -1, -1, + -1, -1, 46, 47, 48, 49, -1, -1, 52, 53, + -1, 55, -1, 57, -1, -1, 60, 61, -1, -1, + 64, 65, 66, 67, 68, -1, -1, 71, 72, 73, + 74, 75, 76, 77, 78, 79, -1, -1, 82, 83, + -1, 85, -1, 87, 88, -1, -1, -1, 92, 93, + 94, -1, 17, 18, 19, -1, 21, -1, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, 33, 113, + 35, 36, 37, -1, -1, -1, -1, -1, -1, -1, + -1, 46, 47, 48, 49, -1, -1, 52, 53, -1, + 55, -1, 57, -1, -1, 60, 61, -1, -1, 64, + 65, 66, 67, 68, -1, -1, 71, 72, 73, 74, + 75, 76, 77, 78, 79, -1, -1, 82, 83, -1, + 85, -1, 87, 88, -1, -1, -1, 92, 93, 94, + -1, 17, 18, 19, -1, 21, -1, 23, 24, 25, + 26, 27, 28, 29, 30, 31, 32, 33, 113, 35, + 36, 37, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 47, 48, 49, -1, -1, 52, 53, -1, -1, + -1, -1, -1, -1, 60, 61, -1, -1, -1, 65, + 66, 67, 68, -1, -1, 71, 72, 73, 74, 75, + 76, 77, 78, 79, -1, -1, 82, 83, -1, 85, + -1, -1, -1, -1, 14, -1, 92, 93, 94, -1, + -1, -1, -1, -1, -1, -1, 26, -1, -1, -1, + -1, -1, -1, -1, 34, -1, -1, 113, 38, 39, + 40, 41, 42, 43, -1, 45, 99, 100, -1, -1, + -1, 104, 105, 106, 107, 108, 109, 110, 99, 100, 113, -1, 115, 104, 105, 106, 107, 108, 109, 110, 99, 100, 113, -1, 115, 104, 105, 106, 107, 108, - 109, 110, 99, 100, 113, -1, 115, 104, 105, 106, + 109, 110, -1, -1, 84, -1, 115, -1, -1, -1, + 90, 91, 99, 100, -1, 95, 96, 104, 105, 106, 107, 108, 109, 110, 99, 100, 113, -1, 115, 104, 105, 106, 107, 108, 109, 110, 99, 100, 113, -1, 115, 104, 105, 106, 107, 108, 109, 110, 99, 100, @@ -1332,11 +1347,8 @@ static const yytype_int16 yycheck[] = 109, 110, 99, 100, 113, -1, 115, 104, 105, 106, 107, 108, 109, 110, 99, 100, 113, -1, 115, 104, 105, 106, 107, 108, 109, 110, 99, 100, 113, -1, - 115, 104, 105, 106, 107, 108, 109, 110, 99, 100, - 113, -1, 115, 104, 105, 106, 107, 108, 109, 110, - 99, 100, 113, -1, 115, 104, 105, 106, 107, 108, - 109, 110, 99, 100, -1, -1, 115, 104, 105, 106, - 107, 108, 109, 110, -1, -1, -1, -1, 115 + 115, 104, 105, 106, 107, 108, 109, 110, -1, -1, + 113, -1, 115 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing @@ -1354,46 +1366,46 @@ static const yytype_uint8 yystos[] = 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 113, 44, 89, 113, 113, 3, 4, 5, 6, 7, - 54, 60, 113, 3, 4, 5, 6, 7, 8, 9, - 10, 11, 12, 13, 89, 101, 102, 103, 105, 113, - 116, 117, 124, 171, 3, 4, 5, 6, 7, 62, - 89, 101, 102, 103, 105, 113, 116, 117, 124, 172, - 62, 108, 113, 172, 89, 89, 89, 14, 26, 34, - 38, 39, 40, 41, 42, 43, 45, 84, 90, 91, - 95, 96, 113, 113, 113, 113, 113, 113, 113, 50, - 113, 172, 62, 89, 56, 58, 59, 51, 69, 70, - 113, 172, 63, 97, 89, 89, 15, 16, 122, 122, - 122, 113, 89, 89, 62, 62, 113, 89, 113, 17, - 32, 63, 80, 81, 113, 113, 172, 62, 97, 113, - 62, 86, 62, 113, 113, 89, 172, 17, 18, 19, - 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, - 35, 36, 37, 47, 48, 49, 52, 53, 60, 61, - 65, 66, 67, 68, 71, 72, 73, 74, 75, 76, - 77, 78, 79, 82, 83, 85, 92, 93, 94, 113, - 123, 172, 0, 121, 113, 89, 89, 113, 114, 114, - 114, 114, 114, 114, 122, 171, 171, 171, 99, 100, - 104, 105, 106, 107, 108, 109, 110, 115, 113, 172, - 172, 172, 99, 100, 104, 105, 106, 107, 108, 109, - 110, 113, 115, 172, 113, 113, 113, 113, 113, 113, - 113, 89, 148, 148, 148, 148, 113, 113, 113, 62, - 113, 92, 113, 113, 113, 113, 113, 172, 113, 62, - 89, 113, 89, 113, 113, 113, 172, 113, 114, 105, - 113, 172, 113, 113, 113, 89, 113, 113, 113, 113, - 113, 113, 113, 113, 113, 172, 113, 172, 172, 113, - 113, 113, 89, 113, 62, 113, 113, 113, 113, 113, + 8, 9, 10, 11, 12, 13, 54, 60, 124, 113, + 3, 4, 5, 6, 7, 62, 89, 101, 102, 103, + 105, 113, 116, 117, 124, 171, 3, 4, 5, 6, + 7, 62, 89, 101, 102, 103, 105, 113, 116, 117, + 124, 172, 62, 108, 113, 172, 89, 89, 89, 14, + 26, 34, 38, 39, 40, 41, 42, 43, 45, 84, + 90, 91, 95, 96, 113, 113, 113, 113, 113, 113, + 113, 50, 113, 172, 62, 89, 56, 58, 59, 51, + 69, 70, 113, 172, 63, 97, 89, 89, 15, 16, + 122, 122, 122, 113, 89, 89, 62, 62, 113, 89, + 113, 17, 32, 63, 80, 81, 113, 113, 172, 62, + 97, 113, 62, 86, 62, 113, 113, 89, 172, 17, + 18, 19, 21, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 35, 36, 37, 47, 48, 49, 52, 53, + 60, 61, 65, 66, 67, 68, 71, 72, 73, 74, + 75, 76, 77, 78, 79, 82, 83, 85, 92, 93, + 94, 113, 123, 172, 0, 121, 113, 89, 89, 113, + 114, 114, 114, 114, 114, 114, 122, 114, 171, 171, + 171, 99, 100, 104, 105, 106, 107, 108, 109, 110, + 115, 113, 172, 172, 172, 99, 100, 104, 105, 106, + 107, 108, 109, 110, 113, 115, 172, 113, 113, 113, + 113, 113, 113, 113, 89, 148, 148, 148, 148, 113, + 113, 113, 62, 113, 92, 113, 113, 113, 113, 113, + 172, 113, 62, 89, 113, 89, 113, 113, 113, 172, + 113, 114, 105, 113, 172, 113, 113, 113, 89, 113, + 113, 113, 113, 113, 113, 113, 113, 113, 172, 113, + 172, 172, 113, 113, 113, 89, 113, 62, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, - 113, 113, 113, 113, 172, 172, 172, 172, 172, 89, - 113, 118, 171, 171, 171, 171, 171, 171, 171, 171, - 171, 171, 118, 172, 172, 172, 172, 172, 172, 172, - 172, 172, 172, 113, 148, 148, 148, 148, 113, 89, - 113, 113, 89, 113, 113, 172, 89, 172, 113, 113, - 113, 172, 113, 172, 113, 172, 113, 89, 113, 113, - 113, 113, 113, 113, 113, 113, 113, 113, 113, 113, - 113, 123, 113, 113, 113, 113, 113, 113, 113, 89, - 113 + 113, 113, 113, 113, 113, 113, 113, 172, 172, 172, + 172, 172, 89, 113, 172, 118, 171, 171, 171, 171, + 171, 171, 171, 171, 171, 171, 118, 172, 172, 172, + 172, 172, 172, 172, 172, 172, 172, 113, 148, 148, + 148, 148, 113, 89, 113, 113, 89, 113, 113, 172, + 89, 172, 113, 113, 113, 172, 113, 172, 113, 172, + 113, 89, 113, 113, 113, 113, 113, 113, 113, 113, + 113, 113, 113, 113, 113, 113, 123, 113, 113, 113, + 113, 113, 113, 113, 89, 113 }; #define yyerrok (yyerrstatus = 0) @@ -2584,484 +2596,483 @@ yyreduce: break; case 106: -#line 495 "parser.y" +#line 492 "parser.y" + { + bx_dbg_load_segreg((yyvsp[(2) - (5)].uval), (yyvsp[(4) - (5)].uval)); + } + break; + + case 107: +#line 499 "parser.y" { bx_dbg_vbreakpoint_command(bkAtIP, 0, 0); free((yyvsp[(1) - (2)].sval)); } break; - case 107: -#line 500 "parser.y" + case 108: +#line 504 "parser.y" { bx_dbg_vbreakpoint_command(bkRegular, (yyvsp[(2) - (5)].uval), (yyvsp[(4) - (5)].uval)); free((yyvsp[(1) - (5)].sval)); } break; - case 108: -#line 505 "parser.y" + case 109: +#line 509 "parser.y" { bx_dbg_lbreakpoint_command(bkAtIP, 0); free((yyvsp[(1) - (2)].sval)); } break; - case 109: -#line 510 "parser.y" + case 110: +#line 514 "parser.y" { bx_dbg_lbreakpoint_command(bkRegular, (yyvsp[(2) - (3)].uval)); free((yyvsp[(1) - (3)].sval)); } break; - case 110: -#line 515 "parser.y" + case 111: +#line 519 "parser.y" { bx_dbg_lbreakpoint_symbol_command((yyvsp[(2) - (3)].sval)); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 111: -#line 520 "parser.y" + case 112: +#line 524 "parser.y" { bx_dbg_pbreakpoint_command(bkAtIP, 0); free((yyvsp[(1) - (2)].sval)); } break; - case 112: -#line 525 "parser.y" + case 113: +#line 529 "parser.y" { bx_dbg_pbreakpoint_command(bkRegular, (yyvsp[(2) - (3)].uval)); free((yyvsp[(1) - (3)].sval)); } break; - case 113: -#line 530 "parser.y" + case 114: +#line 534 "parser.y" { bx_dbg_pbreakpoint_command(bkRegular, (yyvsp[(3) - (4)].uval)); free((yyvsp[(1) - (4)].sval)); } break; - case 114: -#line 538 "parser.y" + case 115: +#line 542 "parser.y" { bx_dbg_info_bpoints_command(); free((yyvsp[(1) - (2)].sval)); } break; - case 115: -#line 546 "parser.y" + case 116: +#line 550 "parser.y" { bx_dbg_info_symbols_command(0); free((yyvsp[(1) - (2)].sval)); } break; - case 116: -#line 551 "parser.y" + case 117: +#line 555 "parser.y" { bx_dbg_info_symbols_command((yyvsp[(2) - (3)].sval)); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 117: -#line 559 "parser.y" + case 118: +#line 563 "parser.y" { bx_dbg_info_bpoints_command(); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 118: -#line 564 "parser.y" + case 119: +#line 568 "parser.y" { bx_dbg_info_registers_command(BX_INFO_GENERAL_PURPOSE_REGS | BX_INFO_FPU_REGS | BX_INFO_SSE_REGS); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 119: -#line 569 "parser.y" + case 120: +#line 573 "parser.y" { bx_dbg_info_idt_command((yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval)); free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); } break; - case 120: -#line 574 "parser.y" + case 121: +#line 578 "parser.y" { bx_dbg_info_ivt_command((yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval)); free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); } break; - case 121: -#line 579 "parser.y" + case 122: +#line 583 "parser.y" { bx_dbg_info_gdt_command((yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval)); free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); } break; - case 122: -#line 584 "parser.y" + case 123: +#line 588 "parser.y" { bx_dbg_info_ldt_command((yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval)); free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); } break; - case 123: -#line 589 "parser.y" + case 124: +#line 593 "parser.y" { bx_dbg_dump_table(); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 124: -#line 594 "parser.y" + case 125: +#line 598 "parser.y" { bx_dbg_info_tss_command(); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 125: -#line 599 "parser.y" + case 126: +#line 603 "parser.y" { bx_dbg_info_flags(); free((yyvsp[(1) - (3)].sval)); } break; - case 126: -#line 604 "parser.y" + case 127: +#line 608 "parser.y" { bx_dbg_info_linux_command(); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 127: -#line 609 "parser.y" + case 128: +#line 613 "parser.y" { bx_dbg_info_symbols_command(0); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 128: -#line 614 "parser.y" + case 129: +#line 618 "parser.y" { bx_dbg_info_symbols_command((yyvsp[(3) - (4)].sval)); free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); free((yyvsp[(3) - (4)].sval)); } break; - case 129: -#line 619 "parser.y" + case 130: +#line 623 "parser.y" { bx_dbg_info_ne2k(-1, -1); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 130: -#line 624 "parser.y" + case 131: +#line 628 "parser.y" { free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); free((yyvsp[(3) - (5)].sval)); bx_dbg_info_ne2k((yyvsp[(4) - (5)].uval), -1); } break; - case 131: -#line 629 "parser.y" + case 132: +#line 633 "parser.y" { 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)); } break; - case 132: -#line 634 "parser.y" + case 133: +#line 638 "parser.y" { bx_dbg_info_pic(); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 133: -#line 639 "parser.y" + case 134: +#line 643 "parser.y" { bx_dbg_info_vga(); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 134: -#line 644 "parser.y" + case 135: +#line 648 "parser.y" { bx_dbg_info_pci(); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 135: -#line 651 "parser.y" + case 136: +#line 655 "parser.y" { (yyval.uval) = EMPTY_ARG; } break; - case 137: -#line 656 "parser.y" + case 138: +#line 660 "parser.y" { bx_dbg_info_registers_command(BX_INFO_GENERAL_PURPOSE_REGS); free((yyvsp[(1) - (2)].sval)); } break; - case 138: -#line 664 "parser.y" + case 139: +#line 668 "parser.y" { bx_dbg_info_registers_command(BX_INFO_FPU_REGS); free((yyvsp[(1) - (2)].sval)); } break; - case 139: -#line 672 "parser.y" + case 140: +#line 676 "parser.y" { bx_dbg_info_registers_command(BX_INFO_MMX_REGS); free((yyvsp[(1) - (2)].sval)); } break; - case 140: -#line 680 "parser.y" + case 141: +#line 684 "parser.y" { bx_dbg_info_registers_command(BX_INFO_SSE_REGS); free((yyvsp[(1) - (2)].sval)); } break; - case 141: -#line 688 "parser.y" + case 142: +#line 692 "parser.y" { bx_dbg_info_segment_regs_command(); free((yyvsp[(1) - (2)].sval)); } break; - case 142: -#line 696 "parser.y" + case 143: +#line 700 "parser.y" { bx_dbg_info_control_regs_command(); free((yyvsp[(1) - (2)].sval)); } break; - case 143: -#line 704 "parser.y" + case 144: +#line 708 "parser.y" { bx_dbg_info_debug_regs_command(); free((yyvsp[(1) - (2)].sval)); } break; - case 144: -#line 712 "parser.y" + case 145: +#line 716 "parser.y" { bx_dbg_del_breakpoint_command((yyvsp[(2) - (3)].uval)); free((yyvsp[(1) - (3)].sval)); } break; - case 145: -#line 720 "parser.y" + case 146: +#line 724 "parser.y" { bx_dbg_en_dis_breakpoint_command((yyvsp[(2) - (3)].uval), 1); free((yyvsp[(1) - (3)].sval)); } break; - case 146: -#line 727 "parser.y" + case 147: +#line 731 "parser.y" { bx_dbg_en_dis_breakpoint_command((yyvsp[(2) - (3)].uval), 0); free((yyvsp[(1) - (3)].sval)); } break; - case 147: -#line 735 "parser.y" + case 148: +#line 739 "parser.y" { bx_dbg_quit_command(); free((yyvsp[(1) - (2)].sval)); } break; - case 148: -#line 743 "parser.y" + case 149: +#line 747 "parser.y" { 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)); } break; - case 149: -#line 748 "parser.y" + case 150: +#line 752 "parser.y" { 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)); } break; - case 150: -#line 753 "parser.y" + case 151: +#line 757 "parser.y" { bx_dbg_examine_command((yyvsp[(1) - (3)].sval), NULL,0, (yyvsp[(2) - (3)].uval), 1); free((yyvsp[(1) - (3)].sval)); } break; - case 151: -#line 758 "parser.y" + case 152: +#line 762 "parser.y" { bx_dbg_examine_command((yyvsp[(1) - (2)].sval), NULL,0, 0, 0); free((yyvsp[(1) - (2)].sval)); } break; - case 152: -#line 766 "parser.y" + case 153: +#line 770 "parser.y" { 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)); } break; - case 153: -#line 774 "parser.y" + case 154: +#line 778 "parser.y" { bx_dbg_setpmem_command((yyvsp[(2) - (5)].uval), (yyvsp[(3) - (5)].uval), (yyvsp[(4) - (5)].uval)); free((yyvsp[(1) - (5)].sval)); } break; - case 154: -#line 782 "parser.y" + case 155: +#line 786 "parser.y" { bx_dbg_query_command((yyvsp[(2) - (3)].sval)); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 155: -#line 790 "parser.y" + case 156: +#line 794 "parser.y" { bx_dbg_take_command((yyvsp[(2) - (3)].sval), 1); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 156: -#line 795 "parser.y" + case 157: +#line 799 "parser.y" { bx_dbg_take_command((yyvsp[(2) - (4)].sval), (yyvsp[(3) - (4)].uval)); free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval)); } break; - case 157: -#line 800 "parser.y" + case 158: +#line 804 "parser.y" { bx_dbg_take_command((yyvsp[(2) - (3)].sval), 1); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 158: -#line 808 "parser.y" + case 159: +#line 812 "parser.y" { bx_dbg_disassemble_current(NULL); free((yyvsp[(1) - (2)].sval)); } break; - case 159: -#line 813 "parser.y" + case 160: +#line 817 "parser.y" { bx_dbg_disassemble_command(NULL, (yyvsp[(2) - (3)].uval), (yyvsp[(2) - (3)].uval)); free((yyvsp[(1) - (3)].sval)); } break; - case 160: -#line 818 "parser.y" + case 161: +#line 822 "parser.y" { bx_dbg_disassemble_command(NULL, (yyvsp[(2) - (4)].uval), (yyvsp[(3) - (4)].uval)); free((yyvsp[(1) - (4)].sval)); } break; - case 161: -#line 823 "parser.y" + case 162: +#line 827 "parser.y" { bx_dbg_disassemble_current((yyvsp[(2) - (3)].sval)); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 162: -#line 828 "parser.y" + case 163: +#line 832 "parser.y" { 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)); } break; - case 163: -#line 833 "parser.y" + case 164: +#line 837 "parser.y" { 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)); } break; - case 164: -#line 838 "parser.y" + case 165: +#line 842 "parser.y" { bx_dbg_disassemble_switch_mode(); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); } break; - case 165: -#line 843 "parser.y" + case 166: +#line 847 "parser.y" { bx_dbg_set_disassemble_size((yyvsp[(4) - (5)].uval)); free((yyvsp[(1) - (5)].sval)); free((yyvsp[(2) - (5)].sval)); } break; - case 166: -#line 851 "parser.y" - { - bx_dbg_instrument_command((yyvsp[(2) - (3)].sval)); - free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); - } - break; - case 167: -#line 856 "parser.y" +#line 855 "parser.y" { bx_dbg_instrument_command((yyvsp[(2) - (3)].sval)); free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); @@ -3069,39 +3080,47 @@ yyreduce: break; case 168: -#line 864 "parser.y" +#line 860 "parser.y" + { + bx_dbg_instrument_command((yyvsp[(2) - (3)].sval)); + free((yyvsp[(1) - (3)].sval)); free((yyvsp[(2) - (3)].sval)); + } + break; + + case 169: +#line 868 "parser.y" { bx_dbg_doit_command((yyvsp[(2) - (3)].uval)); free((yyvsp[(1) - (3)].sval)); } break; - case 169: -#line 872 "parser.y" + case 170: +#line 876 "parser.y" { bx_dbg_crc_command((yyvsp[(2) - (4)].uval), (yyvsp[(3) - (4)].uval)); free((yyvsp[(1) - (4)].sval)); } break; - case 170: -#line 880 "parser.y" + case 171: +#line 884 "parser.y" { dbg_printf("q|quit|exit - quit debugger and emulator execution\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 171: -#line 885 "parser.y" + case 172: +#line 889 "parser.y" { dbg_printf("c|cont|continue - continue executing\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 172: -#line 890 "parser.y" + case 173: +#line 894 "parser.y" { dbg_printf("s|step [count] - execute #count instructions on current processor (default is one instruction)\n"); dbg_printf("s|step [cpu] - execute #count instructions on processor #cpu\n"); @@ -3110,88 +3129,88 @@ yyreduce: } break; - case 173: -#line 897 "parser.y" + case 174: +#line 901 "parser.y" { dbg_printf("n|next|p - execute instruction stepping over subroutines\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 174: -#line 902 "parser.y" + case 175: +#line 906 "parser.y" { dbg_printf("vb|vbreak - set a virtual address instruction breakpoint\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 175: -#line 907 "parser.y" + case 176: +#line 911 "parser.y" { dbg_printf("lb|lbreak - set a linear address instruction breakpoint\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 176: -#line 912 "parser.y" + case 177: +#line 916 "parser.y" { dbg_printf("p|pb|break|pbreak - set a physical address instruction breakpoint\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 177: -#line 917 "parser.y" + case 178: +#line 921 "parser.y" { dbg_printf("d|del|delete - delete a breakpoint\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 178: -#line 922 "parser.y" + case 179: +#line 926 "parser.y" { dbg_printf("bpe - enable a breakpoint\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 179: -#line 927 "parser.y" + case 180: +#line 931 "parser.y" { dbg_printf("bpd - disable a breakpoint\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 180: -#line 932 "parser.y" + case 181: +#line 936 "parser.y" { dbg_printf("blist - list all breakpoints (same as 'info break')\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 181: -#line 937 "parser.y" + case 182: +#line 941 "parser.y" { dbg_printf("modebp - toggles mode switch breakpoint\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 182: -#line 942 "parser.y" + case 183: +#line 946 "parser.y" { dbg_printf("crc - show CRC32 for physical memory range addr1..addr2\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 183: -#line 947 "parser.y" + case 184: +#line 951 "parser.y" { dbg_printf("trace on - print disassembly for every executed instruction\n"); dbg_printf("trace off - disable instruction tracing\n"); @@ -3199,8 +3218,8 @@ yyreduce: } break; - case 184: -#line 953 "parser.y" + case 185: +#line 957 "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"); @@ -3208,8 +3227,8 @@ yyreduce: } break; - case 185: -#line 959 "parser.y" + case 186: +#line 963 "parser.y" { dbg_printf("trace-mem on - print all memory accesses occured during instruction execution\n"); dbg_printf("trace-mem off - disable memory accesses tracing\n"); @@ -3217,8 +3236,8 @@ yyreduce: } break; - case 186: -#line 965 "parser.y" + case 187: +#line 969 "parser.y" { dbg_printf("restore [path] - restore bochs root param from the file\n"); dbg_printf("for example:\n"); @@ -3228,128 +3247,128 @@ yyreduce: } break; - case 187: -#line 973 "parser.y" + case 188: +#line 977 "parser.y" { dbg_printf("ptime - print current time (number of ticks since start of simulation)\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 188: -#line 978 "parser.y" + case 189: +#line 982 "parser.y" { dbg_printf("sb - insert a time breakpoint delta instructions into the future\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 189: -#line 983 "parser.y" + case 190: +#line 987 "parser.y" { dbg_printf("sba