]>
Commit | Line | Data |
---|---|---|
034dad6f | 1 | /* Interface for common GDB/MI data |
1d506c26 | 2 | Copyright (C) 2005-2024 Free Software Foundation, Inc. |
034dad6f BR |
3 | |
4 | This file is part of GDB. | |
5 | ||
6 | This program is free software; you can redistribute it and/or modify | |
7 | it under the terms of the GNU General Public License as published by | |
a9762ec7 | 8 | the Free Software Foundation; either version 3 of the License, or |
034dad6f BR |
9 | (at your option) any later version. |
10 | ||
11 | This program is distributed in the hope that it will be useful, | |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | GNU General Public License for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
a9762ec7 | 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
034dad6f | 18 | |
1a5c2598 TT |
19 | #ifndef MI_MI_COMMON_H |
20 | #define MI_MI_COMMON_H | |
034dad6f | 21 | |
9a2b4c1b | 22 | /* Represents the reason why GDB is sending an asynchronous command to |
33b5899f | 23 | the front end. NOTE: When modifying this, don't forget to update |
9a2b4c1b | 24 | gdb.texinfo! */ |
034dad6f BR |
25 | enum async_reply_reason |
26 | { | |
27 | EXEC_ASYNC_BREAKPOINT_HIT = 0, | |
28 | EXEC_ASYNC_WATCHPOINT_TRIGGER, | |
29 | EXEC_ASYNC_READ_WATCHPOINT_TRIGGER, | |
30 | EXEC_ASYNC_ACCESS_WATCHPOINT_TRIGGER, | |
31 | EXEC_ASYNC_FUNCTION_FINISHED, | |
32 | EXEC_ASYNC_LOCATION_REACHED, | |
33 | EXEC_ASYNC_WATCHPOINT_SCOPE, | |
34 | EXEC_ASYNC_END_STEPPING_RANGE, | |
35 | EXEC_ASYNC_EXITED_SIGNALLED, | |
36 | EXEC_ASYNC_EXITED, | |
37 | EXEC_ASYNC_EXITED_NORMALLY, | |
38 | EXEC_ASYNC_SIGNAL_RECEIVED, | |
36dfb11c TT |
39 | EXEC_ASYNC_SOLIB_EVENT, |
40 | EXEC_ASYNC_FORK, | |
41 | EXEC_ASYNC_VFORK, | |
42 | EXEC_ASYNC_SYSCALL_ENTRY, | |
43 | EXEC_ASYNC_SYSCALL_RETURN, | |
44 | EXEC_ASYNC_EXEC, | |
37f54063 | 45 | EXEC_ASYNC_NO_HISTORY, |
034dad6f BR |
46 | /* This is here only to represent the number of enums. */ |
47 | EXEC_ASYNC_LAST | |
48 | }; | |
49 | ||
50 | const char *async_reason_lookup (enum async_reply_reason reason); | |
51 | ||
1a5c2598 | 52 | #endif /* MI_MI_COMMON_H */ |