This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Add missing newline to py-breakpoint.c
- From: Tom Tromey <tromey at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 14 Jul 2016 17:54:54 -0000
- Subject: [binutils-gdb] Add missing newline to py-breakpoint.c
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7f131b39970944cb53b407715880d333c5248cac
commit 7f131b39970944cb53b407715880d333c5248cac
Author: Tom Tromey <tom@tromey.com>
Date: Thu Jul 14 11:50:55 2016 -0600
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.
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/python/py-breakpoint.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c8419f4..8f5a5e0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2016-07-14 Tom Tromey <tom@tromey.com>
+ * python/py-breakpoint.c (gdbpy_breakpoint_deleted): Add missing
+ newline.
+
+2016-07-14 Tom Tromey <tom@tromey.com>
+
* mips-tdep.c (micromips_scan_prologue): Remove "frame_addr".
(mips_o32_push_dummy_call): Remove "stack_used_p".
* aarch64-tdep.c (aarch64_record_data_proc_imm): Remove
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)