title: How can I insert a time string into a GDB log?
body: <p>I recently discovered that you can set breakpoints in Xcode that will print to the console and auto-continue -- meaning you can insert log statements without having to write NSLog() calls and recompile (on-the-fly logging, woot).</p>
  
  <p>Only problem is that it seems to be a little limited in what you can display when doing a log.
  It shows some tokens you can insert, like %B to print out some info about the current breakpoint or %H for the hit count.</p>
  
  <p>I'd like to know if there's any way I can insert a time stamp in a particular format into the log line?</p>
  
  <p>I tried playing with the "shell script" breakpoint action, but it told me that the date command didn't exist.... strange...</p>
  
  <p>Any help would be awesome,
  Thanks guys!</p>