From 6877026586788b57988ba67c79c9ec94af30f591 Mon Sep 17 00:00:00 2001 From: Matthew Gretton-Dann Date: Tue, 12 Oct 2010 08:46:15 +0000 Subject: [PATCH] * gdb/arm-tdep.c (arm_mode_strings): Add NULL entry at end of array. --- gdb/ChangeLog | 4 ++++ gdb/arm-tdep.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a9ebb8ff9c3..320b660c063 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-10-12 Matthew Gretton-Dann + + * arm-tdep.c (arm_mode_strings): Add NULL entry at end of array. + 2010-10-11 Doug Evans * c-typeprint.c (c_type_print_modifier): Add note that this prints diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 19b9c851d61..5b32b8a47ca 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -124,7 +124,8 @@ static const char *arm_mode_strings[] = { "auto", "arm", - "thumb" + "thumb", + NULL }; static const char *arm_fallback_mode_string = "auto"; -- 2.30.2