2011-12-14 Yao Qi <yao@codesourcery.com>

* i386-low.c (i386_low_stopped_data_address): Initialize local
	variable `control'.
This commit is contained in:
Yao Qi 2011-12-14 07:41:06 +00:00
parent 93995a1655
commit d54d1edf1a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-12-14 Yao Qi <yao@codesourcery.com>
* i386-low.c (i386_low_stopped_data_address): Initialize local
variable `control'.
2011-12-13 Pedro Alves <pedro@codesourcery.com>
PR remote/13492

View File

@ -566,7 +566,7 @@ i386_low_stopped_data_address (struct i386_debug_reg_state *state,
data breakpoint trap. Only fetch it when necessary, to avoid an
unnecessary extra syscall when no watchpoint triggered. */
int control_p = 0;
unsigned control;
unsigned control = 0;
/* In non-stop/async, threads can be running while we change the
global dr_mirror (and friends). Say, we set a watchpoint, and