* server.c (process_serial_event): Re-return unsupported, not
authorPedro Alves <palves@redhat.com>
Thu, 25 Jun 2009 22:13:53 +0000 (22:13 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 25 Jun 2009 22:13:53 +0000 (22:13 +0000)
commitd993e290c9829e84cb4f342d043db2c1147bb88a
tree13600a03aa96bdb020c97124ac605e3af7dee2ff
parentf3a5f1de542b6920ab36db2b181006b6ff82ca2a
* server.c (process_serial_event): Re-return unsupported, not
error, if the type isn't recognized.  Re-allow supporting only
insert or remove packets.  Also call require_running for
breakpoints.  Add missing break statement to default case.  Tidy.
* target.h (struct target_ops): Rename insert_watchpoint to
insert_point, and remove_watchpoint to remove_point.

* linux-low.h (struct linux_target_ops): Likewise.
* linux-low.c (linux_insert_watchpoint): Rename to ...
(linux_insert_point): ... this.  Adjust.
(linux_remove_watchpoint): Rename to ...
(linux_remove_point): ... this.  Adjust.
(linux_target_ops): Adjust.
* linux-crisv32-low.c (cris_insert_watchpoint): Rename to ...
(cris_insert_point): ... this.
(cris_remove_watchpoint): Rename to ...
(cris_remove_point): ... this.
(the_low_target): Adjust.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-crisv32-low.c
gdb/gdbserver/linux-low.c
gdb/gdbserver/linux-low.h
gdb/gdbserver/server.c
gdb/gdbserver/target.h