arch-power: Add multi-mode debugging support
authorSandipan Das <sandipan@linux.ibm.com>
Sat, 6 Feb 2021 12:20:49 +0000 (17:50 +0530)
committerSandipan Das <sandipan@linux.ibm.com>
Mon, 15 Feb 2021 08:32:38 +0000 (14:02 +0530)
commita6464e3cbad1d704d0c2410dea676ea2676b7500
tree3129041de144e4c582df2fb755c2f1d8f4e2fe35
parent326ddb5e688b05b8a95582117ddda2027d0f7b84
arch-power: Add multi-mode debugging support

This adds multi-mode support for remote debugging via GDB
with the addition of the XML target description files for
both 32-bit and 64-bit variants of the Power architecture.
Proper byte order conversions have also been added.

Since, MSR has now been modeled to some extent, it is also
exposed by getRegs() but setRegs() does not modify it.
Similarly, the target descriptions require FPSCR to also
be part of the payload and hence, it has been added too.

Change-Id: I156fdccb791f161959dbb2c3dd8ab1e510d9cd4b
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
ext/gdb-xml/power-core.xml [new file with mode: 0644]
ext/gdb-xml/power-fpu.xml [new file with mode: 0644]
ext/gdb-xml/power.xml [deleted file]
ext/gdb-xml/power64-core.xml [new file with mode: 0644]
ext/gdb-xml/powerpc-32.xml [new file with mode: 0644]
ext/gdb-xml/powerpc-64.xml [new file with mode: 0644]
src/arch/power/SConscript
src/arch/power/remote_gdb.cc
src/arch/power/remote_gdb.hh