Fix memory leak in python.c:do_start_initialization
[deliverable/binutils-gdb.git] / gdb / python / py-record-btrace.h
1 /* Python interface to btrace record targets.
2
3 Copyright 2016-2017 Free Software Foundation, Inc.
4
5 This file is part of GDB.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
20 #ifndef GDB_PY_RECORD_BTRACE_H
21 #define GDB_PY_RECORD_BTRACE_H
22
23 #include "python-internal.h"
24
25 /* Implementation of record.method [str]. */
26 extern PyObject *recpy_bt_method (PyObject *self, void *closure);
27
28 /* Implementation of record.format [str]. */
29 extern PyObject *recpy_bt_format (PyObject *self, void *closure);
30
31 /* Implementation of record.goto (instruction) -> None. */
32 extern PyObject *recpy_bt_goto (PyObject *self, PyObject *value);
33
34 /* Implementation of record.instruction_history [list]. */
35 extern PyObject *recpy_bt_instruction_history (PyObject *self, void *closure);
36
37 /* Implementation of record.function_call_history [list]. */
38 extern PyObject *recpy_bt_function_call_history (PyObject *self, void *closure);
39
40 /* Implementation of record.replay_position [instruction]. */
41 extern PyObject *recpy_bt_replay_position (PyObject *self, void *closure);
42
43 /* Implementation of record.begin [instruction]. */
44 extern PyObject *recpy_bt_begin (PyObject *self, void *closure);
45
46 /* Implementation of record.end [instruction]. */
47 extern PyObject *recpy_bt_end (PyObject *self, void *closure);
48
49 #endif /* GDB_PY_RECORD_BTRACE_H */
This page took 0.040047 seconds and 4 git commands to generate.