Added a new format for displaying an array of characters: eFormatCharArray
This us useful because sometomes you have to show a single character as: 'a'
(using eFormatChar) and other times you might have an array of single 
charcters for display as: 'a' 'b' 'c', and other times you might want to 
show the contents of buffer of characters that can contain non printable
chars: "\0\x22\n123". 

This also fixes an issue that currently happens when you have a single character
C string (const char *a = "a"; or char b[1] = { 'b' };) that was being output
as "'a'" incorrectly due to the way the eFormatChar format output worked.




git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133316 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/Args.cpp b/source/Interpreter/Args.cpp
index 95183a0..1913132 100644
--- a/source/Interpreter/Args.cpp
+++ b/source/Interpreter/Args.cpp
@@ -908,6 +908,7 @@
             case 'Y': format = eFormatBytesWithASCII;   break;
             case 'b': format = eFormatBinary;           break;
             case 'B': format = eFormatBoolean;          break;
+            case 'a': format = eFormatCharArray;        break;
             case 'c': format = eFormatChar;             break;
             case 'C': format = eFormatCharPrintable;    break;
             case 'o': format = eFormatOctal;            break;
@@ -930,6 +931,7 @@
         }
         if (!success)
             error.SetErrorStringWithFormat ("Invalid format specification '%s'. Valid values are:\n"
+                                            "  a - char buffer\n"
                                             "  b - binary\n"
                                             "  B - boolean\n"
                                             "  c - char\n"