forked from Imagelibrary/binutils-gdb
Preserve the ignore count when we resolve a pending breakpoint. Also add
a test for this to pending.exp.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user