OSDN Git Service

* server.c (process_serial_event): Re-return unsupported, not
authorPedro Alves <pedro@codesourcery.com>
Thu, 25 Jun 2009 22:13:52 +0000 (22:13 +0000)
committerPedro Alves <pedro@codesourcery.com>
Thu, 25 Jun 2009 22:13:52 +0000 (22:13 +0000)
commitcaa5e412314b510ca5b8b0b33e410f66196ac4b0
tree5095f7c65d5e91134950e334615cb422302b099e
parent2137e6aadb0a311b8aa4d9500d1b1e154d18794e
* 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