Home | History | Annotate | Download | only in gcc-4.9

Lines Matching refs:gdb

18 import gdb
36 # We probably can't do much about this until this GDB PR is addressed:
69 import gdb.printing
76 import gdb.types
77 if hasattr(gdb.types, 'TypePrinter'):
90 return gdb.lookup_type(search)
271 self.is_bool = val.type.template_argument(0).code == gdb.TYPE_CODE_BOOL
374 self.visualizer = gdb.default_visualizer(val['c'])
447 nodetype = gdb.lookup_type('std::_Rb_tree_node<' + str(valtype) + '>')
565 if wtype.code == gdb.TYPE_CODE_ARRAY:
668 if type.code == gdb.TYPE_CODE_REF:
676 reptype = gdb.lookup_type (str (realtype) + '::_Rep').pointer ()
842 # "SubPrettyPrinter" protocol from gdb.printing.
854 if value.type.code == gdb.TYPE_CODE_REF:
855 if hasattr(gdb.Value,"referenced_value"):
861 # gdb.printing. It can also be used directly as an old-style printer.
893 if type.code == gdb.TYPE_CODE_REF:
914 if val.type.code == gdb.TYPE_CODE_REF:
915 if hasattr(gdb.Value,"referenced_value"):
947 self.type_obj = gdb.lookup_type(self.name).strip_typedefs()
959 gdb.types.register_type_printer(obj, printer)
1024 gdb.printing.register_pretty_printer(obj, libstdcxx_printer)
1027 obj = gdb
1078 # For array - the default GDB pretty-printer seems reasonable.
1122 # These shouldn't be necessary, if GDB "print *i" worked.