* python/py-breakpoint.c (gdbpy_breakpoint_created): Fix

compilation.
This commit is contained in:
Vladimir Prus 2011-04-27 12:04:42 +00:00
parent 8d3788bd59
commit f6d903988c
2 changed files with 6 additions and 1 deletions

View file

@ -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