diff options
author | Jim Ingham <jingham@apple.com> | 2004-05-05 21:18:11 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2004-05-05 21:18:11 +0000 |
commit | 0a5e7efe29d89c9957e560fd608e0aa7528a3f4c (patch) | |
tree | 998c890df8408e11ff420c5d4bdea9d37e707521 /gdb/breakpoint.c | |
parent | 33216455a7084992c03481fee8a8320f98677ae1 (diff) | |
download | gdb-0a5e7efe29d89c9957e560fd608e0aa7528a3f4c.zip gdb-0a5e7efe29d89c9957e560fd608e0aa7528a3f4c.tar.gz gdb-0a5e7efe29d89c9957e560fd608e0aa7528a3f4c.tar.bz2 |
Preserve the ignore count when we resolve a pending breakpoint. Also add
a test for this to pending.exp.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 0fd4d23..650ea2a 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -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); } |