"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/gdb.lang" (12 May 2020, 8850 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "gdb.lang": 3.53_vs_3.54.

    1 -- GDB (GNU Project Debugger) Macro Language
    2 -- Keywords based on version 7.4
    3 
    4 Description="gdb"
    5 
    6 -- Syntax file created by A. Aniruddha
    7 
    8 
    9 Categories = {"source", "script"}
   10 
   11 Identifiers=[[ [a-zA-Z_][\w\-]* ]]
   12 
   13 Keywords={
   14   { Id=1,
   15     List={"if", "else", "while", "loop_break", "loop_continue", "end",
   16           "define", "document", "source", "set", "shell", "dont-repeat" },
   17   },
   18   { Id=2,
   19     List={
   20         "access-watchpoint-packet", "actions", "active-border-mode", "ada", "address",
   21         "add-symbol-file", "add-symbol-file-from-memory", "advance", "agent",
   22         "agent-eval", "alias", "all", "allow-packet", "all-registers",
   23         "always-disassemble", "always-inserted", "annotate", "append", "apply",
   24         "apropos", "arch", "architecture", "args", "array", "array-indexes",
   25         "asm-demangle", "assert", "attach", "attach-packet", "auto", "auto-hw",
   26         "auto-load-scripts", "auto-retry", "auto-solib-add", "auxv", "awatch",
   27         "backtrace", "basenames-may-differ", "binary", "binary-download-packet",
   28         "bookmark", "bookmarks", "border-kind", "border-mode", "break", "breakpoint",
   29         "breakpoints", "break-range", "bt", "call", "can-use-hw-watchpoints",
   30         "case-sensitive", "catch", "cd", "charset", "check", "check-physname",
   31         "checkpoint", "checkpoints", "check-symtabs", "child", "circular-trace-buffer",
   32         "classes", "clear", "cmdline", "coerce-float-to-double", "collect", "commands",
   33         "common", "compare-sections", "complaints", "complete", "condition",
   34         "conditional-tracepoints-packet", "confirm", "connect-timeout", "continue",
   35         "convenience", "cooked-registers", "copying", "core", "corefile", "core-file",
   36         "cp-abi", "cplus", "c-tdesc", "cwd", "data-directory", "dcache", "debug",
   37         "debug-file-directory", "debugvarobj", "default-collect", "define", "delete",
   38         "demangle", "demangle-style", "deprecate", "detach", "detach-on-fork",
   39         "directories", "directory", "disable", "disable-randomization",
   40         "disable-randomization-packet", "disassemble", "disassemble-next-line",
   41         "disassembly-flavor", "disconnect", "disconnected-tracing", "displaced",
   42         "displaced-stepping", "display", "document", "down", "down-silently",
   43         "dummy-frames", "dump", "dump-me", "dwarf2", "dwarf2-die", "echo", "edit",
   44         "editing", "elements", "enable", "endian", "entry-values", "environment",
   45         "exception", "exe", "exec", "exec-direction", "exec-done-display", "exec-file",
   46         "exec-wrapper", "expand", "expand-once", "expansion", "expression",
   47         "extended-prompt", "extended-remote", "extension-language", "extensions",
   48         "fast-tracepoints-packet", "fetch-register-packet", "file", "filename",
   49         "files", "find", "finish", "first_component", "float", "flushregs",
   50         "follow-exec-mode", "follow-fork-mode", "fork", "forward-search", "frame",
   51         "frame-arguments", "ftrace", "function", "functions", "gdb-index",
   52         "generate-core-file", "get", "get-thread-information-block-address-packet",
   53         "get-thread-local-storage-address-packet", "gnutarget", "goto", "handle",
   54         "hardware-breakpoint-limit", "hardware-breakpoint-packet",
   55         "hardware-watchpoint-length-limit", "hardware-watchpoint-limit", "hbreak",
   56         "height", "help", "history", "host-charset", "hostio-close-packet",
   57         "hostio-open-packet", "hostio-pread-packet", "hostio-pwrite-packet",
   58         "hostio-readlink-packet", "hostio-unlink-packet", "ignore", "ihex",
   59         "inaccessible-by-default", "inferior", "inferior-events", "inferiors",
   60         "inferior-tty", "info", "infrun", "init-if-undefined", "input-radix",
   61         "insn-number-max", "inspect", "install-in-trace-packet", "interactive-mode",
   62         "internal-error", "internal-warning", "interpreter-exec", "interrupt",
   63         "interrupt-on-connect", "interrupt-sequence", "jit", "jump", "kill",
   64         "kill-packet", "language", "library-info-packet", "library-info-svr4-packet",
   65         "libthread-db", "libthread-db-search-path", "limit", "line", "line-size",
   66         "lin-lwp", "list", "list-overlays", "listsize", "load", "load-target",
   67         "locals", "logging", "macro", "macros", "maintenance", "make", "manual",
   68         "map-overlay", "mappings", "max-cache-age", "max-symbolic-offset",
   69         "max-user-call-depth", "may-insert-breakpoints", "may-insert-fast-tracepoints",
   70         "may-insert-tracepoints", "may-interrupt", "may-write-memory",
   71         "may-write-registers", "mem", "memory", "memory-map-packet", "memory-query",
   72         "memory-read-packet-size", "memory-write-packet-size", "monitor", "msymbols",
   73         "multiple-symbols", "multi-thread", "name", "namespace", "next", "nexti", "ni",
   74         "noack-packet", "none", "non-stop", "nosharedlibrary", "null-stop", "object",
   75         "objfiles", "observer", "off", "on", "once", "opaque-type-resolution", "os",
   76         "osabi", "osdata-packet", "output", "output-radix", "outside", "overlay",
   77         "overload", "overload-resolution", "overwrite", "packet", "pagination",
   78         "parser", "pascal_static-members", "passcount", "pass-signals-packet",
   79         "past-entry", "past-main", "path", "paths", "pc", "pending", "p-packet",
   80         "P-packet", "pretty", "pretty-printer", "print", "printf", "print-object",
   81         "print-stack", "proc", "profile", "program", "program-spaces", "prompt",
   82         "psymbols", "psymtabs", "ptype", "put", "pwd", "python",
   83         "query-attached-packet", "quit", "radix", "range", "raw-registers", "rbreak",
   84         "rc", "read-aux-vector-packet", "read-fdpic-loadmap-packet",
   85         "read-sdata-object-packet", "read-siginfo-object-packet",
   86         "read-spu-object-packet", "read-watchpoint-packet", "record", "record-core",
   87         "redirect", "reggroups", "register-groups", "registers", "remote",
   88         "remoteaddresssize", "remotebaud", "remotebreak", "remotecache", "remoteflow",
   89         "remotelogbase", "remotelogfile", "remote-registers", "remotetimeout",
   90         "remotewritesize", "repeats", "restart", "restore", "return",
   91         "reverse-continue", "reverse-continue-packet", "reverse-finish",
   92         "reverse-next", "reverse-nexti", "reverse-search", "reverse-step",
   93         "reverse-stepi", "reverse-step-packet", "rni", "rsi", "run", "run-packet",
   94         "rwatch", "save", "save-tracepoints", "schedule-multiple", "scheduler-locking",
   95         "scope", "script-extension", "search", "search-memory-packet", "section",
   96         "sections", "select-frame", "selectors", "serial", "set-register-packet",
   97         "sevenbit-strings", "sharedlibrary", "show", "show-debug-regs", "si", "signal",
   98         "signals", "size", "skip", "software-breakpoint-packet",
   99         "solib-absolute-prefix", "solib-search-path", "source", "sources", "space",
  100         "srec", "stack", "stack-cache", "start", "stat", "static-members",
  101         "static-tracepoint-markers", "static-tracepoints-packet", "statistics",
  102         "status", "step", "stepi", "step-mode", "stepping", "stop", "stop-at-limit",
  103         "stop-on-solib-events", "strace", "struct-convention", "substitute-path",
  104         "supported-packets-packet", "symbol", "symbol-file", "symbol-filename",
  105         "symbol-lookup-packet", "symbol-reloading", "symbols", "symtabs", "syscall",
  106         "sysroot", "system-call-allowed", "target", "target-async", "target-charset",
  107         "target-features-packet", "target-file-system-kind", "target-stack",
  108         "target-wide-charset", "task", "tasks", "tbreak", "tcatch", "tcp", "tdesc",
  109         "tdump", "tekhex", "terminal", "teval", "tfile", "tfind", "thbreak", "thread",
  110         "thread-events", "threads", "threads-packet", "throw", "time", "timestamp",
  111         "tp", "trace", "trace-commands", "traceframe-info-packet", "trace-notes",
  112         "tracepoint", "tracepoints", "TracepointSource-packet", "trace-stop-notes",
  113         "trace-user", "translate-address", "trust-PAD-over-XVS",
  114         "trust-readonly-sections", "tsave", "tstart", "tstatus", "tstop", "tty", "tui",
  115         "tvariable", "tvariables", "type", "types", "undef", "undeprecate",
  116         "undisplay", "union", "unmap-overlay", "until", "unwindonsignal",
  117         "unwind-on-terminating-exception", "up", "up-silently", "user", "value",
  118         "values", "variable", "variables", "vector", "verbose",
  119         "verbose-resume-packet", "version", "vfork", "vtbl", "warranty", "watch",
  120         "watchdog", "watchpoints", "whatis", "where", "while-stepping", "width", "win",
  121         "write", "write-siginfo-object-packet", "write-spu-object-packet",
  122         "write-watchpoint-packet", "ws", "xml", "X-packet", "Z-packet",
  123         },
  124   },
  125 }
  126 
  127 Strings={
  128   Delimiter=[["|'|`]],
  129 }
  130 
  131 IgnoreCase=false
  132 
  133 Comments={
  134   { Block=false,
  135     Delimiter= { [[#]] },
  136   },
  137 }
  138 
  139 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]
  140