diff options
author | Gary Benson <gbenson@redhat.com> | 2014-06-16 10:47:02 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-06-18 10:15:05 +0100 |
commit | 51c79e94b2a4572cd983e47089f6b7beea7c5ea9 (patch) | |
tree | 92ee31c8b3e05be601d9cfcca7ab280f9bb4ecde /gdb | |
parent | 3e11889a6e22823270024e8f5f0b2478807a2a54 (diff) | |
download | gdb-51c79e94b2a4572cd983e47089f6b7beea7c5ea9.zip gdb-51c79e94b2a4572cd983e47089f6b7beea7c5ea9.tar.gz gdb-51c79e94b2a4572cd983e47089f6b7beea7c5ea9.tar.bz2 |
Remove unused macro
This commit removes an unused macro from i386-nat.c.
gdb/
2014-06-18 Gary Benson <gbenson@redhat.com>
* i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/i386-nat.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dbd0d2e..03a19e9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2014-06-18 Gary Benson <gbenson@redhat.com> + * i386-nat.c (I386_DR_WATCH_MASK): Remove macro. + +2014-06-18 Gary Benson <gbenson@redhat.com> + * i386-nat.c (i386_length_and_rw_bits): Remove prototype. (i386_insert_aligned_watchpoint): Likewise. (i386_remove_aligned_watchpoint): Likewise. diff --git a/gdb/i386-nat.c b/gdb/i386-nat.c index 7c9e7ca..f9fb52f 100644 --- a/gdb/i386-nat.c +++ b/gdb/i386-nat.c @@ -143,9 +143,6 @@ struct i386_dr_low_type i386_dr_low; (((dr7) \ >> (DR_CONTROL_SHIFT + DR_CONTROL_SIZE * (i))) & 0x0f) -/* Mask that this I'th watchpoint has triggered. */ -#define I386_DR_WATCH_MASK(i) (1 << (i)) - /* Did the watchpoint whose address is in the I'th register break? */ #define I386_DR_WATCH_HIT(dr6, i) ((dr6) & (1 << (i))) |