GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Functions | Variables
gdb.styling Namespace Reference

Classes

class  HandleNasmComments
 

Functions

def get_formatter ()
 
def colorize (filename, contents)
 
def __get_asm_lexer (gdbarch)
 
def colorize_disasm (content, gdbarch)
 

Variables

 try :
 
None _formatter = None
 
 _asm_lexers
 
 except :
 

Detailed Description

Utilities for styling.

Function Documentation

◆ __get_asm_lexer()

def gdb.styling.__get_asm_lexer (   gdbarch)
private

◆ colorize()

def gdb.styling.colorize (   filename,
  contents 
)

Definition at line 34 of file styling.py.

References gdb.styling.get_formatter().

◆ colorize_disasm()

def gdb.styling.colorize_disasm (   content,
  gdbarch 
)

Definition at line 86 of file styling.py.

References gdb.styling.__get_asm_lexer(), and gdb.styling.get_formatter().

◆ get_formatter()

def gdb.styling.get_formatter ( )

Variable Documentation

◆ _asm_lexers

gdb.styling._asm_lexers
protected

Definition at line 63 of file styling.py.

◆ _formatter

None gdb.styling._formatter = None
protected

Definition at line 26 of file styling.py.

◆ except

gdb.styling.except :

Definition at line 95 of file styling.py.

◆ try

gdb.styling.try :

Definition at line 21 of file styling.py.