arm, objdump: print obsolote warning when 26-bit set in instructions
[binutils-gdb.git] / gdb / python / py-event-types.def
blobe22f042bd6b353695a5664a42c004dc7a3d8d31b
1 /* Python event definitions -*- c++ -*-
3 Copyright (C) 2017-2024 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 (thread_exited,
55 "ThreadExitedEvent",
56 "GDB thread exited event object",
57 event_object_type);
59 GDB_PY_DEFINE_EVENT_TYPE (new_inferior,
60 "NewInferiorEvent",
61 "GDB new inferior event object",
62 event_object_type);
64 GDB_PY_DEFINE_EVENT_TYPE (inferior_deleted,
65 "InferiorDeletedEvent",
66 "GDB inferior deleted event object",
67 event_object_type);
69 GDB_PY_DEFINE_EVENT_TYPE (inferior_call_pre,
70 "InferiorCallPreEvent",
71 "GDB inferior function pre-call event object",
72 event_object_type);
74 GDB_PY_DEFINE_EVENT_TYPE (inferior_call_post,
75 "InferiorCallPostEvent",
76 "GDB inferior function post-call event object",
77 event_object_type);
79 GDB_PY_DEFINE_EVENT_TYPE (register_changed,
80 "RegisterChangedEvent",
81 "GDB register change event object",
82 event_object_type);
84 GDB_PY_DEFINE_EVENT_TYPE (memory_changed,
85 "MemoryChangedEvent",
86 "GDB memory change event object",
87 event_object_type);
89 GDB_PY_DEFINE_EVENT_TYPE (new_objfile,
90 "NewObjFileEvent",
91 "GDB new object file event object",
92 event_object_type);
94 GDB_PY_DEFINE_EVENT_TYPE (free_objfile,
95 "FreeObjFileEvent",
96 "GDB free object file event object",
97 event_object_type);
99 GDB_PY_DEFINE_EVENT_TYPE (clear_objfiles,
100 "ClearObjFilesEvent",
101 "GDB clear object files event object",
102 event_object_type);
104 GDB_PY_DEFINE_EVENT_TYPE (signal,
105 "SignalEvent",
106 "GDB signal event object",
107 stop_event_object_type);
109 GDB_PY_DEFINE_EVENT_TYPE (stop,
110 "StopEvent",
111 "GDB stop event object",
112 thread_event_object_type);
114 GDB_PY_DEFINE_EVENT_TYPE (thread,
115 "ThreadEvent",
116 "GDB thread event object",
117 event_object_type);
119 GDB_PY_DEFINE_EVENT_TYPE (gdb_exiting,
120 "GdbExitingEvent",
121 "GDB is about to exit",
122 event_object_type);
124 GDB_PY_DEFINE_EVENT_TYPE (connection,
125 "ConnectionEvent",
126 "GDB connection added or removed object",
127 event_object_type);
129 GDB_PY_DEFINE_EVENT_TYPE (executable_changed,
130 "ExecutableChangedEvent",
131 "GDB executable changed event",
132 event_object_type);
134 GDB_PY_DEFINE_EVENT_TYPE (new_progspace,
135 "NewProgspaceEvent",
136 "GDB new Progspace event object",
137 event_object_type);
139 GDB_PY_DEFINE_EVENT_TYPE (free_progspace,
140 "FreeProgspaceEvent",
141 "GDB free Progspace event object",
142 event_object_type);
144 GDB_PY_DEFINE_EVENT_TYPE (tui_enabled,
145 "TuiEnabledEvent",
146 "GDB TUI enabled event object",
147 event_object_type);