From 1c68cb8243e5b415227e77f806f3d2188c157a4a Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Wed, 30 Dec 2009 19:20:27 +0000 Subject: [PATCH] help dreg cmd fix --- bochs/bx_debug/parser.c | 1089 ++++++++++++++++++++------------------- bochs/bx_debug/parser.y | 7 +- 2 files changed, 556 insertions(+), 540 deletions(-) diff --git a/bochs/bx_debug/parser.c b/bochs/bx_debug/parser.c index 3f5b122dc..85fd2ea7c 100644 --- a/bochs/bx_debug/parser.c +++ b/bochs/bx_debug/parser.c @@ -552,18 +552,18 @@ union yyalloc #endif /* YYFINAL -- State number of the termination state. */ -#define YYFINAL 275 +#define YYFINAL 276 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 1367 +#define YYLAST 1360 /* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 120 /* YYNNTS -- Number of nonterminals. */ #define YYNNTS 54 /* YYNRULES -- Number of rules. */ -#define YYNRULES 263 +#define YYNRULES 264 /* YYNRULES -- Number of states. */ -#define YYNSTATES 509 +#define YYNSTATES 511 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 @@ -640,12 +640,12 @@ static const yytype_uint16 yyprhs[] = 628, 632, 636, 640, 644, 648, 652, 656, 660, 664, 668, 672, 676, 680, 684, 688, 692, 696, 700, 704, 708, 712, 716, 720, 724, 728, 732, 736, 740, 744, - 748, 752, 756, 760, 764, 768, 771, 775, 777, 779, - 781, 783, 785, 787, 789, 791, 793, 795, 797, 801, - 805, 809, 813, 817, 821, 825, 829, 833, 836, 839, - 843, 845, 847, 849, 851, 853, 855, 857, 859, 861, - 863, 865, 869, 873, 877, 881, 885, 889, 893, 897, - 901, 905, 908, 911 + 748, 752, 756, 760, 764, 768, 772, 775, 779, 781, + 783, 785, 787, 789, 791, 793, 795, 797, 799, 801, + 805, 809, 813, 817, 821, 825, 829, 833, 837, 840, + 843, 847, 849, 851, 853, 855, 857, 859, 861, 863, + 865, 867, 869, 873, 877, 881, 885, 889, 893, 897, + 901, 905, 909, 912, 915 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ @@ -723,26 +723,26 @@ static const yytype_int16 yyrhs[] = 114, -1, 94, 86, 114, -1, 94, 124, 114, -1, 94, 35, 114, -1, 94, 37, 114, -1, 94, 36, 114, -1, 94, 48, 114, -1, 94, 47, 114, -1, - 94, 53, 114, -1, 94, 61, 114, -1, 94, 79, - 114, -1, 94, 80, 114, -1, 94, 49, 114, -1, - 94, 62, 114, -1, 94, 21, 114, -1, 94, 93, - 114, -1, 94, 30, 114, -1, 94, 83, 114, -1, - 94, 95, 114, -1, 94, 94, 114, -1, 94, 114, - -1, 95, 173, 114, -1, 90, -1, 63, -1, 4, - -1, 3, -1, 5, -1, 6, -1, 7, -1, 125, - -1, 102, -1, 103, -1, 104, -1, 172, 105, 172, - -1, 172, 106, 172, -1, 172, 109, 172, -1, 172, - 110, 172, -1, 172, 100, 172, -1, 172, 101, 172, - -1, 172, 107, 172, -1, 172, 108, 172, -1, 172, - 111, 172, -1, 117, 172, -1, 106, 172, -1, 118, - 172, 119, -1, 90, -1, 63, -1, 4, -1, 3, - -1, 5, -1, 6, -1, 7, -1, 125, -1, 102, - -1, 103, -1, 104, -1, 173, 116, 173, -1, 173, - 105, 173, -1, 173, 106, 173, -1, 173, 109, 173, - -1, 173, 110, 173, -1, 173, 100, 173, -1, 173, - 101, 173, -1, 173, 107, 173, -1, 173, 108, 173, - -1, 173, 111, 173, -1, 117, 173, -1, 106, 173, - -1, 118, 173, 119, -1 + 94, 46, 114, -1, 94, 53, 114, -1, 94, 61, + 114, -1, 94, 79, 114, -1, 94, 80, 114, -1, + 94, 49, 114, -1, 94, 62, 114, -1, 94, 21, + 114, -1, 94, 93, 114, -1, 94, 30, 114, -1, + 94, 83, 114, -1, 94, 95, 114, -1, 94, 94, + 114, -1, 94, 114, -1, 95, 173, 114, -1, 90, + -1, 63, -1, 4, -1, 3, -1, 5, -1, 6, + -1, 7, -1, 125, -1, 102, -1, 103, -1, 104, + -1, 172, 105, 172, -1, 172, 106, 172, -1, 172, + 109, 172, -1, 172, 110, 172, -1, 172, 100, 172, + -1, 172, 101, 172, -1, 172, 107, 172, -1, 172, + 108, 172, -1, 172, 111, 172, -1, 117, 172, -1, + 106, 172, -1, 118, 172, 119, -1, 90, -1, 63, + -1, 4, -1, 3, -1, 5, -1, 6, -1, 7, + -1, 125, -1, 102, -1, 103, -1, 104, -1, 173, + 116, 173, -1, 173, 105, 173, -1, 173, 106, 173, + -1, 173, 109, 173, -1, 173, 110, 173, -1, 173, + 100, 173, -1, 173, 101, 173, -1, 173, 107, 173, + -1, 173, 108, 173, -1, 173, 111, 173, -1, 117, + 173, -1, 106, 173, -1, 118, 173, 119, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ @@ -768,13 +768,13 @@ static const yytype_uint16 yyrline[] = 873, 881, 889, 894, 899, 906, 911, 916, 921, 926, 931, 936, 941, 946, 951, 956, 962, 968, 974, 982, 987, 992, 997, 1002, 1007, 1012, 1017, 1022, 1027, 1032, - 1037, 1042, 1047, 1052, 1057, 1067, 1078, 1084, 1097, 1102, - 1112, 1117, 1133, 1145, 1155, 1160, 1168, 1186, 1187, 1188, - 1189, 1190, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198, - 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, - 1213, 1214, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222, - 1223, 1224, 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, - 1233, 1234, 1235, 1236 + 1037, 1042, 1047, 1052, 1057, 1062, 1072, 1083, 1089, 1102, + 1107, 1117, 1122, 1138, 1150, 1160, 1165, 1173, 1191, 1192, + 1193, 1194, 1195, 1196, 1197, 1198, 1199, 1200, 1201, 1202, + 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, + 1213, 1218, 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, + 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, + 1237, 1238, 1239, 1240, 1241 }; #endif @@ -879,12 +879,12 @@ static const yytype_uint8 yyr1[] = 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, 170, - 170, 170, 170, 170, 170, 170, 171, 172, 172, 172, + 170, 170, 170, 170, 170, 170, 170, 171, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 172, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, - 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, - 173, 173, 173, 173 + 173, 173, 173, 173, 173 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ @@ -911,12 +911,12 @@ static const yytype_uint8 yyr2[] = 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, 2, 2, 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, 2, 2, 3 }; /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state @@ -936,10 +936,10 @@ static const yytype_uint16 yydefact[] = 24, 25, 26, 27, 28, 29, 30, 31, 47, 48, 93, 0, 0, 94, 98, 0, 0, 0, 0, 0, 55, 56, 57, 58, 59, 60, 0, 0, 0, 115, - 220, 219, 221, 222, 223, 218, 217, 225, 226, 227, - 0, 107, 0, 0, 224, 0, 243, 242, 244, 245, - 246, 241, 240, 248, 249, 250, 0, 109, 0, 0, - 247, 0, 241, 0, 112, 0, 0, 0, 0, 0, + 221, 220, 222, 223, 224, 219, 218, 226, 227, 228, + 0, 107, 0, 0, 225, 0, 244, 243, 245, 246, + 247, 242, 241, 249, 250, 251, 0, 109, 0, 0, + 248, 0, 242, 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, @@ -951,30 +951,31 @@ static const yytype_uint16 yydefact[] = 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, 215, 0, 0, 1, 2, 138, 0, 0, - 95, 0, 0, 0, 0, 0, 0, 0, 0, 238, - 237, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 111, 262, 261, 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, 0, 165, 0, 0, 160, 0, 168, 169, 170, - 0, 71, 72, 73, 62, 61, 63, 64, 75, 77, - 0, 76, 0, 0, 86, 67, 66, 0, 87, 0, - 117, 92, 69, 173, 174, 175, 209, 182, 176, 177, - 178, 179, 180, 181, 211, 172, 198, 200, 199, 202, - 201, 207, 188, 203, 204, 208, 184, 185, 186, 187, - 189, 191, 190, 193, 194, 183, 192, 205, 206, 212, - 195, 196, 210, 214, 213, 197, 216, 96, 97, 0, - 0, 0, 0, 0, 0, 99, 0, 239, 232, 233, - 228, 229, 234, 235, 230, 231, 236, 0, 263, 256, - 257, 252, 253, 258, 259, 254, 255, 260, 251, 114, - 0, 0, 0, 0, 129, 0, 149, 153, 0, 157, - 163, 0, 166, 0, 253, 161, 171, 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, 167, 82, 83, 84, 90, 0, 132 + 0, 0, 0, 216, 0, 0, 1, 2, 138, 0, + 0, 95, 0, 0, 0, 0, 0, 0, 0, 0, + 239, 238, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 111, 263, 262, 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, 0, 165, 0, 0, 160, 0, 168, 169, + 170, 0, 71, 72, 73, 62, 61, 63, 64, 75, + 77, 0, 76, 0, 0, 86, 67, 66, 0, 87, + 0, 117, 92, 69, 173, 174, 175, 210, 182, 176, + 177, 178, 179, 180, 181, 212, 172, 198, 200, 199, + 203, 202, 201, 208, 188, 204, 205, 209, 184, 185, + 186, 187, 189, 191, 190, 193, 194, 183, 192, 206, + 207, 213, 195, 196, 211, 215, 214, 197, 217, 96, + 97, 0, 0, 0, 0, 0, 0, 99, 0, 240, + 233, 234, 229, 230, 235, 236, 231, 232, 237, 0, + 264, 257, 258, 253, 254, 259, 260, 255, 256, 261, + 252, 114, 0, 0, 0, 0, 129, 0, 149, 153, + 0, 157, 163, 0, 166, 0, 254, 161, 171, 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, 167, 82, 83, 84, 90, 0, + 132 }; /* YYDEFGOTO[NTERM-NUM]. */ @@ -982,7 +983,7 @@ static const yytype_int16 yydefgoto[] = { -1, 52, 53, 201, 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, 326, + 69, 70, 71, 72, 73, 74, 75, 76, 77, 327, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 135, 151 @@ -990,358 +991,359 @@ static const yytype_int16 yydefgoto[] = /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ -#define YYPACT_NINF -152 +#define YYPACT_NINF -162 static const yytype_int16 yypact[] = { - 957, -95, -11, -91, 186, -89, 589, 660, 525, -58, - -56, -35, 1114, -85, -152, -152, -50, -43, -42, -39, - -37, -30, 572, 39, 2, 52, -41, 456, -61, 16, - 27, 50, 50, 50, 4, 41, 42, 70, 71, 22, - -84, -1, 705, 49, -27, -55, 23, 48, 838, 1037, - 838, -152, 21, -152, 26, -152, -152, -152, -152, -152, - -152, -152, -152, -152, -152, -152, -152, -152, -152, -152, - -152, -152, -152, -152, -152, -152, -152, -152, -152, -152, - -152, -152, -152, -152, -152, -152, -152, -152, -152, -152, - -152, -152, -152, -152, -152, -152, -152, -152, -152, -152, - -152, 54, -29, -152, -152, 30, 34, 68, 73, 85, - -152, -152, -152, -152, -152, -152, 86, 50, 87, -152, - -152, -152, -152, -152, -152, -152, -152, -152, -152, -152, - 855, -152, 855, 855, -152, 1239, -152, -152, -152, -152, - -152, 72, -152, -152, -152, -152, 838, -152, 838, 838, - -152, 503, -152, 838, -152, 540, 90, 96, 97, 99, - 100, 101, 95, 95, 95, 95, 102, 115, 116, -52, - -86, 118, 122, 123, -152, -152, -152, -152, -152, -152, - -152, 722, -152, 637, 175, 151, 128, 29, 129, 793, - 50, 130, 131, -152, 117, 134, 150, 154, 155, -152, - -152, 159, 165, 166, -152, 179, 180, 181, 182, -152, - 183, -152, 184, 838, 194, 838, 838, -152, -152, 770, - 206, 207, -152, 89, 259, 209, -152, -152, 210, 815, - 211, 212, 213, 214, 215, 216, 230, 234, 235, 243, - 244, 246, 248, 253, 254, 256, 257, 258, 260, 261, - 262, 263, 264, 278, 280, 295, 298, 299, 300, 301, - 303, 308, 309, 311, 313, 329, 333, 334, 338, 339, - 341, 343, -152, 358, 1060, -152, -152, -152, 359, 360, - -152, 838, 838, 838, 838, 838, 269, 368, 838, -152, - -152, 370, 855, 855, 855, 855, 855, 855, 855, 855, - 855, 855, -152, 153, 153, 245, 838, 838, 838, 838, - 838, 838, 838, 838, 838, -152, 838, 1072, -152, -152, - -152, -152, -152, -152, -152, -152, 95, 95, 95, 95, - -152, -152, -152, 369, -152, 283, -152, -152, -152, -152, - -152, 1084, -152, 372, 364, -152, 373, -152, -152, -152, - 149, 374, -152, 394, 838, -152, 1107, -152, -152, -152, - 376, -152, -152, -152, -152, -152, -152, -152, -152, -152, - 279, -152, 328, 395, -152, -152, -152, 377, -152, 91, - -152, -152, -152, -152, -152, -152, -152, -152, -152, -152, - -152, -152, -152, -152, -152, -152, -152, -152, -152, -152, - -152, -152, -152, -152, -152, -152, -152, -152, -152, -152, - -152, -152, -152, -152, -152, -152, -152, -152, -152, -152, - -152, -152, -152, -152, -152, -152, -152, -152, -152, 1119, - 1131, 1143, 1155, 1167, 378, -152, 1179, -152, -152, -152, - 161, 161, 161, 161, -152, -152, -152, 442, -152, 153, - 153, 310, 310, 310, 310, 153, 153, 153, 1251, -152, - 379, 380, 396, 400, -152, -23, -152, -152, 401, -152, - -152, 1191, -152, 403, 340, -152, -152, -152, 1203, -152, - 1215, -152, 1227, -152, 404, -152, -152, -152, -152, -152, - -152, -152, -152, -152, -152, -152, -152, -152, -152, 418, - -152, -152, -152, -152, -152, -152, -152, 406, -152 + 950, -97, -33, -95, 781, -93, 515, 583, 259, -59, + -57, -54, 138, -80, -162, -162, -44, -43, -40, -36, + -35, -30, 467, 2, -10, 29, -29, 41, -38, -3, + 10, 53, 53, 53, -11, 12, 16, 45, 46, -4, + -76, -9, 603, -56, -47, -51, 15, 36, 720, 1030, + 720, -162, 870, -162, 35, -162, -162, -162, -162, -162, + -162, -162, -162, -162, -162, -162, -162, -162, -162, -162, + -162, -162, -162, -162, -162, -162, -162, -162, -162, -162, + -162, -162, -162, -162, -162, -162, -162, -162, -162, -162, + -162, -162, -162, -162, -162, -162, -162, -162, -162, -162, + -162, 40, -58, -162, -162, 17, 38, 39, 42, 47, + -162, -162, -162, -162, -162, -162, 50, 53, 55, -162, + -162, -162, -162, -162, -162, -162, -162, -162, -162, -162, + 765, -162, 765, 765, -162, 1232, -162, -162, -162, -162, + -162, 57, -162, -162, -162, -162, 720, -162, 720, 720, + -162, 695, -162, 720, -162, 740, 61, 70, 71, 72, + 84, 85, 66, 66, 66, 66, 87, 88, 89, -50, + -75, 90, 91, 93, -162, -162, -162, -162, -162, -162, + -162, 632, -162, 1021, 97, 132, 111, -53, 119, 649, + 53, 129, 130, -162, 110, 134, 135, 137, 154, -162, + -162, 139, 140, 141, -162, 142, 143, 144, 145, -162, + 146, -162, 147, 720, 159, 720, 720, -162, -162, 1040, + 160, 166, -162, -31, 98, 167, -162, -162, 180, 1052, + 181, 182, 183, 184, 185, 195, 207, 209, 210, 211, + 212, 213, 214, 215, 216, 217, 233, 243, 244, 246, + 255, 257, 258, 260, 261, 264, 265, 279, 281, 296, + 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, + 309, 310, 311, -162, 312, 1064, -162, -162, -162, 313, + 314, -162, 720, 720, 720, 720, 720, 156, 327, 720, + -162, -162, -12, 765, 765, 765, 765, 765, 765, 765, + 765, 765, 765, -162, 136, 136, 131, 720, 720, 720, + 720, 720, 720, 720, 720, 720, -162, 720, 1076, -162, + -162, -162, -162, -162, -162, -162, -162, 66, 66, 66, + 66, -162, -162, -162, 328, -162, 354, -162, -162, -162, + -162, -162, 1088, -162, 346, 371, -162, 348, -162, -162, + -162, 280, 349, -162, 374, 720, -162, 1100, -162, -162, + -162, 351, -162, -162, -162, -162, -162, -162, -162, -162, + -162, 329, -162, 396, 445, -162, -162, -162, 352, -162, + -28, -162, -162, -162, -162, -162, -162, -162, -162, -162, + -162, -162, -162, -162, -162, -162, -162, -162, -162, -162, + -162, -162, -162, -162, -162, -162, -162, -162, -162, -162, + -162, -162, -162, -162, -162, -162, -162, -162, -162, -162, + -162, -162, -162, -162, -162, -162, -162, -162, -162, -162, + -162, 1112, 1124, 1136, 1148, 1160, 353, -162, 1172, -162, + -162, -162, 27, 27, 27, 27, -162, -162, -162, 245, + -162, 136, 136, -34, -34, -34, -34, 136, 136, 136, + 1244, -162, 355, 367, 368, 369, -162, -23, -162, -162, + 370, -162, -162, 1184, -162, 373, 24, -162, -162, -162, + 1196, -162, 1208, -162, 1220, -162, 375, -162, -162, -162, + -162, -162, -162, -162, -162, -162, -162, -162, -162, -162, + -162, 378, -162, -162, -162, -162, -162, -162, -162, 376, + -162 }; /* YYPGOTO[NTERM-NUM]. */ static const yytype_int16 yypgoto[] = { - -152, -152, 469, -6, -49, 18, -152, -152, -152, -152, - -152, -152, -152, -152, -152, -152, -152, -152, -152, -152, - -152, -152, -152, -152, -152, -152, -152, -152, -152, -151, - -152, -152, -152, -152, -152, -152, -152, -152, -152, -152, - -152, -152, -152, -152, -152, -152, -152, -152, -152, -152, - -152, -152, -128, -7 + -162, -162, 433, -27, -49, 18, -162, -162, -162, -162, + -162, -162, -162, -162, -162, -162, -162, -162, -162, -162, + -162, -162, -162, -162, -162, -162, -162, -162, -162, -161, + -162, -162, -162, -162, -162, -162, -162, -162, -162, -162, + -162, -162, -162, -162, -162, -162, -162, -162, -162, -162, + -162, -162, -105, -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 -263 +#define YYTABLE_NINF -264 static const yytype_int16 yytable[] = { - 273, 155, 289, 195, 290, 291, 210, 335, 225, 14, - 15, 333, 327, 328, 329, 183, 212, 187, 188, 100, - 194, 275, 118, 104, 134, 119, 202, 203, 336, 174, - 211, 213, 156, 101, 157, 219, 223, 196, 1, 2, - 3, 229, 4, 274, 5, 6, 7, 8, 9, 10, - 11, 12, 13, 14, 15, 158, 16, 17, 18, 226, - 224, 279, 334, 214, 175, 199, 200, 19, 20, 21, - 22, 176, 177, 23, 24, 178, 25, 179, 26, 102, - 215, 216, 27, 28, 180, 280, 29, 30, 31, 32, - 33, 498, 185, 34, 35, 36, 37, 38, 39, 40, - 41, 42, 184, 103, 43, 44, 197, 45, 186, 46, - 47, 287, 220, 217, 48, 49, 50, 198, 204, 346, - 136, 137, 138, 139, 140, 110, 111, 112, 113, 114, - 115, 205, 206, 207, 208, 51, 209, 227, 228, 303, - 277, 304, 305, 347, 278, 281, 317, 221, 134, 282, - 134, 134, 136, 137, 138, 139, 140, 110, 111, 112, - 113, 114, 115, 222, 438, 439, 440, 441, 442, 443, - 444, 445, 446, 447, 341, 460, 461, 462, 463, 377, - 152, 484, 350, 283, 351, 325, 302, 356, 284, 105, - 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, - 285, 286, 288, 378, 319, 485, 370, 142, 372, 373, - 320, 321, 152, 322, 323, 324, 330, 306, 307, 143, - 144, 145, 308, 354, 310, 311, 312, 313, 314, 331, - 332, 355, 337, 316, 148, 149, 338, 339, 343, 142, - 116, 344, 345, 348, 352, 360, 353, 117, 357, 306, - 307, 143, 144, 145, 308, 354, 310, 311, 312, 313, - 314, 292, 293, 470, 358, 316, 148, 149, 359, 316, - 298, 299, 300, 361, 429, 430, 431, 432, 433, 362, - 363, 436, 136, 137, 138, 139, 140, 110, 111, 112, - 113, 114, 115, 364, 365, 366, 367, 368, 369, 449, - 450, 451, 452, 453, 454, 455, 456, 457, 371, 458, - 134, 134, 134, 134, 134, 134, 134, 134, 134, 134, - 375, 376, 379, 380, 381, 383, 384, 385, 386, 387, - 388, 136, 137, 138, 139, 140, 110, 111, 112, 113, - 114, 115, 152, 471, 389, 306, 307, 474, 390, 391, - 308, 309, 310, 311, 312, 313, 314, 392, 393, 434, - 394, 316, 395, 478, 448, 480, 482, 396, 397, 142, - 398, 399, 400, 465, 401, 402, 403, 404, 405, 306, - 307, 143, 144, 145, 308, 354, 310, 311, 312, 313, - 314, 152, 406, 477, 407, 316, 148, 149, 136, 137, - 138, 139, 140, 110, 111, 112, 113, 114, 115, 408, - 306, 307, 409, 410, 411, 412, 499, 413, 142, 312, - 313, 314, 414, 415, 0, 416, 316, 417, 306, 307, - 143, 144, 145, 308, 354, 310, 311, 312, 313, 314, - -262, -262, 479, 418, 316, 148, 149, 419, 420, -262, - -262, -262, 421, 422, 468, 423, 316, 424, 152, 136, + 274, 155, 328, 329, 330, 202, 203, 220, 212, 14, + 15, 101, 225, 334, 210, 183, 223, 100, 336, 104, + 194, 119, 118, 213, 134, 290, 195, 291, 292, 187, + 188, 156, 280, 157, 174, 219, 158, 347, 211, 337, + 224, 229, 221, 275, 136, 137, 138, 139, 140, 110, + 111, 112, 113, 114, 115, 214, 281, 102, 222, 378, + 196, 348, 486, 226, 335, 184, 307, 308, 199, 200, + 175, 176, 215, 216, 177, 313, 314, 315, 178, 179, + 185, 103, 317, 379, 180, 186, 487, 197, 293, 294, + 288, 500, 189, 295, 296, 297, 298, 299, 300, 301, + 198, 190, 205, 204, 152, 217, 206, 439, 207, 208, + 209, 191, 192, 136, 137, 138, 139, 140, 110, 111, + 112, 113, 114, 115, -263, -263, 228, 293, 294, 227, + 279, 142, 282, -263, -263, -263, 299, 300, 301, 304, + 317, 305, 306, 143, 144, 145, 318, 146, 134, 278, + 134, 134, 159, 283, 284, 193, 326, 285, 148, 149, + 344, 380, 286, 352, 160, 287, 462, 463, 464, 465, + 289, 303, 161, 152, 342, 320, 162, 163, 164, 165, + 166, 167, 351, 168, 321, 322, 323, 357, 440, 441, + 442, 443, 444, 445, 446, 447, 448, 449, 324, 325, + 142, 331, 332, 333, 338, 339, 371, 340, 373, 374, + 307, 308, 143, 144, 145, 309, 355, 311, 312, 313, + 314, 315, 345, 169, 356, 346, 317, 148, 149, 170, + 171, 307, 308, 349, 172, 173, 309, 310, 311, 312, + 313, 314, 315, 353, 361, 354, 436, 317, 358, 359, + 450, 360, 317, 362, 363, 364, 365, 366, 367, 368, + 369, 370, 136, 137, 138, 139, 140, 110, 111, 112, + 113, 114, 115, 372, 376, 431, 432, 433, 434, 435, + 377, 381, 438, 136, 137, 138, 139, 140, 110, 111, + 112, 113, 114, 115, 382, 384, 385, 386, 387, 388, + 451, 452, 453, 454, 455, 456, 457, 458, 459, 389, + 460, 134, 134, 134, 134, 134, 134, 134, 134, 134, + 134, 390, 152, 391, 392, 393, 394, 395, 396, 397, + 398, 399, 136, 137, 138, 139, 140, 110, 111, 112, + 113, 114, 115, 152, 473, 293, 294, 400, 476, 142, + 295, 296, 297, 298, 299, 300, 301, 401, 402, 495, + 403, 143, 144, 145, 480, 146, 482, 484, 153, 404, + 142, 405, 406, 154, 407, 408, 148, 149, 409, 410, + 307, 308, 143, 144, 145, 309, 355, 311, 312, 313, + 314, 315, 152, 411, 472, 412, 317, 148, 149, 136, 137, 138, 139, 140, 110, 111, 112, 113, 114, 115, - 292, 293, 425, 427, 428, 294, 295, 296, 297, 298, - 299, 300, 435, 464, 473, 142, 467, 469, 472, 437, - 476, 483, 491, 494, 495, 306, 307, 143, 144, 145, - 308, 354, 310, 311, 312, 313, 314, 189, 507, 481, - 496, 316, 148, 149, 497, 500, 190, 502, 506, 152, - 508, 276, 0, 0, 0, 0, 191, 192, 136, 137, - 138, 139, 140, 110, 111, 112, 113, 114, 115, 0, - 0, 0, 292, 293, 0, 0, 142, 294, 295, 296, - 297, 298, 299, 300, 0, 0, 493, 0, 143, 144, - 145, 0, 146, 0, 0, 0, 0, 0, 0, 0, - 193, 0, 0, 148, 149, 136, 137, 138, 139, 140, - 110, 111, 112, 113, 114, 115, 0, 0, 152, 0, - 0, 0, 120, 121, 122, 123, 124, 110, 111, 112, - 113, 114, 115, 306, 307, 0, 0, 0, 308, 309, - 310, 311, 312, 313, 314, 142, 0, 315, 0, 316, - 0, 0, 181, 0, 0, 0, 0, 143, 144, 145, - 0, 146, 0, 0, 153, 152, 0, 0, 0, 154, - 306, 307, 148, 149, 0, 308, 309, 310, 311, 312, - 313, 314, 125, 0, 318, 0, 316, 0, 0, 0, - 0, 0, 142, 136, 137, 138, 139, 140, 110, 111, - 112, 113, 114, 115, 143, 144, 145, 0, 146, 126, - 0, 0, 0, 0, 0, 0, 182, 0, 0, 148, - 149, 127, 128, 129, 0, 130, 0, 0, 0, 0, - 0, 0, 0, 131, 0, 0, 132, 133, 136, 137, - 138, 139, 140, 110, 111, 112, 113, 114, 115, 0, - 0, 0, 0, 141, 0, 136, 137, 138, 139, 140, - 110, 111, 112, 113, 114, 115, 0, 306, 307, 0, - 0, 0, 308, 309, 310, 311, 312, 313, 314, 0, - 142, 342, 0, 316, 0, 0, 0, 0, 0, 0, - 0, 0, 143, 144, 145, 0, 146, 0, 152, 0, - 0, 0, 0, 0, 147, 0, 0, 148, 149, 0, - 0, 0, 0, 0, 0, 152, 0, 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, 142, 0, 0, 0, 0, 0, 0, 218, - 0, 0, 148, 149, 143, 144, 145, 0, 146, 0, - 0, 0, 0, 0, 0, 0, 340, 0, 0, 148, - 149, 136, 137, 138, 139, 140, 110, 111, 112, 113, - 114, 115, 0, 0, 0, 0, 152, 0, 120, 121, + 413, 414, 415, 416, 417, 418, 419, 420, 501, 142, + 421, 422, 423, 424, 425, 426, 427, 429, 430, 307, + 308, 143, 144, 145, 309, 355, 311, 312, 313, 314, + 315, 437, 466, 479, 467, 317, 148, 149, 136, 137, + 138, 139, 140, 110, 111, 112, 113, 114, 115, 152, + 469, 470, 471, 474, 475, 478, 485, 493, 509, 496, + 136, 137, 138, 139, 140, 110, 111, 112, 113, 114, + 115, 497, 498, 499, 502, 277, 142, 504, 0, 508, + 510, 0, 0, 0, 0, 0, 307, 308, 143, 144, + 145, 309, 355, 311, 312, 313, 314, 315, 152, 0, + 481, 0, 317, 148, 149, 0, 0, 181, 120, 121, 122, 123, 124, 110, 111, 112, 113, 114, 115, 0, - 306, 307, 0, 0, 0, 308, 309, 310, 311, 312, - 313, 314, 0, 142, 374, 0, 316, 0, 0, 0, + 152, 0, 0, 0, 0, 142, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 307, 308, 143, 144, 145, + 309, 355, 311, 312, 313, 314, 315, 142, 0, 483, + 0, 317, 148, 149, 0, 0, 0, 0, 0, 143, + 144, 145, 0, 146, 0, 0, 0, 0, 125, 0, + 0, 182, 0, 0, 148, 149, 136, 137, 138, 139, + 140, 110, 111, 112, 113, 114, 115, 0, 0, 0, + 0, 0, 0, 0, 0, 126, 136, 137, 138, 139, + 140, 110, 111, 112, 113, 114, 115, 127, 128, 129, + 0, 130, 0, 0, 0, 0, 0, 0, 0, 131, + 0, 0, 132, 133, 0, 136, 137, 138, 139, 140, + 110, 111, 112, 113, 114, 115, 141, 0, 0, 0, + 0, 0, 136, 137, 138, 139, 140, 110, 111, 112, + 113, 114, 115, 0, 0, 0, 152, 0, 0, 0, + 0, 0, 0, 142, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 143, 144, 145, 0, 146, - 0, 152, 0, 0, 0, 0, 0, 349, 0, 0, - 148, 149, 0, 0, 0, 306, 307, 0, 125, 0, - 308, 309, 310, 311, 312, 313, 314, 0, 142, 382, - 0, 316, 0, 0, 0, 0, 0, 0, 0, 0, - 143, 144, 145, 0, 146, 126, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 148, 149, 127, 128, 129, - 0, 130, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 132, 133, 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, 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, 230, 231, 232, 0, 233, 0, - 234, 235, 236, 237, 238, 239, 240, 241, 242, 14, - 15, 51, 243, 244, 245, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 246, 247, 248, 0, 0, 249, - 250, 0, 0, 0, 0, 0, 0, 0, 251, 252, - 0, 0, 0, 253, 254, 255, 256, 0, 0, 257, - 258, 259, 260, 261, 262, 263, 264, 265, 0, 0, - 266, 267, 0, 268, 0, 0, 0, 0, 159, 0, - 269, 270, 271, 0, 0, 0, 0, 0, 0, 0, - 160, 0, 0, 0, 0, 0, 0, 0, 161, 0, - 0, 272, 162, 163, 164, 165, 166, 167, 0, 168, - 306, 307, 0, 0, 0, 308, 309, 310, 311, 312, - 313, 314, 306, 307, 426, 0, 316, 308, 309, 310, - 311, 312, 313, 314, 306, 307, 459, 0, 316, 308, - 309, 310, 311, 312, 313, 314, 0, 0, 466, 169, - 316, 0, 0, 0, 0, 170, 171, 306, 307, 0, - 172, 173, 308, 309, 310, 311, 312, 313, 314, 306, - 307, 475, 0, 316, 308, 309, 310, 311, 312, 313, - 314, 306, 307, 486, 0, 316, 308, 309, 310, 311, - 312, 313, 314, 306, 307, 487, 0, 316, 308, 309, - 310, 311, 312, 313, 314, 306, 307, 488, 0, 316, - 308, 309, 310, 311, 312, 313, 314, 306, 307, 489, - 0, 316, 308, 309, 310, 311, 312, 313, 314, 306, - 307, 490, 0, 316, 308, 309, 310, 311, 312, 313, - 314, 306, 307, 492, 0, 316, 308, 309, 310, 311, - 312, 313, 314, 306, 307, 501, 0, 316, 308, 309, - 310, 311, 312, 313, 314, 306, 307, 503, 0, 316, - 308, 309, 310, 311, 312, 313, 314, 306, 307, 504, - 0, 316, 308, 309, 310, 311, 312, 313, 314, 292, - 293, 505, 0, 316, 294, 295, 296, 297, 298, 299, - 300, 306, 307, 0, 0, 301, 308, 309, 310, 311, - 312, 313, 314, 0, 0, 0, 0, 316 + 0, 0, 0, 142, 0, 152, 0, 147, 0, 0, + 148, 149, 0, 0, 0, 143, 144, 145, 0, 146, + 0, 0, 152, 0, 0, 0, 0, 218, 0, 0, + 148, 149, 142, 136, 137, 138, 139, 140, 110, 111, + 112, 113, 114, 115, 143, 144, 145, 0, 146, 142, + 0, 0, 0, 0, 0, 0, 341, 0, 0, 148, + 149, 143, 144, 145, 0, 146, 0, 0, 0, 0, + 0, 0, 0, 350, 0, 0, 148, 149, 120, 121, + 122, 123, 124, 110, 111, 112, 113, 114, 115, 0, + 0, 0, 0, 152, 105, 106, 107, 108, 109, 110, + 111, 112, 113, 114, 115, 307, 308, 0, 0, 0, + 309, 310, 311, 312, 313, 314, 315, 0, 0, 316, + 142, 317, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 143, 144, 145, 0, 146, 0, 125, 0, + 0, 0, 0, 0, 0, 116, 0, 148, 149, 0, + 307, 308, 117, 0, 0, 309, 310, 311, 312, 313, + 314, 315, 0, 0, 319, 126, 317, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 127, 128, 129, + 276, 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, + 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, + 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, 230, 231, 232, + 0, 233, 0, 234, 235, 236, 237, 238, 239, 240, + 241, 242, 14, 15, 51, 243, 244, 245, 0, 0, + 0, 0, 0, 0, 0, 0, 246, 247, 248, 249, + 0, 0, 250, 251, 0, 0, 0, 0, 0, 0, + 0, 252, 253, 0, 0, 0, 254, 255, 256, 257, + 0, 0, 258, 259, 260, 261, 262, 263, 264, 265, + 266, 0, 0, 267, 268, 0, 269, 0, 0, 0, + 0, 307, 308, 270, 271, 272, 309, 310, 311, 312, + 313, 314, 315, 0, 0, 343, 0, 317, 0, 0, + 307, 308, 0, 0, 273, 309, 310, 311, 312, 313, + 314, 315, 307, 308, 375, 0, 317, 309, 310, 311, + 312, 313, 314, 315, 307, 308, 383, 0, 317, 309, + 310, 311, 312, 313, 314, 315, 307, 308, 428, 0, + 317, 309, 310, 311, 312, 313, 314, 315, 307, 308, + 461, 0, 317, 309, 310, 311, 312, 313, 314, 315, + 307, 308, 468, 0, 317, 309, 310, 311, 312, 313, + 314, 315, 307, 308, 477, 0, 317, 309, 310, 311, + 312, 313, 314, 315, 307, 308, 488, 0, 317, 309, + 310, 311, 312, 313, 314, 315, 307, 308, 489, 0, + 317, 309, 310, 311, 312, 313, 314, 315, 307, 308, + 490, 0, 317, 309, 310, 311, 312, 313, 314, 315, + 307, 308, 491, 0, 317, 309, 310, 311, 312, 313, + 314, 315, 307, 308, 492, 0, 317, 309, 310, 311, + 312, 313, 314, 315, 307, 308, 494, 0, 317, 309, + 310, 311, 312, 313, 314, 315, 307, 308, 503, 0, + 317, 309, 310, 311, 312, 313, 314, 315, 307, 308, + 505, 0, 317, 309, 310, 311, 312, 313, 314, 315, + 307, 308, 506, 0, 317, 309, 310, 311, 312, 313, + 314, 315, 293, 294, 507, 0, 317, 295, 296, 297, + 298, 299, 300, 301, 307, 308, 0, 0, 302, 309, + 310, 311, 312, 313, 314, 315, 0, 0, 0, 0, + 317 }; static const yytype_int16 yycheck[] = { - 49, 8, 130, 64, 132, 133, 90, 93, 63, 32, - 33, 63, 163, 164, 165, 22, 17, 58, 59, 114, - 27, 0, 4, 114, 6, 114, 32, 33, 114, 114, - 114, 32, 90, 44, 90, 42, 63, 98, 17, 18, - 19, 48, 21, 50, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 90, 35, 36, 37, 114, - 87, 90, 114, 64, 114, 15, 16, 46, 47, 48, - 49, 114, 114, 52, 53, 114, 55, 114, 57, 90, - 81, 82, 61, 62, 114, 114, 65, 66, 67, 68, - 69, 114, 90, 72, 73, 74, 75, 76, 77, 78, - 79, 80, 63, 114, 83, 84, 90, 86, 56, 88, - 89, 117, 63, 114, 93, 94, 95, 90, 114, 90, + 49, 8, 163, 164, 165, 32, 33, 63, 17, 32, + 33, 44, 63, 63, 90, 22, 63, 114, 93, 114, + 27, 114, 4, 32, 6, 130, 64, 132, 133, 58, + 59, 90, 90, 90, 114, 42, 90, 90, 114, 114, + 87, 48, 98, 50, 3, 4, 5, 6, 7, 8, + 9, 10, 11, 12, 13, 64, 114, 90, 114, 90, + 98, 114, 90, 114, 114, 63, 100, 101, 15, 16, + 114, 114, 81, 82, 114, 109, 110, 111, 114, 114, + 90, 114, 116, 114, 114, 56, 114, 90, 100, 101, + 117, 114, 51, 105, 106, 107, 108, 109, 110, 111, + 90, 60, 90, 114, 63, 114, 90, 119, 63, 63, + 114, 70, 71, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 100, 101, 90, 100, 101, 114, + 90, 90, 115, 109, 110, 111, 109, 110, 111, 146, + 116, 148, 149, 102, 103, 104, 153, 106, 130, 114, + 132, 133, 14, 115, 115, 114, 90, 115, 117, 118, + 63, 63, 115, 190, 26, 115, 327, 328, 329, 330, + 115, 114, 34, 63, 181, 114, 38, 39, 40, 41, + 42, 43, 189, 45, 114, 114, 114, 194, 293, 294, + 295, 296, 297, 298, 299, 300, 301, 302, 114, 114, + 90, 114, 114, 114, 114, 114, 213, 114, 215, 216, + 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + 110, 111, 90, 85, 114, 114, 116, 117, 118, 91, + 92, 100, 101, 114, 96, 97, 105, 106, 107, 108, + 109, 110, 111, 114, 90, 115, 90, 116, 114, 114, + 119, 114, 116, 114, 114, 114, 114, 114, 114, 114, + 114, 114, 3, 4, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 114, 114, 282, 283, 284, 285, 286, + 114, 114, 289, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 114, 114, 114, 114, 114, 114, + 307, 308, 309, 310, 311, 312, 313, 314, 315, 114, + 317, 293, 294, 295, 296, 297, 298, 299, 300, 301, + 302, 114, 63, 114, 114, 114, 114, 114, 114, 114, + 114, 114, 3, 4, 5, 6, 7, 8, 9, 10, + 11, 12, 13, 63, 351, 100, 101, 114, 355, 90, + 105, 106, 107, 108, 109, 110, 111, 114, 114, 114, + 114, 102, 103, 104, 371, 106, 373, 374, 109, 114, + 90, 114, 114, 114, 114, 114, 117, 118, 114, 114, + 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + 110, 111, 63, 114, 114, 114, 116, 117, 118, 3, + 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, + 114, 114, 114, 114, 114, 114, 114, 114, 467, 90, + 114, 114, 114, 114, 114, 114, 114, 114, 114, 100, + 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, + 111, 114, 114, 114, 90, 116, 117, 118, 3, 4, + 5, 6, 7, 8, 9, 10, 11, 12, 13, 63, + 114, 90, 114, 114, 90, 114, 114, 114, 90, 114, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, - 13, 90, 90, 63, 63, 114, 114, 114, 90, 146, - 114, 148, 149, 114, 90, 115, 153, 98, 130, 115, - 132, 133, 3, 4, 5, 6, 7, 8, 9, 10, - 11, 12, 13, 114, 292, 293, 294, 295, 296, 297, - 298, 299, 300, 301, 181, 326, 327, 328, 329, 90, - 63, 90, 189, 115, 190, 90, 114, 194, 115, 3, - 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 115, 115, 115, 114, 114, 114, 213, 90, 215, 216, - 114, 114, 63, 114, 114, 114, 114, 100, 101, 102, - 103, 104, 105, 106, 107, 108, 109, 110, 111, 114, - 114, 114, 114, 116, 117, 118, 114, 114, 63, 90, - 54, 90, 114, 114, 114, 90, 115, 61, 114, 100, - 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, - 111, 100, 101, 114, 114, 116, 117, 118, 114, 116, - 109, 110, 111, 114, 281, 282, 283, 284, 285, 114, - 114, 288, 3, 4, 5, 6, 7, 8, 9, 10, - 11, 12, 13, 114, 114, 114, 114, 114, 114, 306, - 307, 308, 309, 310, 311, 312, 313, 314, 114, 316, - 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, - 114, 114, 63, 114, 114, 114, 114, 114, 114, 114, - 114, 3, 4, 5, 6, 7, 8, 9, 10, 11, - 12, 13, 63, 350, 114, 100, 101, 354, 114, 114, - 105, 106, 107, 108, 109, 110, 111, 114, 114, 90, - 114, 116, 114, 370, 119, 372, 373, 114, 114, 90, - 114, 114, 114, 90, 114, 114, 114, 114, 114, 100, - 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, - 111, 63, 114, 114, 114, 116, 117, 118, 3, 4, - 5, 6, 7, 8, 9, 10, 11, 12, 13, 114, - 100, 101, 114, 114, 114, 114, 465, 114, 90, 109, - 110, 111, 114, 114, -1, 114, 116, 114, 100, 101, - 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, - 100, 101, 114, 114, 116, 117, 118, 114, 114, 109, - 110, 111, 114, 114, 90, 114, 116, 114, 63, 3, - 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, - 100, 101, 114, 114, 114, 105, 106, 107, 108, 109, - 110, 111, 114, 114, 90, 90, 114, 114, 114, 119, - 114, 114, 114, 114, 114, 100, 101, 102, 103, 104, - 105, 106, 107, 108, 109, 110, 111, 51, 90, 114, - 114, 116, 117, 118, 114, 114, 60, 114, 114, 63, - 114, 52, -1, -1, -1, -1, 70, 71, 3, 4, + 13, 114, 114, 114, 114, 52, 90, 114, -1, 114, + 114, -1, -1, -1, -1, -1, 100, 101, 102, 103, + 104, 105, 106, 107, 108, 109, 110, 111, 63, -1, + 114, -1, 116, 117, 118, -1, -1, 50, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, -1, - -1, -1, 100, 101, -1, -1, 90, 105, 106, 107, - 108, 109, 110, 111, -1, -1, 114, -1, 102, 103, - 104, -1, 106, -1, -1, -1, -1, -1, -1, -1, - 114, -1, -1, 117, 118, 3, 4, 5, 6, 7, - 8, 9, 10, 11, 12, 13, -1, -1, 63, -1, + 63, -1, -1, -1, -1, 90, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 100, 101, 102, 103, 104, + 105, 106, 107, 108, 109, 110, 111, 90, -1, 114, + -1, 116, 117, 118, -1, -1, -1, -1, -1, 102, + 103, 104, -1, 106, -1, -1, -1, -1, 63, -1, + -1, 114, -1, -1, 117, 118, 3, 4, 5, 6, + 7, 8, 9, 10, 11, 12, 13, -1, -1, -1, + -1, -1, -1, -1, -1, 90, 3, 4, 5, 6, + 7, 8, 9, 10, 11, 12, 13, 102, 103, 104, + -1, 106, -1, -1, -1, -1, -1, -1, -1, 114, + -1, -1, 117, 118, -1, 3, 4, 5, 6, 7, + 8, 9, 10, 11, 12, 13, 63, -1, -1, -1, -1, -1, 3, 4, 5, 6, 7, 8, 9, 10, - 11, 12, 13, 100, 101, -1, -1, -1, 105, 106, - 107, 108, 109, 110, 111, 90, -1, 114, -1, 116, - -1, -1, 50, -1, -1, -1, -1, 102, 103, 104, - -1, 106, -1, -1, 109, 63, -1, -1, -1, 114, - 100, 101, 117, 118, -1, 105, 106, 107, 108, 109, - 110, 111, 63, -1, 114, -1, 116, -1, -1, -1, - -1, -1, 90, 3, 4, 5, 6, 7, 8, 9, + 11, 12, 13, -1, -1, -1, 63, -1, -1, -1, + -1, -1, -1, 90, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 102, 103, 104, -1, 106, + -1, -1, -1, 90, -1, 63, -1, 114, -1, -1, + 117, 118, -1, -1, -1, 102, 103, 104, -1, 106, + -1, -1, 63, -1, -1, -1, -1, 114, -1, -1, + 117, 118, 90, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 102, 103, 104, -1, 106, 90, -1, -1, -1, -1, -1, -1, 114, -1, -1, 117, 118, 102, 103, 104, -1, 106, -1, -1, -1, -1, -1, -1, -1, 114, -1, -1, 117, 118, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, -1, - -1, -1, -1, 63, -1, 3, 4, 5, 6, 7, - 8, 9, 10, 11, 12, 13, -1, 100, 101, -1, - -1, -1, 105, 106, 107, 108, 109, 110, 111, -1, - 90, 114, -1, 116, -1, -1, -1, -1, -1, -1, + -1, -1, -1, 63, 3, 4, 5, 6, 7, 8, + 9, 10, 11, 12, 13, 100, 101, -1, -1, -1, + 105, 106, 107, 108, 109, 110, 111, -1, -1, 114, + 90, 116, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 102, 103, 104, -1, 106, -1, 63, -1, - -1, -1, -1, -1, 114, -1, -1, 117, 118, -1, - -1, -1, -1, -1, -1, 63, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 90, 3, 4, 5, 6, - 7, 8, 9, 10, 11, 12, 13, 102, 103, 104, - -1, 106, 90, -1, -1, -1, -1, -1, -1, 114, - -1, -1, 117, 118, 102, 103, 104, -1, 106, -1, - -1, -1, -1, -1, -1, -1, 114, -1, -1, 117, - 118, 3, 4, 5, 6, 7, 8, 9, 10, 11, - 12, 13, -1, -1, -1, -1, 63, -1, 3, 4, - 5, 6, 7, 8, 9, 10, 11, 12, 13, -1, - 100, 101, -1, -1, -1, 105, 106, 107, 108, 109, - 110, 111, -1, 90, 114, -1, 116, -1, -1, -1, - -1, -1, -1, -1, -1, 102, 103, 104, -1, 106, - -1, 63, -1, -1, -1, -1, -1, 114, -1, -1, - 117, 118, -1, -1, -1, 100, 101, -1, 63, -1, - 105, 106, 107, 108, 109, 110, 111, -1, 90, 114, - -1, 116, -1, -1, -1, -1, -1, -1, -1, -1, - 102, 103, 104, -1, 106, 90, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 117, 118, 102, 103, 104, - -1, 106, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 117, 118, 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, -1, 61, 62, - -1, -1, 65, 66, 67, 68, 69, -1, -1, 72, - 73, 74, 75, 76, 77, 78, 79, 80, -1, -1, - 83, 84, -1, 86, -1, 88, 89, -1, -1, -1, - 93, 94, 95, -1, 17, 18, 19, -1, 21, -1, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 114, 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, -1, 61, 62, - -1, -1, -1, 66, 67, 68, 69, -1, -1, 72, - 73, 74, 75, 76, 77, 78, 79, 80, -1, -1, - 83, 84, -1, 86, -1, -1, -1, -1, 14, -1, - 93, 94, 95, -1, -1, -1, -1, -1, -1, -1, - 26, -1, -1, -1, -1, -1, -1, -1, 34, -1, - -1, 114, 38, 39, 40, 41, 42, 43, -1, 45, - 100, 101, -1, -1, -1, 105, 106, 107, 108, 109, + -1, -1, -1, -1, -1, 54, -1, 117, 118, -1, + 100, 101, 61, -1, -1, 105, 106, 107, 108, 109, + 110, 111, -1, -1, 114, 90, 116, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 102, 103, 104, + 0, 106, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 117, 118, -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, + -1, 61, 62, -1, -1, 65, 66, 67, 68, 69, + -1, -1, 72, 73, 74, 75, 76, 77, 78, 79, + 80, -1, -1, 83, 84, -1, 86, -1, 88, 89, + -1, -1, -1, 93, 94, 95, -1, 17, 18, 19, + -1, 21, -1, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 114, 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, + -1, 61, 62, -1, -1, 65, 66, 67, 68, 69, + -1, -1, 72, 73, 74, 75, 76, 77, 78, 79, + 80, -1, -1, 83, 84, -1, 86, -1, 88, 89, + -1, -1, -1, 93, 94, 95, -1, 17, 18, 19, + -1, 21, -1, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 114, 35, 36, 37, -1, -1, + -1, -1, -1, -1, -1, -1, 46, 47, 48, 49, + -1, -1, 52, 53, -1, -1, -1, -1, -1, -1, + -1, 61, 62, -1, -1, -1, 66, 67, 68, 69, + -1, -1, 72, 73, 74, 75, 76, 77, 78, 79, + 80, -1, -1, 83, 84, -1, 86, -1, -1, -1, + -1, 100, 101, 93, 94, 95, 105, 106, 107, 108, + 109, 110, 111, -1, -1, 114, -1, 116, -1, -1, + 100, 101, -1, -1, 114, 105, 106, 107, 108, 109, 110, 111, 100, 101, 114, -1, 116, 105, 106, 107, 108, 109, 110, 111, 100, 101, 114, -1, 116, 105, - 106, 107, 108, 109, 110, 111, -1, -1, 114, 85, - 116, -1, -1, -1, -1, 91, 92, 100, 101, -1, - 96, 97, 105, 106, 107, 108, 109, 110, 111, 100, - 101, 114, -1, 116, 105, 106, 107, 108, 109, 110, - 111, 100, 101, 114, -1, 116, 105, 106, 107, 108, - 109, 110, 111, 100, 101, 114, -1, 116, 105, 106, - 107, 108, 109, 110, 111, 100, 101, 114, -1, 116, - 105, 106, 107, 108, 109, 110, 111, 100, 101, 114, - -1, 116, 105, 106, 107, 108, 109, 110, 111, 100, - 101, 114, -1, 116, 105, 106, 107, 108, 109, 110, - 111, 100, 101, 114, -1, 116, 105, 106, 107, 108, - 109, 110, 111, 100, 101, 114, -1, 116, 105, 106, - 107, 108, 109, 110, 111, 100, 101, 114, -1, 116, - 105, 106, 107, 108, 109, 110, 111, 100, 101, 114, - -1, 116, 105, 106, 107, 108, 109, 110, 111, 100, - 101, 114, -1, 116, 105, 106, 107, 108, 109, 110, - 111, 100, 101, -1, -1, 116, 105, 106, 107, 108, - 109, 110, 111, -1, -1, -1, -1, 116 + 106, 107, 108, 109, 110, 111, 100, 101, 114, -1, + 116, 105, 106, 107, 108, 109, 110, 111, 100, 101, + 114, -1, 116, 105, 106, 107, 108, 109, 110, 111, + 100, 101, 114, -1, 116, 105, 106, 107, 108, 109, + 110, 111, 100, 101, 114, -1, 116, 105, 106, 107, + 108, 109, 110, 111, 100, 101, 114, -1, 116, 105, + 106, 107, 108, 109, 110, 111, 100, 101, 114, -1, + 116, 105, 106, 107, 108, 109, 110, 111, 100, 101, + 114, -1, 116, 105, 106, 107, 108, 109, 110, 111, + 100, 101, 114, -1, 116, 105, 106, 107, 108, 109, + 110, 111, 100, 101, 114, -1, 116, 105, 106, 107, + 108, 109, 110, 111, 100, 101, 114, -1, 116, 105, + 106, 107, 108, 109, 110, 111, 100, 101, 114, -1, + 116, 105, 106, 107, 108, 109, 110, 111, 100, 101, + 114, -1, 116, 105, 106, 107, 108, 109, 110, 111, + 100, 101, 114, -1, 116, 105, 106, 107, 108, 109, + 110, 111, 100, 101, 114, -1, 116, 105, 106, 107, + 108, 109, 110, 111, 100, 101, -1, -1, 116, 105, + 106, 107, 108, 109, 110, 111, -1, -1, -1, -1, + 116 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing @@ -1372,33 +1374,34 @@ static const yytype_uint8 yystos[] = 90, 114, 17, 32, 64, 81, 82, 114, 114, 173, 63, 98, 114, 63, 87, 63, 114, 114, 90, 173, 17, 18, 19, 21, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 35, 36, 37, 47, 48, 49, 52, - 53, 61, 62, 66, 67, 68, 69, 72, 73, 74, - 75, 76, 77, 78, 79, 80, 83, 84, 86, 93, - 94, 95, 114, 124, 173, 0, 122, 114, 90, 90, - 114, 115, 115, 115, 115, 115, 115, 123, 115, 172, - 172, 172, 100, 101, 105, 106, 107, 108, 109, 110, - 111, 116, 114, 173, 173, 173, 100, 101, 105, 106, - 107, 108, 109, 110, 111, 114, 116, 173, 114, 114, - 114, 114, 114, 114, 114, 90, 149, 149, 149, 149, - 114, 114, 114, 63, 114, 93, 114, 114, 114, 114, - 114, 173, 114, 63, 90, 114, 90, 114, 114, 114, - 173, 123, 114, 115, 106, 114, 173, 114, 114, 114, - 90, 114, 114, 114, 114, 114, 114, 114, 114, 114, - 173, 114, 173, 173, 114, 114, 114, 90, 114, 63, + 29, 30, 31, 35, 36, 37, 46, 47, 48, 49, + 52, 53, 61, 62, 66, 67, 68, 69, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 83, 84, 86, + 93, 94, 95, 114, 124, 173, 0, 122, 114, 90, + 90, 114, 115, 115, 115, 115, 115, 115, 123, 115, + 172, 172, 172, 100, 101, 105, 106, 107, 108, 109, + 110, 111, 116, 114, 173, 173, 173, 100, 101, 105, + 106, 107, 108, 109, 110, 111, 114, 116, 173, 114, + 114, 114, 114, 114, 114, 114, 90, 149, 149, 149, + 149, 114, 114, 114, 63, 114, 93, 114, 114, 114, + 114, 114, 173, 114, 63, 90, 114, 90, 114, 114, + 114, 173, 123, 114, 115, 106, 114, 173, 114, 114, + 114, 90, 114, 114, 114, 114, 114, 114, 114, 114, + 114, 173, 114, 173, 173, 114, 114, 114, 90, 114, + 63, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, - 114, 114, 114, 114, 114, 114, 114, 114, 114, 173, - 173, 173, 173, 173, 90, 114, 173, 119, 172, 172, - 172, 172, 172, 172, 172, 172, 172, 172, 119, 173, - 173, 173, 173, 173, 173, 173, 173, 173, 173, 114, - 149, 149, 149, 149, 114, 90, 114, 114, 90, 114, - 114, 173, 114, 90, 173, 114, 114, 114, 173, 114, - 173, 114, 173, 114, 90, 114, 114, 114, 114, 114, - 114, 114, 114, 114, 114, 114, 114, 114, 114, 124, - 114, 114, 114, 114, 114, 114, 114, 90, 114 + 114, 173, 173, 173, 173, 173, 90, 114, 173, 119, + 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, + 119, 173, 173, 173, 173, 173, 173, 173, 173, 173, + 173, 114, 149, 149, 149, 149, 114, 90, 114, 114, + 90, 114, 114, 173, 114, 90, 173, 114, 114, 114, + 173, 114, 173, 114, 173, 114, 90, 114, 114, 114, + 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, + 114, 124, 114, 114, 114, 114, 114, 114, 114, 90, + 114 }; #define yyerrok (yyerrstatus = 0) @@ -3363,13 +3366,21 @@ yyreduce: case 203: #line 1053 "parser.y" { - dbg_printf("setpmem - set physical memory location of size 'datasize' to value 'val'\n"); + dbg_printf("dreg - show debug registers\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; case 204: #line 1058 "parser.y" + { + dbg_printf("setpmem - set physical memory location of size 'datasize' to value 'val'\n"); + free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); + } + break; + + case 205: +#line 1063 "parser.y" { dbg_printf("u|disasm [/count] - disassemble instructions for given linear address\n"); dbg_printf(" Optional 'count' is the number of disassembled instructions\n"); @@ -3381,8 +3392,8 @@ yyreduce: } break; - case 205: -#line 1068 "parser.y" + case 206: +#line 1073 "parser.y" { dbg_printf("watch - print current watch point status\n"); dbg_printf("watch stop - stop simulation when a watchpoint is encountred\n"); @@ -3395,8 +3406,8 @@ yyreduce: } break; - case 206: -#line 1079 "parser.y" + case 207: +#line 1084 "parser.y" { dbg_printf("unwatch - remove all watch points\n"); dbg_printf("unwatch addr - remove a watch point\n"); @@ -3404,8 +3415,8 @@ yyreduce: } break; - case 207: -#line 1085 "parser.y" + case 208: +#line 1090 "parser.y" { dbg_printf("x /nuf - examine memory at linear address\n"); dbg_printf("xp /nuf - examine memory at physical address\n"); @@ -3420,16 +3431,16 @@ yyreduce: } break; - case 208: -#line 1098 "parser.y" + case 209: +#line 1103 "parser.y" { dbg_printf("instrument - calls BX_INSTR_DEBUG_CMD instrumentation callback with \n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 209: -#line 1103 "parser.y" + case 210: +#line 1108 "parser.y" { dbg_printf("set = - set register value to expression\n"); dbg_printf("set $reg = val - set CPU register to value val\n"); @@ -3441,16 +3452,16 @@ yyreduce: } break; - case 210: -#line 1113 "parser.y" + case 211: +#line 1118 "parser.y" { dbg_printf("page - show linear to physical xlation for linear address laddr\n"); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 211: -#line 1118 "parser.y" + case 212: +#line 1123 "parser.y" { dbg_printf("info break - show information about current breakpoint status\n"); dbg_printf("info idt - show interrupt descriptor table\n"); @@ -3468,8 +3479,8 @@ yyreduce: } break; - case 212: -#line 1134 "parser.y" + case 213: +#line 1139 "parser.y" { dbg_printf("show - toggles show symbolic info (calls to begin with)\n"); dbg_printf("show - shows current show mode\n"); @@ -3483,8 +3494,8 @@ yyreduce: } break; - case 213: -#line 1146 "parser.y" + case 214: +#line 1151 "parser.y" { dbg_printf("calc|? - calculate a expression and display the result.\n"); dbg_printf(" 'expr' can reference any general-purpose and segment\n"); @@ -3496,268 +3507,268 @@ yyreduce: } break; - case 214: -#line 1156 "parser.y" + case 215: +#line 1161 "parser.y" { bx_dbg_print_help(); free((yyvsp[(1) - (3)].sval));free((yyvsp[(2) - (3)].sval)); } break; - case 215: -#line 1161 "parser.y" + case 216: +#line 1166 "parser.y" { bx_dbg_print_help(); free((yyvsp[(1) - (2)].sval)); } break; - case 216: -#line 1169 "parser.y" + case 217: +#line 1174 "parser.y" { bx_dbg_calc_command((yyvsp[(2) - (3)].uval)); free((yyvsp[(1) - (3)].sval)); } break; - case 217: -#line 1186 "parser.y" + case 218: +#line 1191 "parser.y" { (yyval.uval) = (yyvsp[(1) - (1)].uval); } break; - case 218: -#line 1187 "parser.y" + case 219: +#line 1192 "parser.y" { (yyval.uval) = bx_dbg_get_symbol_value((yyvsp[(1) - (1)].sval)); free((yyvsp[(1) - (1)].sval));} break; - case 219: -#line 1188 "parser.y" + case 220: +#line 1193 "parser.y" { (yyval.uval) = bx_dbg_get_reg8l_value((yyvsp[(1) - (1)].uval)); } break; - case 220: -#line 1189 "parser.y" + case 221: +#line 1194 "parser.y" { (yyval.uval) = bx_dbg_get_reg8h_value((yyvsp[(1) - (1)].uval)); } break; - case 221: -#line 1190 "parser.y" + case 222: +#line 1195 "parser.y" { (yyval.uval) = bx_dbg_get_reg16_value((yyvsp[(1) - (1)].uval)); } break; - case 222: -#line 1191 "parser.y" + case 223: +#line 1196 "parser.y" { (yyval.uval) = bx_dbg_get_reg32_value((yyvsp[(1) - (1)].uval)); } break; - case 223: -#line 1192 "parser.y" + case 224: +#line 1197 "parser.y" { (yyval.uval) = bx_dbg_get_reg64_value((yyvsp[(1) - (1)].uval)); } break; - case 224: -#line 1193 "parser.y" + case 225: +#line 1198 "parser.y" { (yyval.uval) = bx_dbg_get_selector_value((yyvsp[(1) - (1)].uval)); } break; - case 225: -#line 1194 "parser.y" + case 226: +#line 1199 "parser.y" { (yyval.uval) = bx_dbg_get_ip (); } break; - case 226: -#line 1195 "parser.y" + case 227: +#line 1200 "parser.y" { (yyval.uval) = bx_dbg_get_eip(); } break; - case 227: -#line 1196 "parser.y" + case 228: +#line 1201 "parser.y" { (yyval.uval) = bx_dbg_get_instruction_pointer(); } break; - case 228: -#line 1197 "parser.y" + case 229: +#line 1202 "parser.y" { (yyval.uval) = (yyvsp[(1) - (3)].uval) + (yyvsp[(3) - (3)].uval); } break; - case 229: -#line 1198 "parser.y" + case 230: +#line 1203 "parser.y" { (yyval.uval) = (yyvsp[(1) - (3)].uval) - (yyvsp[(3) - (3)].uval); } break; - case 230: -#line 1199 "parser.y" + case 231: +#line 1204 "parser.y" { (yyval.uval) = (yyvsp[(1) - (3)].uval) * (yyvsp[(3) - (3)].uval); } break; - case 231: -#line 1200 "parser.y" + case 232: +#line 1205 "parser.y" { (yyval.uval) = (yyvsp[(1) - (3)].uval) / (yyvsp[(3) - (3)].uval); } break; - case 232: -#line 1201 "parser.y" + case 233: +#line 1206 "parser.y" { (yyval.uval) = (yyvsp[(1) - (3)].uval) >> (yyvsp[(3) - (3)].uval); } break; - case 233: -#line 1202 "parser.y" + case 234: +#line 1207 "parser.y" { (yyval.uval) = (yyvsp[(1) - (3)].uval) << (yyvsp[(3) - (3)].uval); } break; - case 234: -#line 1203 "parser.y" + case 235: +#line 1208 "parser.y" { (yyval.uval) = (yyvsp[(1) - (3)].uval) | (yyvsp[(3) - (3)].uval); } break; - case 235: -#line 1204 "parser.y" + case 236: +#line 1209 "parser.y" { (yyval.uval) = (yyvsp[(1) - (3)].uval) ^ (yyvsp[(3) - (3)].uval); } break; - case 236: -#line 1205 "parser.y" + case 237: +#line 1210 "parser.y" { (yyval.uval) = (yyvsp[(1) - (3)].uval) & (yyvsp[(3) - (3)].uval); } break; - case 237: -#line 1206 "parser.y" + case 238: +#line 1211 "parser.y" { (yyval.uval) = !(yyvsp[(2) - (2)].uval); } break; - case 238: -#line 1207 "parser.y" - { (yyval.uval) = -(yyvsp[(2) - (2)].uval); } - break; - case 239: -#line 1208 "parser.y" - { (yyval.uval) = (yyvsp[(2) - (3)].uval); } +#line 1212 "parser.y" + { (yyval.uval) = -(yyvsp[(2) - (2)].uval); } break; case 240: #line 1213 "parser.y" - { (yyval.uval) = (yyvsp[(1) - (1)].uval); } + { (yyval.uval) = (yyvsp[(2) - (3)].uval); } break; case 241: -#line 1214 "parser.y" - { (yyval.uval) = bx_dbg_get_symbol_value((yyvsp[(1) - (1)].sval)); free((yyvsp[(1) - (1)].sval));} +#line 1218 "parser.y" + { (yyval.uval) = (yyvsp[(1) - (1)].uval); } break; case 242: -#line 1215 "parser.y" - { (yyval.uval) = bx_dbg_get_reg8l_value((yyvsp[(1) - (1)].uval)); } +#line 1219 "parser.y" + { (yyval.uval) = bx_dbg_get_symbol_value((yyvsp[(1) - (1)].sval)); free((yyvsp[(1) - (1)].sval));} break; case 243: -#line 1216 "parser.y" - { (yyval.uval) = bx_dbg_get_reg8h_value((yyvsp[(1) - (1)].uval)); } +#line 1220 "parser.y" + { (yyval.uval) = bx_dbg_get_reg8l_value((yyvsp[(1) - (1)].uval)); } break; case 244: -#line 1217 "parser.y" - { (yyval.uval) = bx_dbg_get_reg16_value((yyvsp[(1) - (1)].uval)); } +#line 1221 "parser.y" + { (yyval.uval) = bx_dbg_get_reg8h_value((yyvsp[(1) - (1)].uval)); } break; case 245: -#line 1218 "parser.y" - { (yyval.uval) = bx_dbg_get_reg32_value((yyvsp[(1) - (1)].uval)); } +#line 1222 "parser.y" + { (yyval.uval) = bx_dbg_get_reg16_value((yyvsp[(1) - (1)].uval)); } break; case 246: -#line 1219 "parser.y" - { (yyval.uval) = bx_dbg_get_reg64_value((yyvsp[(1) - (1)].uval)); } +#line 1223 "parser.y" + { (yyval.uval) = bx_dbg_get_reg32_value((yyvsp[(1) - (1)].uval)); } break; case 247: -#line 1220 "parser.y" - { (yyval.uval) = bx_dbg_get_selector_value((yyvsp[(1) - (1)].uval)); } +#line 1224 "parser.y" + { (yyval.uval) = bx_dbg_get_reg64_value((yyvsp[(1) - (1)].uval)); } break; case 248: -#line 1221 "parser.y" - { (yyval.uval) = bx_dbg_get_ip (); } +#line 1225 "parser.y" + { (yyval.uval) = bx_dbg_get_selector_value((yyvsp[(1) - (1)].uval)); } break; case 249: -#line 1222 "parser.y" - { (yyval.uval) = bx_dbg_get_eip(); } +#line 1226 "parser.y" + { (yyval.uval) = bx_dbg_get_ip (); } break; case 250: -#line 1223 "parser.y" - { (yyval.uval) = bx_dbg_get_instruction_pointer(); } +#line 1227 "parser.y" + { (yyval.uval) = bx_dbg_get_eip(); } break; case 251: -#line 1224 "parser.y" - { (yyval.uval) = bx_dbg_get_laddr ((yyvsp[(1) - (3)].uval), (yyvsp[(3) - (3)].uval)); } +#line 1228 "parser.y" + { (yyval.uval) = bx_dbg_get_instruction_pointer(); } break; case 252: -#line 1225 "parser.y" - { (yyval.uval) = (yyvsp[(1) - (3)].uval) + (yyvsp[(3) - (3)].uval); } +#line 1229 "parser.y" + { (yyval.uval) = bx_dbg_get_laddr ((yyvsp[(1) - (3)].uval), (yyvsp[(3) - (3)].uval)); } break; case 253: -#line 1226 "parser.y" - { (yyval.uval) = (yyvsp[(1) - (3)].uval) - (yyvsp[(3) - (3)].uval); } +#line 1230 "parser.y" + { (yyval.uval) = (yyvsp[(1) - (3)].uval) + (yyvsp[(3) - (3)].uval); } break; case 254: -#line 1227 "parser.y" - { (yyval.uval) = (yyvsp[(1) - (3)].uval) * (yyvsp[(3) - (3)].uval); } +#line 1231 "parser.y" + { (yyval.uval) = (yyvsp[(1) - (3)].uval) - (yyvsp[(3) - (3)].uval); } break; case 255: -#line 1228 "parser.y" - { (yyval.uval) = ((yyvsp[(3) - (3)].uval) != 0) ? (yyvsp[(1) - (3)].uval) / (yyvsp[(3) - (3)].uval) : 0; } +#line 1232 "parser.y" + { (yyval.uval) = (yyvsp[(1) - (3)].uval) * (yyvsp[(3) - (3)].uval); } break; case 256: -#line 1229 "parser.y" - { (yyval.uval) = (yyvsp[(1) - (3)].uval) >> (yyvsp[(3) - (3)].uval); } +#line 1233 "parser.y" + { (yyval.uval) = ((yyvsp[(3) - (3)].uval) != 0) ? (yyvsp[(1) - (3)].uval) / (yyvsp[(3) - (3)].uval) : 0; } break; case 257: -#line 1230 "parser.y" - { (yyval.uval) = (yyvsp[(1) - (3)].uval) << (yyvsp[(3) - (3)].uval); } +#line 1234 "parser.y" + { (yyval.uval) = (yyvsp[(1) - (3)].uval) >> (yyvsp[(3) - (3)].uval); } break; case 258: -#line 1231 "parser.y" - { (yyval.uval) = (yyvsp[(1) - (3)].uval) | (yyvsp[(3) - (3)].uval); } +#line 1235 "parser.y" + { (yyval.uval) = (yyvsp[(1) - (3)].uval) << (yyvsp[(3) - (3)].uval); } break; case 259: -#line 1232 "parser.y" - { (yyval.uval) = (yyvsp[(1) - (3)].uval) ^ (yyvsp[(3) - (3)].uval); } +#line 1236 "parser.y" + { (yyval.uval) = (yyvsp[(1) - (3)].uval) | (yyvsp[(3) - (3)].uval); } break; case 260: -#line 1233 "parser.y" - { (yyval.uval) = (yyvsp[(1) - (3)].uval) & (yyvsp[(3) - (3)].uval); } +#line 1237 "parser.y" + { (yyval.uval) = (yyvsp[(1) - (3)].uval) ^ (yyvsp[(3) - (3)].uval); } break; case 261: -#line 1234 "parser.y" - { (yyval.uval) = !(yyvsp[(2) - (2)].uval); } +#line 1238 "parser.y" + { (yyval.uval) = (yyvsp[(1) - (3)].uval) & (yyvsp[(3) - (3)].uval); } break; case 262: -#line 1235 "parser.y" - { (yyval.uval) = -(yyvsp[(2) - (2)].uval); } +#line 1239 "parser.y" + { (yyval.uval) = !(yyvsp[(2) - (2)].uval); } break; case 263: -#line 1236 "parser.y" +#line 1240 "parser.y" + { (yyval.uval) = -(yyvsp[(2) - (2)].uval); } + break; + + case 264: +#line 1241 "parser.y" { (yyval.uval) = (yyvsp[(2) - (3)].uval); } break; /* Line 1267 of yacc.c. */ -#line 3761 "y.tab.c" +#line 3772 "y.tab.c" default: break; } YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); @@ -3971,7 +3982,7 @@ yyreturn: } -#line 1239 "parser.y" +#line 1244 "parser.y" #endif /* if BX_DEBUGGER */ diff --git a/bochs/bx_debug/parser.y b/bochs/bx_debug/parser.y index a5882c539..9dcf8236b 100644 --- a/bochs/bx_debug/parser.y +++ b/bochs/bx_debug/parser.y @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// $Id: parser.y,v 1.43 2009-12-28 13:44:31 sshwarts Exp $ +// $Id: parser.y,v 1.44 2009-12-30 19:20:27 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// %{ @@ -1049,6 +1049,11 @@ help_command: dbg_printf("creg - show control registers\n"); free($1);free($2); } + | BX_TOKEN_HELP BX_TOKEN_DEBUG_REGS '\n' + { + dbg_printf("dreg - show debug registers\n"); + free($1);free($2); + } | BX_TOKEN_HELP BX_TOKEN_SETPMEM '\n' { dbg_printf("setpmem - set physical memory location of size 'datasize' to value 'val'\n");