qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] arm vfp support in gdbstub


From: Vladimir Vukicevic
Subject: [Qemu-devel] arm vfp support in gdbstub
Date: Wed, 27 Aug 2008 22:50:19 -0700

Howdy,

gdb doesn't seem to know what to do with vfp registers on arm, and qemu wasn't sending them anyway. The attached patch and gdb tdesc files let you examine fp state via the debugger. What's the right way to do this? Ideally it would be selectable at runtime in some way, and gdb should be told what the processor desc is without having to manually do it. Note that I left the FPA hole because org.gnu.gdb.arm.core puts cpsr at regnum 25, so there would end up being a hole there anyway.

To use, load the tdesc in gdb via 'set tdesc filename arm-with- vfp.xml', then target remote qemuhost:port as normal with a qemu built with the attached patch.

    - Vlad

Attachment: qemu-gdbstubs-vfp.patch
Description: Binary data

Attachment: arm-with-vfp.xml
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]