Refactor i386_{insert,remove}_hw_breakpoint
authorGary Benson <gbenson@redhat.com>
Thu, 19 Jun 2014 09:50:20 +0000 (10:50 +0100)
committerGary Benson <gbenson@redhat.com>
Thu, 19 Jun 2014 09:55:12 +0000 (10:55 +0100)
commit322a8e06b9675df9dfaaae956538b6cc8a695d4a
tree718a0219e3d8cad17057d9ea3d17ce2a62617a76
parent8f26655c9e3a038159ce4e6f4ad027fd40a99333
Refactor i386_{insert,remove}_hw_breakpoint

This commit refactors i386_{insert,remove}_hw_breakpoint
to call i386_{insert,remove}_watchpoint rather than
duplicating functionality.

gdb/
2014-06-19  Gary Benson  <gbenson@redhat.com>

* i386-nat.c (i386_insert_hw_breakpoint): Use
i386_insert_watchpoint.
(i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
gdb/ChangeLog
gdb/i386-nat.c