This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit/6.1.1] backport pending breakpoint count fix
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 12 Jun 2004 13:57:47 -0400
- Subject: [commit/6.1.1] backport pending breakpoint count fix
FYI,
I've committed the attached.
Andrew
2004-06-12 Andrew Cagney <cagney@gnu.org>
Import from mainline:
2004-05-05 Jim Ingham <jingham@apple.com>
* breakpoint.c (create_breakpoints): Copy the ignore count and
thread id over from the pended breakpoint to the actual
breakpoint.
Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.162
diff -p -u -r1.162 breakpoint.c
--- breakpoint.c 28 Feb 2004 16:56:12 -0000 1.162
+++ breakpoint.c 12 Jun 2004 17:56:23 -0000
@@ -4921,6 +4921,10 @@ create_breakpoints (struct symtabs_and_l
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);
}