title: gdbserver loading symbol table from remote file
body: <p>I am trying to use gdbserver...<br>
  I have an application with binary path <code>/user/bin/foo</code> running with pid <code>19767</code>. </p>
  
  <p>Started the gdbserver on remote: </p>
  
  <pre><code>gdbserver  --remote-debug --multi 0:12347 
  </code></pre>
  
  <p>Started gdb on client and connected it to remove server</p>
  
  <pre><code>target extended-remote 192.168.1.84:12347
  </code></pre>
  
  <p>Attached gdb on pid </p>
  
  <pre><code>attach 19767
  </code></pre>
  
  <p>It shows: </p>
  
  <pre><code>warning: Could not load vsyscall page because no executable was specified
  try using the "file" command first.
  0x00007f207550043c in ?? ()
  </code></pre>
  
  <p>Also, current thread information it is showing is incorrect. Like info threads shows 1 thread , but my app has 10 threads- </p>
  
  <pre><code>(gdb) info threads
  * 1 Thread 19767.19767  0x00007f207550043c in ?? ()
  </code></pre>
  
  <p>How can I ask gdb to load symbol from remote file <code>/user/bin/foo</code>? How to make it show correct info?</p>