From: Matthew Gretton-Dann Date: Tue, 12 Oct 2010 08:46:15 +0000 (+0000) Subject: * gdb/arm-tdep.c (arm_mode_strings): Add NULL entry at end of array. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6877026586788b57988ba67c79c9ec94af30f591;p=binutils-gdb.git * gdb/arm-tdep.c (arm_mode_strings): Add NULL entry at end of array. --- 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";