From mboxrd@z Thu Jan 1 00:00:00 1970 From: Orjan Friberg To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: Z packet support in Gdbserver? Date: Wed, 26 May 2004 08:05:00 -0000 Message-id: <40B44FC0.1070005@axis.com> References: <40B3650C.5090800@axis.com> <20040525152659.GA22274@nevyn.them.org> X-SW-Source: 2004-05/msg00733.html Daniel Jacobowitz wrote: It's much simpler than that: gdbserver does not support hardware watchpoints. No one's ever implemented it. As a copy/paste exercise it would not be too hard; I still have pipe dreams of sharing the code with GDB someday. Ah, that explains it. So what's needed is basically two new function pointers in struct target_ops (insert_watchpoint/remove_watchpoint) and a snippet of code in server.c to recognize the z/Z packets. (I assume that's what you meant by copy/paste exercise.) -- Orjan Friberg Axis Communications