2011-10-31 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Mon, 31 Oct 2011 12:55:26 +0000 (12:55 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 31 Oct 2011 12:55:26 +0000 (12:55 +0000)
commitb9fd179153353a88a34dd97a03ee698376212d29
tree8bc287b65968fbb6ab935b498ed00a0db9363cec
parentbb593acb76bc52b23ddbad3f9b5199be26879da5
2011-10-31  Pedro Alves  <pedro@codesourcery.com>

gdb/gdbserver/
* mem-break.c (check_mem_write): Add `myaddr' parameter.  Don't
clobber the breakpoints' shadows with fast tracepoint jumps.
* mem-break.h (check_mem_write): Add `myaddr' parameter.
* target.c (write_inferior_memory): Also pass MYADDR down to
check_mem_write.

gdb/testsuite/
        * gdb.trace/trace-break.c: New.
        * gdb.trace/trace-break.exp: New.
gdb/gdbserver/ChangeLog
gdb/gdbserver/mem-break.c
gdb/gdbserver/mem-break.h
gdb/gdbserver/target.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/trace-break.c [new file with mode: 0644]
gdb/testsuite/gdb.trace/trace-break.exp [new file with mode: 0644]