This is the mail archive of the
mailing list for the GDB project.
gdb watch command packet communication
- From: IAPT-Sreerama Shailaja <sreerama dot shailaja at iap-online dot com>
- To: gdb at sourceware dot org
- Date: Tue, 25 Nov 2008 22:13:01 -0500 (EST)
- Subject: gdb watch command packet communication
The RSP packet to read the memory is
Maddr,length:XX... -- write mem
Here addr is the address.
Sending packet: $Z2,1,4#49...Ack
Packet received: E10
so here address is 1.
If we look at the flow in gdb source, the function remote_xfer_partial()
xfered = remote_xfer_memory (offset, readbuf, len, 0, NULL, ops);
Here the offset value is 1. this value is used as address while makeing
RSP "m" packet.
Here my question is, the RSP packet can contain the offset value ? instead
of actual target address ?
Thanks in Advance