title: How to set skipping of uninteresting functions while stepping from gdbinit script?
body: <p>I'm trying to setup a set of functions to be skipped by gdb from stepping in by commands like:</p>
  <pre><code>skip myfunction
  </code></pre>
  <p>. But if I place them in <code>~/.gdbinit</code> instead of just saying in the terminal gdb prompt, I get the error:</p>
  <blockquote>
  <p>No function found named myfunction.</p>
  <p>Ignore function pending future shared library load? (y or [n]) [answered N; input not from terminal]</p>
  </blockquote>
  <p>So I need GDB to get <code>Y</code> answer. I've tried what was <a href="https://stackoverflow.com/a/100501/673852">suggested for breakpoints</a> as well as <code>set confirm off</code> suggested in a comment to <a href="https://stackoverflow.com/questions/19317708/">this question</a>. But these don't help with <code>skip</code> command.</p>
  <p>How can I set <code>skip</code> in a <code>.gdbinit</code> script, answering <code>Y</code> about future library load?</p>