* python/py-breakpoint.c (gdbpy_breakpoint_created): Fix
compilation.
This commit is contained in:
parent
8d3788bd59
commit
f6d903988c
2 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue