Remote 'g' packet reply is too long-Collection of common programming errors
I also faced same issue, I fixed it by modifying gdbstub.c (in qemu sources) to send 64bit registers always and hinting GDB that architecture is 64bit by passing set arch i386:x86_64 You can check the patch here: Visit http://kernel-demystified.com/forum/index.php/topic,19.msg19.html?PHPSESSID=rejt5pnr4koj7cudmsl4n4bhj7#new