Remove path name from test case
[binutils-gdb.git] / gdbserver / ax-result-types.def
1 /* Agent expression result types.
2
3 Copyright (C) 2023 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 /* The AX_RESULT_TYPE macro is used to define a result type that can be
21 generated by agent expression evaluation. The first macro argument is
22 the name of an enum entry, and the second is a string that describes
23 this result type. */
24
25 AX_RESULT_TYPE (expr_eval_no_error,
26 "terror:no error")
27 AX_RESULT_TYPE (expr_eval_empty_expression,
28 "terror:empty expression")
29 AX_RESULT_TYPE (expr_eval_empty_stack,
30 "terror:empty stack")
31 AX_RESULT_TYPE (expr_eval_stack_overflow,
32 "terror:stack overflow")
33 AX_RESULT_TYPE (expr_eval_stack_underflow,
34 "terror:stack underflow")
35 AX_RESULT_TYPE (expr_eval_unhandled_opcode,
36 "terror:unhandled opcode")
37 AX_RESULT_TYPE (expr_eval_unrecognized_opcode,
38 "terror:unrecognized opcode")
39 AX_RESULT_TYPE (expr_eval_divide_by_zero,
40 "terror:divide by zero")
41 AX_RESULT_TYPE (expr_eval_invalid_goto,
42 "terror:invalid goto")
43 AX_RESULT_TYPE (expr_eval_invalid_memory_access,
44 "terror:invalid memory access")