forked from Imagelibrary/binutils-gdb
2013-04-25 Hui Zhu <hui@codesourcery.com>
* breakpoint.c (build_target_command_list): Change loc->cond_bytecode to loc->cmd_bytecode.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user