- Documented and Debugged containers
- Attempted to setup gdb prettywriters
This commit is contained in:
10
gdb/printers.py
Normal file
10
gdb/printers.py
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
from list import ListPrinter
|
||||
|
||||
def lookup_function(val):
|
||||
if str(val.type) == "fennec::list":
|
||||
return ListPrinter(val)
|
||||
return None
|
||||
|
||||
|
||||
gdb.pretty_printers.append(lookup_function)
|
||||
Reference in New Issue
Block a user