diff options
Diffstat (limited to 'gdb/nat/x86-dregs.c')
-rw-r--r-- | gdb/nat/x86-dregs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/nat/x86-dregs.c b/gdb/nat/x86-dregs.c index 37d1ff1..b1fae73 100644 --- a/gdb/nat/x86-dregs.c +++ b/gdb/nat/x86-dregs.c @@ -407,8 +407,8 @@ x86_handle_nonaligned_watchpoint (struct x86_debug_reg_state *state, int align = addr % max_wp_len; /* Four (eight on AMD64) is the maximum length a debug register can watch. */ - int try = (len > max_wp_len ? (max_wp_len - 1) : len - 1); - int size = size_try_array[try][align]; + int attempt = (len > max_wp_len ? (max_wp_len - 1) : len - 1); + int size = size_try_array[attempt][align]; if (what == WP_COUNT) { |