aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/python/py-breakpoint.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 13014b9..7f77310 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
+ * python/py-breakpoint.c (gdbpy_breakpoint_created): Fix
+ compilation.
+
+2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
+
MI breakpoint notifications.
* annotate.c (breakpoint_changed): Adjust parameter type.
diff --git a/gdb/python/py-breakpoint.c b/gdb/python/py-breakpoint.c
index 39578f1..9c33848 100644
--- a/gdb/python/py-breakpoint.c
+++ b/gdb/python/py-breakpoint.c
@@ -787,7 +787,7 @@ gdbpy_breakpoint_created (struct breakpoint *bp)
breakpoint_object *newbp;
PyGILState_STATE state;
- if (num < 0 && bppy_pending_object == NULL)
+ if (bp->number < 0 && bppy_pending_object == NULL)
return;
if (bp->type != bp_breakpoint