Preserve the ignore count when we resolve a pending breakpoint. Also add
a test for this to pending.exp.
This commit is contained in:
parent
33216455a7
commit
0a5e7efe29
4 changed files with 54 additions and 0 deletions
|
@ -4948,6 +4948,10 @@ create_breakpoints (struct symtabs_and_lines sals, char **addr_string,
|
|||
be copied too. */
|
||||
if (pending_bp->commands)
|
||||
b->commands = copy_command_lines (pending_bp->commands);
|
||||
|
||||
/* We have to copy over the ignore_count and thread as well. */
|
||||
b->ignore_count = pending_bp->ignore_count;
|
||||
b->thread = pending_bp->thread;
|
||||
}
|
||||
mention (b);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue