title: Remote 'g' packet reply is too long
body: <p>I am trying to debug Linux kernel with kvm vm. I am getting an error message "Remote 'g' packet reply is too long". My host is 64-bit and so is my vm.</p>
  
  <p>My steps:</p>
  
  <ol>
  <li>Start the VM with custom -kernel, -initrd and -append options.</li>
  <li>Start gdb</li>
  <li>Execute "set architecture i386:x86-64:intel"</li>
  <li>Execute "add-symbol-file linux-3.0/vmlinux"</li>
  <li>Execute "show arch" to verify its still "i386:x86-64:intel"</li>
  <li>Execute "target remote localhost:1234"</li>
  <li>Execute "continue"</li>
  <li>Press Ctrl+C, I get the above message.</li>
  </ol>
  
  <p>Has anyone faced this problem?</p>