* python/py-breakpoint.c (gdbpy_breakpoint_created): Fix
compilation.
This commit is contained in:
parent
8d3788bd59
commit
f6d903988c
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue