1350
1350
"name" : " meta.command.frame.gdb" ,
1351
1351
"begin" : " (?:^|\\ G)[ \t ]*\\ b(f(?:r(?:a(?:me?)?)?)?)\\ b[ \t ]*" ,
1352
1352
"beginCaptures" : { "1" : { "name" : " keyword.control.command.gdb" } },
1353
- "patterns" : [
1354
- {
1355
- "match" : " \\ b(l(?:e(?:v(?:el?)?)?)?[ \t ]+)?\\ b([0-9]+)[ \t ]*$" ,
1356
- "captures" : {
1357
- "1" : { "name" : " support.function.option.gdb" },
1358
- "2" : { "patterns" : [ { "include" : " #numeric" } ] }
1359
- }
1360
- },
1361
- {
1362
- "match" : " \\ b(ad(?:d(?:r(?:e(?:ss?)?)?)?)?[ \t ]+)\\ b(0x\\ h+)[ \t ]*$" ,
1363
- "captures" : {
1364
- "1" : { "name" : " support.function.option.gdb" },
1365
- "2" : { "patterns" : [ { "include" : " #numeric" } ] }
1366
- }
1367
- },
1368
- {
1369
- "match" : " \\ b(f(?:u(?:n(?:c(?:t(?:i(?:on?)?)?)?)?)?)?[ \t ]+)\\ b(\\ w+)[ \t ]*$" ,
1370
- "captures" : {
1371
- "1" : { "name" : " support.function.option.gdb" },
1372
- "2" : { "patterns" : [ { "include" : " #location" } ] }
1373
- }
1374
- },
1353
+ "patterns" : [ { "include" : " #frame-spec" } ],
1354
+ "end" : " $"
1355
+ },
1375
1356
{
1376
- "match" : " \\ b(v(?:i(?:ew?)?)?)\\ b[ \t ]+\\ b(0x\\ h+)\\ b(?:[ \t ]+\\ b(0x\\ h+))?[ \t ]*$" ,
1377
- "captures" : {
1378
- "1" : { "name" : " support.function.option.gdb" },
1379
- "2" : { "patterns" : [ { "include" : " #numeric" } ] },
1380
- "3" : { "patterns" : [ { "include" : " #numeric" } ] }
1381
- }
1382
- }
1383
- ],
1357
+ "name" : " meta.command.select-frame.gdb" ,
1358
+ "begin" : " (?:^|\\ G)[ \t ]*\\ b(sele(?:c(?:t(?:-(?:f(?:r(?:a(?:me?)?)?)?)?)?)?)?)[ \t ]*" ,
1359
+ "beginCaptures" : { "1" : { "name" : " keyword.control.command.gdb" } },
1360
+ "patterns" : [ { "include" : " #frame-spec" } ],
1384
1361
"end" : " $"
1385
1362
}
1386
-
1387
1363
]
1388
1364
},
1389
1365
"block" : {
1732
1708
"captures" : { "1" : { "name" : " markup.bold.color.white.gdb" } }
1733
1709
}
1734
1710
]
1711
+ },
1712
+ "frame-spec" : {
1713
+ "patterns" : [
1714
+ {
1715
+ "match" : " \\ b(l(?:e(?:v(?:el?)?)?)?[ \t ]+)?\\ b([0-9]+)[ \t ]*$" ,
1716
+ "captures" : {
1717
+ "1" : { "name" : " support.function.option.gdb" },
1718
+ "2" : { "patterns" : [ { "include" : " #numeric" } ] }
1719
+ }
1720
+ },
1721
+ {
1722
+ "match" : " \\ b(ad(?:d(?:r(?:e(?:ss?)?)?)?)?[ \t ]+)\\ b(0x\\ h+)[ \t ]*$" ,
1723
+ "captures" : {
1724
+ "1" : { "name" : " support.function.option.gdb" },
1725
+ "2" : { "patterns" : [ { "include" : " #numeric" } ] }
1726
+ }
1727
+ },
1728
+ {
1729
+ "match" : " \\ b(f(?:u(?:n(?:c(?:t(?:i(?:on?)?)?)?)?)?)?[ \t ]+)\\ b(\\ w+)[ \t ]*$" ,
1730
+ "captures" : {
1731
+ "1" : { "name" : " support.function.option.gdb" },
1732
+ "2" : { "patterns" : [ { "include" : " #location" } ] }
1733
+ }
1734
+ },
1735
+ {
1736
+ "match" : " \\ b(v(?:i(?:ew?)?)?)\\ b[ \t ]+\\ b(0x\\ h+)\\ b(?:[ \t ]+\\ b(0x\\ h+))?[ \t ]*$" ,
1737
+ "captures" : {
1738
+ "1" : { "name" : " support.function.option.gdb" },
1739
+ "2" : { "patterns" : [ { "include" : " #numeric" } ] },
1740
+ "3" : { "patterns" : [ { "include" : " #numeric" } ] }
1741
+ }
1742
+ }
1743
+ ]
1735
1744
}
1736
1745
}
1737
1746
}
0 commit comments