* breakpoint.c (build_target_command_list): Change loc->cond_bytecode
	to loc->cmd_bytecode.
This commit is contained in:
Hui Zhu
2013-04-24 23:09:31 +00:00
parent e3031850bc
commit 40fb6c5ead
2 changed files with 8 additions and 3 deletions

View File

@@ -2343,11 +2343,11 @@ build_target_command_list (struct bp_location *bl)
{
/* Only go as far as the first NULL bytecode is
located. */
if (!loc->cond_bytecode)
if (loc->cmd_bytecode == NULL)
return;
free_agent_expr (loc->cond_bytecode);
loc->cond_bytecode = NULL;
free_agent_expr (loc->cmd_bytecode);
loc->cmd_bytecode = NULL;
}
}
}