GDB (API)
/home/stan/gdb/src/gdb/python/py-stopevent.h
Go to the documentation of this file.
00001 /* Python interface to inferior events.
00002 
00003    Copyright (C) 2009-2013 Free Software Foundation, Inc.
00004 
00005    This file is part of GDB.
00006 
00007    This program is free software; you can redistribute it and/or modify
00008    it under the terms of the GNU General Public License as published by
00009    the Free Software Foundation; either version 3 of the License, or
00010    (at your option) any later version.
00011 
00012    This program is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015    GNU General Public License for more details.
00016 
00017    You should have received a copy of the GNU General Public License
00018    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00019 
00020 #ifndef GDB_PY_STOPEVENT_H
00021 #define GDB_PY_STOPEVENT_H
00022 
00023 #include "py-event.h"
00024 
00025 extern PyObject *create_stop_event_object (PyTypeObject *py_type);
00026 extern void stop_evpy_dealloc (PyObject *self);
00027 
00028 extern int emit_stop_event (struct bpstats *bs,
00029                             enum gdb_signal stop_signal);
00030 
00031 extern PyObject *create_breakpoint_event_object (PyObject *breakpoint_list,
00032                                                  PyObject *first_bp);
00033 
00034 extern PyObject *create_signal_event_object (enum gdb_signal stop_signal);
00035 
00036 #endif /* GDB_PY_STOPEVENT_H */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines