title: Print string starting with NUL in gdb
body: <p>I have a string which starts with the character <code>\0</code> - it's by design and I know its actual length.</p>
  
  <p>How can I print its representation using escapes like <code>"\0foo\0bar\0"</code>, if I know its length?</p>