Hi, I have solved this problem by modify the GDB source. Download the gdb-7.8 source code, and modify the gdb/remote.c,
At 2014-10-31 10:07:49, "孙贝磊" <sunnybe...@126.com> wrote: Hi, I am trying to debug the Linux-64 bit kernel with Qemu, but meet the following problems: Remote 'g' packet reply is too long: 28636081ffffffff6cca69010000000000fc090000000000685f5481fffffffff9774a81ffffffff36636081ffffffffb85f5481ffffffffa05f5481ffffffff00800001000000000000000000000000985f5481ffffffffd03101000000000000000000000000000000000000000000000000000000000000000000000000006a925d81ffffffff4600000010000000180000001800000018000000180000001800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007f0300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000801f0000 (gdb) I used the latest Qemu version ,Qemu-2.1.2, that I compiled and installed manually. I referred to the solution in http://augustl.com/blog/2014/gdb_progress/ , "set architecture i386:x86-64:intel", but it didn't work. Did any one meet similar problems? And advice is appreciated... Thank you