thanks By the way, when will the host (GDB) send z(Z)packedt like z(Z)1, address, len? At present , my stub only can receive Z(z) packet like z(Z) 0, address, len. Regards -----Original Message----- From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com]On Behalf Of Eli Zaretskii Sent: 2004Äê3ÔÂ26ÈÕ 18:02 To: kaifeng@koretide.com.cn Cc: gdb@sources.redhat.com Subject: Re: About watchpoint on gdb6.0 > From: =?gb2312?B?u8a/rbfl?= > Date: Fri, 26 Mar 2004 15:52:31 +0800 > > Now I want to support watchpoint on my stub running on x86, > what should I do? Read the source code of x86 watchpoint support in i386-nat.c and implement the various macros and functions required for that, I think.