mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-20 12:51:10 +08:00
* python/py-breakpoint.c (gdbpy_breakpoint_created): Fix
compilation.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user