1 /* Interface for common GDB/MI data
2 Copyright (C) 2005 Free Software Foundation, Inc.
4 This file is part of GDB.
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
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
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.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02110-1301, USA. */
24 /* Represents the reason why GDB is sending an asynchronous command to the
25 front end. NOTE: When modifing this, don't forget to update gdb.texinfo! */
26 enum async_reply_reason
28 EXEC_ASYNC_BREAKPOINT_HIT
= 0,
29 EXEC_ASYNC_WATCHPOINT_TRIGGER
,
30 EXEC_ASYNC_READ_WATCHPOINT_TRIGGER
,
31 EXEC_ASYNC_ACCESS_WATCHPOINT_TRIGGER
,
32 EXEC_ASYNC_FUNCTION_FINISHED
,
33 EXEC_ASYNC_LOCATION_REACHED
,
34 EXEC_ASYNC_WATCHPOINT_SCOPE
,
35 EXEC_ASYNC_END_STEPPING_RANGE
,
36 EXEC_ASYNC_EXITED_SIGNALLED
,
38 EXEC_ASYNC_EXITED_NORMALLY
,
39 EXEC_ASYNC_SIGNAL_RECEIVED
,
40 /* This is here only to represent the number of enums. */
44 const char *async_reason_lookup (enum async_reply_reason reason
);