* breakpoint.c (create_breakpoint): Set

condition on each location, not on the first
	location of breakpoint.
This commit is contained in:
Vladimir Prus 2007-09-26 18:44:55 +00:00
parent 489eaebade
commit d32a698258
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-09-26 Vladimir Prus <vladimir@codesourcery.com>
* breakpoint.c (create_breakpoint): Set
condition on each location, not on the first
location of breakpoint.
2007-09-26 Jim Blandy <jimb@codesourcery.com>
* remote.c (getpkt_sane): Fix error message. No animals were

View File

@ -5163,7 +5163,7 @@ create_breakpoint (struct symtabs_and_lines sals, char *addr_string,
if (b->cond_string)
{
char *arg = b->cond_string;
b->loc->cond = parse_exp_1 (&arg, block_for_pc (b->loc->address), 0);
loc->cond = parse_exp_1 (&arg, block_for_pc (loc->address), 0);
if (*arg)
{
if (pending_bp)