D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
share
/
gdb
/
python
/
gdb
/
command
/
Filename :
type_printers.pyo
back
Copy
� �� Rc @ s� d d l Z d d l Z d e j f d � � YZ d e j f d � � YZ d e f d � � YZ d e f d � � YZ e � e � e � d S( i����Nt InfoTypePrinterc B s) e Z d Z d � Z d � Z d � Z RS( sU GDB command to list all registered type-printers. Usage: info type-printers c C s t t | � j d t j � d S( Ns info type-printers( t superR t __init__t gdbt COMMAND_DATA( t self( ( s2 /usr/share/gdb/python/gdb/command/type_printers.pyR s c C s] t t j | � d d � �} x8 | D]0 } | j r= d } n d } d | j | f GHq% Wd S( s Print a list of type printers.t keyc S s | j S( N( t name( t x( ( s2 /usr/share/gdb/python/gdb/command/type_printers.pyt <lambda>% s t s [disabled]s %s%sN( t sortedt copyt enabledR ( R t type_printerst sorted_type_printerst printerR ( ( s2 /usr/share/gdb/python/gdb/command/type_printers.pyt list_type_printers s c C s� d } xH t j � D]: } | j r d | | j f GH| j | j � d } q q Wt j � j r� d | GH| j t j � j � d } n t j r� d | GH| j t j � n d S( s&