* gdb/arm-tdep.c (arm_mode_strings): Add NULL entry at end of array.
authorMatthew Gretton-Dann <matthew.gretton-dann@arm.com>
Tue, 12 Oct 2010 08:46:15 +0000 (08:46 +0000)
committerMatthew Gretton-Dann <matthew.gretton-dann@arm.com>
Tue, 12 Oct 2010 08:46:15 +0000 (08:46 +0000)
gdb/ChangeLog
gdb/arm-tdep.c

index a9ebb8f..320b660 100644 (file)
@@ -1,3 +1,7 @@
+2010-10-12  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * arm-tdep.c (arm_mode_strings): Add NULL entry at end of array.
+
 2010-10-11  Doug Evans  <dje@google.com>
 
        * c-typeprint.c (c_type_print_modifier): Add note that this prints
index 19b9c85..5b32b8a 100644 (file)
@@ -124,7 +124,8 @@ static const char *arm_mode_strings[] =
   {
     "auto",
     "arm",
-    "thumb"
+    "thumb",
+    NULL
   };
 
 static const char *arm_fallback_mode_string = "auto";