aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-breakpoint.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2011-04-27 12:04:42 +0000
committerVladimir Prus <vladimir@codesourcery.com>2011-04-27 12:04:42 +0000
commitf6d903988c5983e2882e3448dc1a059ef4c888a4 (patch)
treef500655e8f501e530af64263de1d6af6d88bb5d7 /gdb/python/py-breakpoint.c
parent8d3788bd590aa066f4f8383b7f8da20211e4ea9e (diff)
downloadgdb-f6d903988c5983e2882e3448dc1a059ef4c888a4.zip
gdb-f6d903988c5983e2882e3448dc1a059ef4c888a4.tar.gz
gdb-f6d903988c5983e2882e3448dc1a059ef4c888a4.tar.bz2
* python/py-breakpoint.c (gdbpy_breakpoint_created): Fix
compilation.
Diffstat (limited to 'gdb/python/py-breakpoint.c')
-rw-r--r--gdb/python/py-breakpoint.c2
1 files changed, 1 insertions, 1 deletions
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