* 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 a9ebb8ff9c389d21c2bef991eb948adc09b0c4d1..320b660c063f532b08b3d3f4c39b0cc62d6ff54e 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 19b9c851d615bbdc99804156811af67df5b73467..5b32b8a47ca8dd9cdd516bea3de9c9e0956fe4f3 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";