(Ada) problem printing renaming which references a subprogram parameter
[binutils-gdb.git] / gdb / python / py-event-types.def
blob4039be7d82dbd81e98c24500c5010890a1ddf011
1 /* Python event definitions -*- c++ -*-
3 Copyright (C) 2017-2018 Free Software Foundation, Inc.
5 This file is part of GDB.
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.
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.
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/>. */
20 /* To use this file, define GDB_PY_DEFINE_EVENT_TYPE to expand how you
21 like, then include the file.
23 Each invocation is of the form:
25 GDB_PY_DEFINE_EVENT_TYPE(name, py_name, doc, base)
27 NAME is the name of the event.
28 PY_NAME a string representing what the event should be called in
29 python.
30 DOC Python documentation for the new event type
31 BASE the base event for this event usually just event_object_type.
34 GDB_PY_DEFINE_EVENT_TYPE (breakpoint,
35 "BreakpointEvent",
36 "GDB breakpoint stop event object",
37 stop_event_object_type);
39 GDB_PY_DEFINE_EVENT_TYPE (continue,
40 "ContinueEvent",
41 "GDB continue event object",
42 thread_event_object_type);
44 GDB_PY_DEFINE_EVENT_TYPE (exited,
45 "ExitedEvent",
46 "GDB exited event object",
47 event_object_type);
49 GDB_PY_DEFINE_EVENT_TYPE (new_thread,
50 "NewThreadEvent",
51 "GDB new thread event object",
52 thread_event_object_type);
54 GDB_PY_DEFINE_EVENT_TYPE (new_inferior,
55 "NewInferiorEvent",
56 "GDB new inferior event object",
57 event_object_type);
59 GDB_PY_DEFINE_EVENT_TYPE (inferior_deleted,
60 "InferiorDeletedEvent",
61 "GDB inferior deleted event object",
62 event_object_type);
64 GDB_PY_DEFINE_EVENT_TYPE (inferior_call_pre,
65 "InferiorCallPreEvent",
66 "GDB inferior function pre-call event object",
67 event_object_type);
69 GDB_PY_DEFINE_EVENT_TYPE (inferior_call_post,
70 "InferiorCallPostEvent",
71 "GDB inferior function post-call event object",
72 event_object_type);
74 GDB_PY_DEFINE_EVENT_TYPE (register_changed,
75 "RegisterChangedEvent",
76 "GDB register change event object",
77 event_object_type);
79 GDB_PY_DEFINE_EVENT_TYPE (memory_changed,
80 "MemoryChangedEvent",
81 "GDB memory change event object",
82 event_object_type);
84 GDB_PY_DEFINE_EVENT_TYPE (new_objfile,
85 "NewObjFileEvent",
86 "GDB new object file event object",
87 event_object_type);
89 GDB_PY_DEFINE_EVENT_TYPE (clear_objfiles,
90 "ClearObjFilesEvent",
91 "GDB clear object files event object",
92 event_object_type);
94 GDB_PY_DEFINE_EVENT_TYPE (signal,
95 "SignalEvent",
96 "GDB signal event object",
97 stop_event_object_type);
99 GDB_PY_DEFINE_EVENT_TYPE (stop,
100 "StopEvent",
101 "GDB stop event object",
102 thread_event_object_type);
104 GDB_PY_DEFINE_EVENT_TYPE (thread,
105 "ThreadEvent",
106 "GDB thread event object",
107 event_object_type);