The m68k gdbstub SR reg request doesnt include Condition-Codes
authorLucien Murray-Pitts <lucienmp.qemu@gmail.com>
Sun, 9 Jun 2019 10:51:54 +0000 (19:51 +0900)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 26 Jun 2019 15:12:57 +0000 (17:12 +0200)
commitbf1fa6912dd44463b00ca1c4f006a807b2940466
tree5341ab622d8f0dc0ea7852ec4787d776e6599208
parent474f3938d79ab36b9231c9ad3b5a9314c2aeacde
The m68k gdbstub SR reg request doesnt include Condition-Codes

The register request via gdbstub would return the SR part
which contains the Trace/Master/IRQ state flags, but
would be missing the CR (Condition Register) state bits.

This fix adds this support by merging them in the m68k
specific gdbstub handler m68k_cpu_gdb_read_register for SR register.

Signed-off-by: Lucien Murray-Pitts <lucienmp.qemu@gmail.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20190609105154.GA16755@localhost.localdomain>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
target/m68k/gdbstub.c