Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: gdb/python/py-bpevent.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/python/py-block.c ('k') | gdb/python/py-breakpoint.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/python/py-bpevent.c
diff --git a/gdb/python/py-bpevent.c b/gdb/python/py-bpevent.c
index 138c39f0b2b2b1016a4cee83ef43c8014e45afd2..5238ad89c237e93d78514a556ae7abc5d070ac7c 100644
--- a/gdb/python/py-bpevent.c
+++ b/gdb/python/py-bpevent.c
@@ -1,6 +1,6 @@
/* Python interface to inferior breakpoint stop events.
- Copyright (C) 2009-2012 Free Software Foundation, Inc.
+ Copyright (C) 2009-2013 Free Software Foundation, Inc.
This file is part of GDB.
@@ -17,11 +17,14 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "defs.h"
#include "py-stopevent.h"
-static PyTypeObject breakpoint_event_object_type;
+static PyTypeObject breakpoint_event_object_type
+ CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("event_object");
-/* Create and initialize a BreakpointEvent object. */
+/* Create and initialize a BreakpointEvent object. This acquires new
+ references to BREAKPOINT_LIST and FIRST_BP. */
PyObject *
create_breakpoint_event_object (PyObject *breakpoint_list, PyObject *first_bp)
« no previous file with comments | « gdb/python/py-block.c ('k') | gdb/python/py-breakpoint.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698