parameters: (obj)
docstring: Register pretty-printers for `distortos` namespace.
docstring_summary: Register pretty-printers for `distortos` namespace.
docstring_tokens: Register pretty - printers for distortos namespace .
function: def registerPrettyPrinters(obj):
  	"""Register pretty-printers for `distortos` namespace."""
  	prettyPrinters = gdb.printing.RegexpCollectionPrettyPrinter('distortos::internal')
  	prettyPrinters.add_printer('distortos::internal::FifoQueueBase', '^distortos::internal::FifoQueueBase$',
  			InternalFifoQueueBase)
  	prettyPrinters.add_printer('distortos::internal::MessageQueueBase', '^distortos::internal::MessageQueueBase$',
  			InternalMessageQueueBase)
  	prettyPrinters.add_printer('distortos::internal::ThreadList', '^distortos::internal::ThreadList$',
  			InternalThreadList)
  	gdb.printing.register_pretty_printer(obj, prettyPrinters)
  
  	prettyPrinters = gdb.printing.RegexpCollectionPrettyPrinter('distortos')
  	prettyPrinters.add_printer('distortos::DynamicFifoQueue', '^distortos::DynamicFifoQueue<.*>$', DynamicFifoQueue)
  	prettyPrinters.add_printer('distortos::DynamicMessageQueue', '^distortos::DynamicMessageQueue<.*>$',
  			DynamicMessageQueue)
  	prettyPrinters.add_printer('distortos::DynamicRawFifoQueue', '^distortos::DynamicRawFifoQueue$',
  			DynamicRawFifoQueue)
  	prettyPrinters.add_printer('distortos::DynamicRawMessageQueue', '^distortos::DynamicRawMessageQueue$',
  			DynamicRawMessageQueue)
  	prettyPrinters.add_printer('distortos::FifoQueue', '^distortos::FifoQueue<.*>$', FifoQueue)
  	prettyPrinters.add_printer('distortos::MessageQueue', '^distortos::MessageQueue<.*>$', MessageQueue)
  	prettyPrinters.add_printer('distortos::RawFifoQueue', '^distortos::RawFifoQueue$', RawFifoQueue)
  	prettyPrinters.add_printer('distortos::RawMessageQueue', '^distortos::RawMessageQueue$', RawMessageQueue)
  	prettyPrinters.add_printer('distortos::StaticFifoQueue', '^distortos::StaticFifoQueue<.*>$', StaticFifoQueue)
  	prettyPrinters.add_printer('distortos::StaticMessageQueue', '^distortos::StaticMessageQueue<.*>$',
  			StaticMessageQueue)
  	prettyPrinters.add_printer('distortos::StaticRawFifoQueue', '^distortos::StaticRawFifoQueue<.*>$',
  			StaticRawFifoQueue)
  	prettyPrinters.add_printer('distortos::StaticRawMessageQueue', '^distortos::StaticRawMessageQueue<.*>$',
  			StaticRawMessageQueue)
  	gdb.printing.register_pretty_printer(obj, prettyPrinters)
function_tokens: def registerPrettyPrinters ( obj ) : prettyPrinters = gdb . printing . RegexpCollectionPrettyPrinter ( 'distortos::internal' ) prettyPrinters . add_printer ( 'distortos::internal::FifoQueueBase' , '^distortos::internal::FifoQueueBase$' , InternalFifoQueueBase ) prettyPrinters . add_printer ( 'distortos::internal::MessageQueueBase' , '^distortos::internal::MessageQueueBase$' , InternalMessageQueueBase ) prettyPrinters . add_printer ( 'distortos::internal::ThreadList' , '^distortos::internal::ThreadList$' , InternalThreadList ) gdb . printing . register_pretty_printer ( obj , prettyPrinters ) prettyPrinters = gdb . printing . RegexpCollectionPrettyPrinter ( 'distortos' ) prettyPrinters . add_printer ( 'distortos::DynamicFifoQueue' , '^distortos::DynamicFifoQueue<.*>$' , DynamicFifoQueue ) prettyPrinters . add_printer ( 'distortos::DynamicMessageQueue' , '^distortos::DynamicMessageQueue<.*>$' , DynamicMessageQueue ) prettyPrinters . add_printer ( 'distortos::DynamicRawFifoQueue' , '^distortos::DynamicRawFifoQueue$' , DynamicRawFifoQueue ) prettyPrinters . add_printer ( 'distortos::DynamicRawMessageQueue' , '^distortos::DynamicRawMessageQueue$' , DynamicRawMessageQueue ) prettyPrinters . add_printer ( 'distortos::FifoQueue' , '^distortos::FifoQueue<.*>$' , FifoQueue ) prettyPrinters . add_printer ( 'distortos::MessageQueue' , '^distortos::MessageQueue<.*>$' , MessageQueue ) prettyPrinters . add_printer ( 'distortos::RawFifoQueue' , '^distortos::RawFifoQueue$' , RawFifoQueue ) prettyPrinters . add_printer ( 'distortos::RawMessageQueue' , '^distortos::RawMessageQueue$' , RawMessageQueue ) prettyPrinters . add_printer ( 'distortos::StaticFifoQueue' , '^distortos::StaticFifoQueue<.*>$' , StaticFifoQueue ) prettyPrinters . add_printer ( 'distortos::StaticMessageQueue' , '^distortos::StaticMessageQueue<.*>$' , StaticMessageQueue ) prettyPrinters . add_printer ( 'distortos::StaticRawFifoQueue' , '^distortos::StaticRawFifoQueue<.*>$' , StaticRawFifoQueue ) prettyPrinters . add_printer ( 'distortos::StaticRawMessageQueue' , '^distortos::StaticRawMessageQueue<.*>$' , StaticRawMessageQueue ) gdb . printing . register_pretty_printer ( obj , prettyPrinters )