aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-11-05 20:25:19 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-11-05 20:25:19 +0000
commit75d12218648d04459fc1b98644e807381e514248 (patch)
tree1178a7f22561afbffcbbdb4ee307c95917bd4d55 /gdb
parente565b8378e354b9c074839d1dd25b0655ee99f2a (diff)
downloadgdb-75d12218648d04459fc1b98644e807381e514248.zip
gdb-75d12218648d04459fc1b98644e807381e514248.tar.gz
gdb-75d12218648d04459fc1b98644e807381e514248.tar.bz2
gdb/
* i386-nat.c (dr_ref_count): Remove unused variable.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/i386-nat.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b2f84e3..094281a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * i386-nat.c (dr_ref_count): Remove unused variable.
+
2011-11-05 Doug Evans <dje@google.com>
* main.c (captured_main): Set lim_at_start before calling
diff --git a/gdb/i386-nat.c b/gdb/i386-nat.c
index 4c6c4e9..e27a1a0 100644
--- a/gdb/i386-nat.c
+++ b/gdb/i386-nat.c
@@ -194,9 +194,6 @@ i386_init_dregs (struct i386_debug_reg_state *state)
static struct i386_debug_reg_state dr_mirror;
-/* Reference counts for each debug register. */
-static int dr_ref_count[DR_NADDR];
-
/* Whether or not to print the mirrored debug registers. */
static int maint_show_dr;