On Wednesday 18 April 2007 21:53, Jan Kiszka wrote: > Jason Wessel wrote: > > This patch fixes the registers for the 'g' and 'G' packets for the > > qemu-system-x86_64 target. It allows gdb 6.5 to debug a linux kernel > > and get a stack back trace. > > Here comes a corrected (RBX and RDX were mixed) and slightly enhanced > (segment register reading, don't know how writing should look like) > version of this patch. Tested successfully with qemu-0.9.0 and gdb-6.6. > Would be nice to see this support in the next qemu release.
Can't you recycle the i386 code, like other 64-bit targets do? Paul