title: Print character array to file in GDB
body: <p>I have an array of characters with about 100k entries. It seems like when in the function I 
  <code>print *buffer</code> it is getting cut off prematurely. is there anything I can do to lengthen the amount of characters gdb will print to console? If not, can I print this variable to file? I tried to use the dump commands, but couldnt seem to come up with the right thing. </p>