tools/gdb/gdb_chrome.py
def typed_ptr(ptr):
  """Prints a pointer along with its exact type.

    By default, gdb would print just the address, which takes more
    steps to interpret.
    """
  # Returning this as a cast expression surrounded by parentheses
  # makes it easier to cut+paste inside of gdb.
  return '((%s)%s)' % (ptr.dynamic_type, ptr)
Prints a pointer along with its exact type.

    By default, gdb would print just the address, which takes more
    steps to interpret.
    
Prints a pointer along with its exact type.
By default, gdb would print just the address, which takes more
steps to interpret.
Prints a pointer along with its exact type . By default gdb would print just the address which takes more steps to interpret .
def typed_ptr(ptr):
  return '((%s)%s)' % (ptr.dynamic_type, ptr)
def typed_ptr ( ptr ) : return '((%s)%s)' % ( ptr . dynamic_type , ptr )
Prints a pointer along with its exact type.
Prints a pointer along with its exact type .
"""Prints a pointer along with its exact type.

    By default, gdb would print just the address, which takes more
    steps to interpret.
    """ # Returning this as a cast expression surrounded by parentheses # makes it easier to cut+paste inside of gdb.
ptr