diff options
Diffstat (limited to 'gdb/gdbserver/tracepoint.c')
-rw-r--r-- | gdb/gdbserver/tracepoint.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c index e1c4a45..4455084 100644 --- a/gdb/gdbserver/tracepoint.c +++ b/gdb/gdbserver/tracepoint.c @@ -848,7 +848,10 @@ IP_AGENT_EXPORT_VAR int trace_buffer_is_full; /* The first error that occurred during expression evaluation. */ -IP_AGENT_EXPORT_VAR enum eval_result_type expr_eval_result = expr_eval_no_error; +/* Stored as an int to avoid the IPA ABI being dependent on whatever + the compiler decides to use for the enum's underlying type. Holds + enum eval_result_type values. */ +IP_AGENT_EXPORT_VAR int expr_eval_result = expr_eval_no_error; EXTERN_C_POP |