summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-12 17:58:23 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-12 17:58:23 +0000
commit4607120b58352d4c192b7dff45f23ea85bd396d0 (patch)
treeb75b3f536c6fcf19447781ba649bfffa9eaeb188
parent1c58c570903533a5375c725aaddab76a2e1062d5 (diff)
downloadgdb-4607120b58352d4c192b7dff45f23ea85bd396d0.tar.gz
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.
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/breakpoint.c4
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 916bc3f740c..8b1c298f516 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2004-06-11 Andrew Cagney <cagney@gnu.org>
* NEWS: Mention ISO-C fixes.
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 01a46b39f41..933d90226dd 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -4921,6 +4921,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);
}