aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-x86-low.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/linux-x86-low.c')
-rw-r--r--gdb/gdbserver/linux-x86-low.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbserver/linux-x86-low.c b/gdb/gdbserver/linux-x86-low.c
index 10cd0d5..4e9564b 100644
--- a/gdb/gdbserver/linux-x86-low.c
+++ b/gdb/gdbserver/linux-x86-low.c
@@ -668,7 +668,7 @@ x86_insert_point (char type, CORE_ADDR addr, int len)
case '3': /* read watchpoint */
case '4': /* access watchpoint */
{
- enum target_hw_bp_type hw_type = Z_packet_to_hw_type (type);
+ enum target_hw_bp_type hw_type = Z_packet_to_target_hw_bp_type (type);
struct i386_debug_reg_state *state
= &proc->private->arch_private->debug_reg_state;
@@ -703,7 +703,7 @@ x86_remove_point (char type, CORE_ADDR addr, int len)
case '3': /* read watchpoint */
case '4': /* access watchpoint */
{
- enum target_hw_bp_type hw_type = Z_packet_to_hw_type (type);
+ enum target_hw_bp_type hw_type = Z_packet_to_target_hw_bp_type (type);
struct i386_debug_reg_state *state
= &proc->private->arch_private->debug_reg_state;