Index: gdb/mi/mi-common.c |
diff --git a/gdb/mi/mi-common.c b/gdb/mi/mi-common.c |
index 1eaa99011bd9a2953f6e431d9f75c74a2cdf8ae9..1a3851e72986363a189d71803b93b09f4cd8a5bd 100644 |
--- a/gdb/mi/mi-common.c |
+++ b/gdb/mi/mi-common.c |
@@ -43,7 +43,8 @@ static const char * const async_reason_string_lookup[] = |
NULL |
}; |
-static_assert (ARRAY_SIZE (async_reason_string_lookup) == EXEC_ASYNC_LAST + 1); |
+gdb_static_assert (ARRAY_SIZE (async_reason_string_lookup) |
+ == EXEC_ASYNC_LAST + 1); |
const char * |
async_reason_lookup (enum async_reply_reason reason) |