Re: [PATCH] gdbstub: Fix segment fault for i386 and m68k

2020-04-12 Thread Changbin Du
On Sun, Apr 12, 2020 at 02:58:56PM +0200, Laurent Vivier wrote: > CC: Alex Bennée > > The one for m68k is already queued by Alex. > Great. I will send x86 fix only. Thanks! > Thanks, > Laurent > -- Cheers, Changbin Du

Re: [PATCH] gdbstub: Fix segment fault for i386 and m68k

2020-04-12 Thread Laurent Vivier
CC: Alex Bennée The one for m68k is already queued by Alex. Thanks, Laurent Le 12/04/2020 à 12:44, Changbin Du a écrit : > With GByteArray, we should pass the object itself but not to plus an offset. > > gdb log: > Thread 1 "qemu-system-x86" received signal SIGSEGV, Segmentation fault. > __memm

[PATCH] gdbstub: Fix segment fault for i386 and m68k

2020-04-12 Thread Changbin Du
With GByteArray, we should pass the object itself but not to plus an offset. gdb log: Thread 1 "qemu-system-x86" received signal SIGSEGV, Segmentation fault. __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:384 384 ../sysdeps/x86_64/multiarch/memmove