diff options
author | Tom Tromey <tom@tromey.com> | 2016-07-14 11:50:55 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2016-07-14 11:51:12 -0600 |
commit | 7f131b39970944cb53b407715880d333c5248cac (patch) | |
tree | 630c458c9d484750385925bf6df4b23275e8938c /gdb/python | |
parent | 78cc6c2d9aa3baf6030e513cb1cb5984acee2ee0 (diff) | |
download | gdb-7f131b39970944cb53b407715880d333c5248cac.zip gdb-7f131b39970944cb53b407715880d333c5248cac.tar.gz gdb-7f131b39970944cb53b407715880d333c5248cac.tar.bz2 |
Add missing newline to py-breakpoint.c
In https://sourceware.org/ml/gdb-patches/2016-07/msg00152.html,
Yao noted that a patch of mine was missing a newline.
I thought I had fixed this but when looking today I realized it was
not fixed. This patch adds it.
I'm checking this in as obvious.
2016-07-14 Tom Tromey <tom@tromey.com>
* python/py-breakpoint.c (gdbpy_breakpoint_deleted): Add missing
newline.
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-breakpoint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/python/py-breakpoint.c b/gdb/python/py-breakpoint.c index 22de791..80f5d1f 100644 --- a/gdb/python/py-breakpoint.c +++ b/gdb/python/py-breakpoint.c @@ -948,6 +948,7 @@ gdbpy_breakpoint_deleted (struct breakpoint *b) if (!evregpy_no_listeners_p (gdb_py_events.breakpoint_deleted)) { PyObject *bp_obj_alias = (PyObject *) bp_obj; + Py_INCREF (bp_obj_alias); if (evpy_emit_event (bp_obj_alias, gdb_py_events.breakpoint_deleted) < 0) |