« Previous | Next » 

Revision b3d6b959


Added by Kazu Hirata almost 14 years ago

target-m68k: fix a typo in 'P' packet processing

Attached is a patch to fix a typo in 'P' packet processing for M68K.

Without this patch, QEMU fails to honor GDB's P packets from GDB
(writing to registers) for the address registers (A0 - A7).

The problem is because of an obvious typo. Notice that the second
"if" condition is meant to be n < 16 in:

if (n < 8) {
} else if (n < 8) {

Signed-off-by: Kazu Hirata <>
Signed-off-by: Aurelien Jarno <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences