OSDN Git Service

* server.c (process_serial_event): Re-return unsupported, not
authorpalves <palves>
Thu, 25 Jun 2009 22:13:52 +0000 (22:13 +0000)
committerpalves <palves>
Thu, 25 Jun 2009 22:13:52 +0000 (22:13 +0000)
commitc27075b927f7a01b8f8068422498e0583c337516
tree78015f42a50ed8249c47ae7d45fbd36ac890eaf7
parent272682e167597496bc9d6dd94edaa4d93f132b4a
* 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