* mem-break.c (enum bkpt_type): New.
authorPedro Alves <palves@redhat.com>
Wed, 24 Mar 2010 21:11:25 +0000 (21:11 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 24 Mar 2010 21:11:25 +0000 (21:11 +0000)
commit414a389f5cf051cbf7792d1b7fcd78632f133193
treed7362d86c2543ec467e6e9ad527f4cf24f9a36e6
parent8c9a6790ddff5c6f7ae365a477882dbc9d1b3f6d
* mem-break.c (enum bkpt_type): New.
(struct breakpoint): New field `type'.
(set_breakpoint_at): Change return type to struct breakpoint
pointer.  Set type to `other_breakpoint' by default.
(delete_breakpoint): Rewrite, supporting more than one breakpoint
in the breakpoint list.
(delete_reinsert_breakpoints): Only delete reinsert breakpoints.
(reinsert_breakpoint): Rename to ...
(reinsert_raw_breakpoint): ... this.
(reinsert_breakpoints_at): Adjust.
* mem-break.h (struct breakpoint): Declare.
(set_breakpoint_at): Change return type to struct breakpoint
pointer.
gdb/gdbserver/ChangeLog
gdb/gdbserver/mem-break.c
gdb/gdbserver/mem-break.h