aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mi/mi-common.c')
-rw-r--r--gdb/mi/mi-common.c44
1 files changed, 21 insertions, 23 deletions
diff --git a/gdb/mi/mi-common.c b/gdb/mi/mi-common.c
index ce70d11..1cf273c 100644
--- a/gdb/mi/mi-common.c
+++ b/gdb/mi/mi-common.c
@@ -19,29 +19,27 @@
#include "defs.h"
#include "mi-common.h"
-static const char * const async_reason_string_lookup[] =
-{
- "breakpoint-hit",
- "watchpoint-trigger",
- "read-watchpoint-trigger",
- "access-watchpoint-trigger",
- "function-finished",
- "location-reached",
- "watchpoint-scope",
- "end-stepping-range",
- "exited-signalled",
- "exited",
- "exited-normally",
- "signal-received",
- "solib-event",
- "fork",
- "vfork",
- "syscall-entry",
- "syscall-return",
- "exec",
- "no-history",
- NULL
-};
+static const char *const async_reason_string_lookup[]
+ = { "breakpoint-hit",
+ "watchpoint-trigger",
+ "read-watchpoint-trigger",
+ "access-watchpoint-trigger",
+ "function-finished",
+ "location-reached",
+ "watchpoint-scope",
+ "end-stepping-range",
+ "exited-signalled",
+ "exited",
+ "exited-normally",
+ "signal-received",
+ "solib-event",
+ "fork",
+ "vfork",
+ "syscall-entry",
+ "syscall-return",
+ "exec",
+ "no-history",
+ NULL };
gdb_static_assert (ARRAY_SIZE (async_reason_string_lookup)
== EXEC_ASYNC_LAST + 1);