title: Loading python support in gdb
body: <p>I've got a problem with getting python-specific commands working in gdb. I've got the general python support included:</p>
  
  <pre><code>(gdb) python print(True)
  True
  </code></pre>
  
  <p>I've got the standard scripts installed:</p>
  
  <pre><code>$ ls /usr/share/gdb/python/gdb/
  command  FrameDecorator.py  FrameIterator.py  frames.py  function  __init__.py  printer  printing.py  prompt.py  __pycache__  types.py  unwinder.py  xmethod.py
  </code></pre>
  
  <p>I made sure the loading is enabled with all paths I could:</p>
  
  <pre><code>$ cat ~/.gdbinit 
  add-auto-load-safe-path /usr/share/gdb/python/gdb/
  add-auto-load-safe-path /usr/share/gdb/python/
  add-auto-load-safe-path /usr/share/gdb/
  set auto-load python-scripts on
  </code></pre>
  
  <p>But for some reason gdb still doesn't like this:</p>
  
  <pre><code>(gdb) info auto-load 
  gdb-scripts:  No auto-load scripts.
  guile-scripts:  No auto-load scripts.
  libthread-db:  No auto-loaded libthread-db.
  local-gdbinit:  Local .gdbinit file was not found.
  python-scripts:  No auto-load scripts.
  </code></pre>
  
  <p>I'd like to get the <code>py-bt</code> command working after loading <code>gdb</code>.</p>