From f6d903988c5983e2882e3448dc1a059ef4c888a4 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 27 Apr 2011 12:04:42 +0000 Subject: * python/py-breakpoint.c (gdbpy_breakpoint_created): Fix compilation. --- gdb/python/py-breakpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/python/py-breakpoint.c') 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 -- cgit v1.1