Add support of coprocessor cp15, cp14 registers exposion in the embedded gdb server

Bug #741115 reported by Anton Kochkov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Wishlist
Unassigned

Bug Description

Please add support of exposion of ARM coprocesor registers/logic at the embedded gdb server,
 for example of cp15, cp14, etc registers.

Related project http://jtagarmgdbsrvr.sourceforge.net/index.html

Also filled bug in the GDB http://sourceware.org/bugzilla/show_bug.cgi?id=12602

Tags: arm debug gdb
Thomas Huth (th-huth)
Changed in qemu:
importance: Undecided → Wishlist
Revision history for this message
Peter Maydell (pmaydell) wrote :

Since QEMU 3.0 the QEMU gdb stub supports read-only access to most cp14/cp15 registers. The gdb 'info all-registers' command will print all the registers (integer, fp and system registers), or individual registers can be read with commands like "print /x $SCTLR".

Write access isn't supported (that is a lot trickier to do in a reliable way since QEMU's internals make assumptions that system registers can only be changed in the ways that the guest validly can, and there's no easy API to connect to the debug stub that would allow the user to change system registers in only safe ways).

Peter Maydell (pmaydell)
Changed in qemu:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.