This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Z packet support in Gdbserver?
- From: Orjan Friberg <orjan dot friberg at axis dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 25 May 2004 17:23:56 +0200
- Subject: Z packet support in Gdbserver?
- Organization: Axis Communications
I noticed there's no support for z/Z packets for hardware watchpoints in
the gdbserver. (I searched the archives for this, but came up
empty-handed.) I'd guess that (from looking at ptrace.c for i386, where
it accesses the DR_ registers) that the Gdbserver gets to configure the
hardware breakpoint mechanism through ptrace (PTRACE_POKEUSR, ...). But
how does it get there in the first place, if not as a result of a z/Z
packet? Through direct register writes (G packet)?
--
Orjan Friberg
Axis Communications