parameters: (obj)
docstring: Register libstdc++ pretty-printers with objfile Obj.
docstring_summary: Register libstdc++ pretty-printers with objfile Obj.
docstring_tokens: Register libstdc ++ pretty - printers with objfile Obj .
function: def register_libstdcxx_printers (obj):
      "Register libstdc++ pretty-printers with objfile Obj."
  
      global _use_gdb_pp
      global libstdcxx_printer
  
      if _use_gdb_pp:
          gdb.printing.register_pretty_printer(obj, libstdcxx_printer)
      else:
          if obj is None:
              obj = gdb
          obj.pretty_printers.append(libstdcxx_printer)
  
      register_type_printers(obj)
function_tokens: def register_libstdcxx_printers ( obj ) : global _use_gdb_pp global libstdcxx_printer if _use_gdb_pp : gdb . printing . register_pretty_printer ( obj , libstdcxx_printer ) else : if obj is None : obj = gdb obj . pretty_printers . append ( libstdcxx_printer ) register_type_printers ( obj )