def METHOD_NAME(sym_name):
    "Watch a symbol for any access."
    # Should hit for any read
    do_one_watch(sym_name, gdb.WP_ACCESS, "awatch")
    # Again should hit for reads
    do_one_watch(sym_name, gdb.WP_READ, "rwatch")
    # Finally when it is written
    do_one_watch(sym_name, gdb.WP_WRITE, "watch")