title: gdb: search function by name to set a breakpoint
body: <p>I'm trying to find out what part of a program prints to <strong>stdout</strong>.</p>
  
  <p>I can set a breakpoint using command like:
  <code>b std::ostream::operator&lt;&lt;(int)</code></p>
  
  <p>but when i type: <code>b std::operator&lt;&lt;(std::ostream&amp;, const std::string&amp;)</code> no breakpoint is created.</p>
  
  <p>So there are two questions:</p>
  
  <ol>
  <li>How to set a breakpoint on <code>operator &lt;&lt; (..., cosnt std::string&amp;)</code> ?</li>
  <li>I want to set a breakpoint, but i don't know the exact name of the function. How to search for a function using <b>regexp</b> or part of its name ?</li>
  </ol>