aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/breakpoint.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a19d860..c64fb08 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+ * breakpoint.h (owner): Extend the comment.
+
+2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
Clear stale specific bp_location from former whole breakpoint.
* breakpoint.c (delete_breakpoint): Move the stale referencing clear
code ...
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 8b7a5c6..d053db8 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -244,7 +244,8 @@ struct bp_location
/* Each breakpoint location must belong to exactly one higher-level
breakpoint. This and the DUPLICATE flag are more straightforward
- than reference counting. */
+ than reference counting. This pointer is NULL iff this bp_location is in
+ (and therefore only in) moribund_locations. */
struct breakpoint *owner;
/* Conditional. Break only if this expression's value is nonzero.