aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorAndreas Tobler <andreast@sourceware.org>2012-01-11 21:51:31 +0000
committerAndreas Tobler <andreast@sourceware.org>2012-01-11 21:51:31 +0000
commit2efa2c79ea0c2bcd8cc35dcdfe49492ba5304134 (patch)
tree388e0f71bd80594569d1ba16c6b96b68758639af /gdb/mi
parent88e7d25d8daee9ae228af4ead1fd61bb8657c126 (diff)
downloadgdb-2efa2c79ea0c2bcd8cc35dcdfe49492ba5304134.zip
gdb-2efa2c79ea0c2bcd8cc35dcdfe49492ba5304134.tar.gz
gdb-2efa2c79ea0c2bcd8cc35dcdfe49492ba5304134.tar.bz2
2012-01-11 Andreas Tobler <andreast@fgznet.ch>
* common/gdb_assert.h (gdb_static_assert): Rename static_assert to an internal gdb_static_assert. * mi/mi-common.c: Rename static_assert to gdb_static_assert.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/mi/mi-common.c b/gdb/mi/mi-common.c
index 1eaa990..1a3851e 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)