File: gdb.xml

package info (click to toggle)
ksyntax-highlighting 5.116.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 44,640 kB
  • sloc: xml: 186,656; cpp: 12,164; python: 1,202; sh: 898; perl: 515; ruby: 406; pascal: 393; php: 149; javascript: 140; jsp: 132; lisp: 131; haskell: 124; ansic: 107; f90: 94; cobol: 81; makefile: 78; ml: 75; yacc: 71; csh: 62; erlang: 54; sql: 51; objc: 37; java: 32; awk: 31; asm: 30; tcl: 29; fortran: 18; cs: 10
file content (97 lines) | stat: -rw-r--r-- 3,208 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language>

<language name="GDB" section="Other"
          version="6" kateversion="5.0"
          extensions="*.gdb"
          mimetype=""
          author="Milian Wolff (mail@milianw.de)" license="LGPL">

<highlighting>
  <list name="commands">
    <item>break</item>
    <item>rbreak</item>
    <item>run</item>
    <item>continue</item>
    <item>backtrace</item>
    <item>detach</item>
    <item>quit</item>
    <item>up</item>
    <item>down</item>
    <item>frame</item>
    <item>where</item>
    <item>info</item>
    <item>ptype</item>
    <item>print</item>
    <item>call</item>
    <item>catch</item>
    <item>condition</item>
    <item>command</item>
    <item>set</item>
    <item>watch</item>
    <item>awatch</item>
    <item>thread</item>
    <item>list</item>
    <item>dprintf</item>
    <item>target</item>
    <item>end</item>
    <item>source</item>
    <item>next</item>
    <item>nexti</item>
    <item>step</item>
    <item>stepi</item>
    <item>finish</item>
    <item>start</item>
    <item>reverse-continue</item>
    <item>reverse-next</item>
    <item>reverse-step</item>
    <item>reverse-nexti</item>
    <item>reverse-stepi</item>
    <item>reverse-finish</item>
    <item>checkpoint</item>
    <item>restart</item>
  </list>
  <contexts>
    <context name="default" attribute="Normal" lineEndContext="#stay">
      <Detect2Chars char="#" char1=" " context="comment" />
      <!-- highlight GDB command listings -->
      <StringDetect String="(gdb)" context="gdb" firstNonSpace="true" />
      <StringDetect String="(rr)" context="gdb" firstNonSpace="true" />
      <!-- continuation of commands -->
      <DetectChar char=">" context="gdb" firstNonSpace="true" />
      <!-- output of backtrace-generating commands -->
      <IncludeRules context="##GDB Backtrace" />
    </context>
    <context name="gdb" attribute="CommandLine" lineEndContext="#pop">
      <keyword attribute="Command" String="commands" context="args" />
      <WordDetect String="python" context="python" attribute="Command" />
      <DetectChar char="#" context="comment" />
    </context>
    <context name="args" attribute="CommandLine" lineEndContext="#pop">
      <DetectChar char="#" context="comment" />
    </context>
    <context name="comment" attribute="Comment" lineEndContext="#pop">
      <DetectSpaces />
      <IncludeRules context="##Comments" />
    </context>
    <context name="python" attribute="Normal" lineEndContext="#stay">
      <WordDetect String="end" context="#pop" attribute="Command" />
      <IncludeRules context="##Python" />
    </context>
  </contexts>
  <itemDatas>
    <itemData name="Normal" defStyleNum="dsNormal" spellChecking="false" />
    <itemData name="CommandLine" defStyleNum="dsFunction" spellChecking="false" />
    <itemData name="Command" defStyleNum="dsKeyword" spellChecking="false" />
    <itemData name="Comment" defStyleNum="dsComment" spellChecking="false" />
  </itemDatas>
</highlighting>
<general>
  <keywords weakDeliminator="-" />
  <comments>
    <comment name="singleLine" start="#" />
  </comments>
</general>
</language>

<!-- kate: replace-tabs on; tab-width 2; indent-width 2; -->