From 75d12218648d04459fc1b98644e807381e514248 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Sat, 5 Nov 2011 20:25:19 +0000 Subject: [PATCH] gdb/ * i386-nat.c (dr_ref_count): Remove unused variable. --- gdb/ChangeLog | 4 ++++ gdb/i386-nat.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b2f84e3703b..094281a3944 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-11-05 Jan Kratochvil + + * i386-nat.c (dr_ref_count): Remove unused variable. + 2011-11-05 Doug Evans * main.c (captured_main): Set lim_at_start before calling diff --git a/gdb/i386-nat.c b/gdb/i386-nat.c index 4c6c4e959f8..e27a1a04241 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; -- 2.30.2