def METHOD_NAME(self, sym_name):
    "Setup sym and wp_str for given symbol."
    self.sym, ok = gdb.lookup_symbol(sym_name)
    wp_addr = gdb.parse_and_eval(sym_name).address
    self.wp_str = '*(%(type)s)(&%(address)s)' % dict(
        type = wp_addr.type, address = sym_name)
    return(self.wp_str)