title: Is there any gdb helper script for libc functions?
body: <p>I'm trying to figure out parameters passed to a libc function, e.g</p>
  
  <pre><code>break XXX
  command
  printf "a=%p, b=%d ...\n", a, b
  end 
  </code></pre>
  
  <p>It's kinda lame, I had to write such thing for lots of functions.</p>
  
  <p>Now I'm wondering if there's any helper script or any better way to see these functions in gdb? Just like how <code>strace</code> works</p>