title: "Cannot evaluate function -- may be in-lined" error in GDB for STL template container
body: <p>I want to be able to get the address and print a single pair from an STL container using GDB.</p>
  <p>E.g., given the following toy program:</p>
  <pre><code>#include &lt;map&gt;
  
  int main() 
  {
    std::map&lt;int,int&gt; amap;
    amap.insert(std::make_pair(1,2));
  
  }
  </code></pre>
  <p>which I compile as:</p>
  <pre><code>g++ -ggdb3 -O0 -std=c++11 -Wall -Wextra -pedantic -o main.out main.cpp
  </code></pre>
  <p>Then, when I try to examine a single element of map, for example:</p>
  <pre><code>p amap.begin()
  </code></pre>
  <p>I get:</p>
  <pre><code>&quot;Cannot evaluate function -- may be in-lined&quot; 
  </code></pre>
  <p>Why is this happening and how do I work around it?</p>
  <p>Tested in Ubuntu 20.04, GCC 9.3.0, 2.34.</p>