diff options
author | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2010-10-12 08:46:15 +0000 |
---|---|---|
committer | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2010-10-12 08:46:15 +0000 |
commit | 6877026586788b57988ba67c79c9ec94af30f591 (patch) | |
tree | 84d4e7f05c88f671557a7e3d2fc2e63bea80f57a | |
parent | 60536292df89b6dce88e43e4bb239ebd86f3b790 (diff) | |
download | gdb-6877026586788b57988ba67c79c9ec94af30f591.zip gdb-6877026586788b57988ba67c79c9ec94af30f591.tar.gz gdb-6877026586788b57988ba67c79c9ec94af30f591.tar.bz2 |
* gdb/arm-tdep.c (arm_mode_strings): Add NULL entry at end of array.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/arm-tdep.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a9ebb8f..320b660 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 19b9c85..5b32b8a 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"; |