diff options
author | Gary Benson <gbenson@redhat.com> | 2014-06-10 10:44:00 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-06-18 10:15:15 +0100 |
commit | 9b4550ef5e4223bf03a343dc8dd29285bf635e8b (patch) | |
tree | 7620f8ceb5913e47ae28b4ae36135777d1688cb2 /gdb/i386-nat.c | |
parent | 6e62758f0249b3b8e4f2f82af6074eed44246cb5 (diff) | |
download | gdb-9b4550ef5e4223bf03a343dc8dd29285bf635e8b.zip gdb-9b4550ef5e4223bf03a343dc8dd29285bf635e8b.tar.gz gdb-9b4550ef5e4223bf03a343dc8dd29285bf635e8b.tar.bz2 |
Add a const
This commit adds a const that was in i386-low.c but not in i386-nat.c.
gdb/
2014-06-18 Gary Benson <gbenson@redhat.com>
* i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
Make const.
Diffstat (limited to 'gdb/i386-nat.c')
-rw-r--r-- | gdb/i386-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-nat.c b/gdb/i386-nat.c index a7742f2..23efb33 100644 --- a/gdb/i386-nat.c +++ b/gdb/i386-nat.c @@ -466,7 +466,7 @@ i386_handle_nonaligned_watchpoint (struct i386_debug_reg_state *state, int retval = 0; int max_wp_len = TARGET_HAS_DR_LEN_8 ? 8 : 4; - static int size_try_array[8][8] = + static const int size_try_array[8][8] = { {1, 1, 1, 1, 1, 1, 1, 1}, /* Trying size one. */ {2, 1, 2, 1, 2, 1, 2, 1}, /* Trying size two. */ |