diff options
author | Gary Benson <gbenson@redhat.com> | 2014-06-17 13:11:56 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-06-18 10:14:56 +0100 |
commit | fc6e2f03be9f8b49cc017413f7d2c4f3645f46df (patch) | |
tree | 126e4e7ec9236824aac726260dba37de474d76ba /gdb/gdbserver | |
parent | 6a83deeaa80479ac9cf5ad8302bf933dd0b27faa (diff) | |
download | gdb-fc6e2f03be9f8b49cc017413f7d2c4f3645f46df.zip gdb-fc6e2f03be9f8b49cc017413f7d2c4f3645f46df.tar.gz gdb-fc6e2f03be9f8b49cc017413f7d2c4f3645f46df.tar.bz2 |
Whitespace changes
This commit fixes various whitespace differences between i386-nat.c
and i386-low.c.
gdb/
2014-06-18 Gary Benson <gbenson@redhat.com>
* i386-nat.c: Whitespace changes.
gdb/gdbserver/
2014-06-18 Gary Benson <gbenson@redhat.com>
* i386-low.c: Whitespace changes.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/i386-low.c | 16 |
2 files changed, 14 insertions, 6 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index a348d9a..b3bf319 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2014-06-18 Gary Benson <gbenson@redhat.com> + + * i386-low.c: Whitespace changes. + 2014-06-12 Tom Tromey <tromey@redhat.com> * utils.c (freeargv): Remove. diff --git a/gdb/gdbserver/i386-low.c b/gdb/gdbserver/i386-low.c index de2d11a..304d6f3 100644 --- a/gdb/gdbserver/i386-low.c +++ b/gdb/gdbserver/i386-low.c @@ -115,7 +115,7 @@ } while (0) /* Set in DR7 the RW and LEN fields for the I'th debug register. */ -#define I386_DR_SET_RW_LEN(state, i,rwlen) \ +#define I386_DR_SET_RW_LEN(state, i, rwlen) \ do { \ (state)->dr_control_mirror &= \ ~(0x0f << (DR_CONTROL_SHIFT + DR_CONTROL_SIZE * (i))); \ @@ -136,7 +136,7 @@ /* Types of operations supported by i386_handle_nonaligned_watchpoint. */ typedef enum { WP_INSERT, WP_REMOVE, WP_COUNT } i386_wp_op_t; - + /* Implementation. */ /* Clear the reference counts and forget everything we knew about the @@ -446,14 +446,16 @@ i386_low_insert_watchpoint (struct i386_debug_reg_state *state, && !(TARGET_HAS_DR_LEN_8 && len == 8)) || addr % len != 0) { - retval = i386_handle_nonaligned_watchpoint (&local_state, WP_INSERT, + retval = i386_handle_nonaligned_watchpoint (&local_state, + WP_INSERT, addr, len, type); } else { unsigned len_rw = i386_length_and_rw_bits (len, type); - retval = i386_insert_aligned_watchpoint (&local_state, addr, len_rw); + retval = i386_insert_aligned_watchpoint (&local_state, + addr, len_rw); } if (retval == 0) @@ -483,14 +485,16 @@ i386_low_remove_watchpoint (struct i386_debug_reg_state *state, && !(TARGET_HAS_DR_LEN_8 && len == 8)) || addr % len != 0) { - retval = i386_handle_nonaligned_watchpoint (&local_state, WP_REMOVE, + retval = i386_handle_nonaligned_watchpoint (&local_state, + WP_REMOVE, addr, len, type); } else { unsigned len_rw = i386_length_and_rw_bits (len, type); - retval = i386_remove_aligned_watchpoint (&local_state, addr, len_rw); + retval = i386_remove_aligned_watchpoint (&local_state, + addr, len_rw); } if (retval == 0) |