Revision aa6290b7 gdbstub.c

b/gdbstub.c
929 929

  
930 930
    if (reason == EXCP_DEBUG) {
931 931
        if (s->env->watchpoint_hit) {
932
            snprintf(buf, sizeof(buf), "T%02xwatch:%x;", SIGTRAP,
932
            snprintf(buf, sizeof(buf), "T%02xwatch:" TARGET_FMT_lx ";",
933
                     SIGTRAP,
933 934
                     s->env->watchpoint[s->env->watchpoint_hit - 1].vaddr);
934 935
            put_packet(s, buf);
935 936
            s->env->watchpoint_hit = 0;

Also available in: Unified diff