Report FP registers as feature "org.gnu.gdb.arm.vfp".

This allows GDB to synthesise single precision registers S0-S32.
This commit is contained in:
Gareth McMullin 2012-02-12 14:59:42 +13:00
parent 38d8147774
commit a43cbf65c9
1 changed files with 2 additions and 0 deletions

View File

@ -271,6 +271,8 @@ static const char tdesc_cortex_mf[] =
" <reg name=\"msp\" bitsize=\"32\" save-restore=\"no\" type=\"data_ptr\"/>"
" <reg name=\"psp\" bitsize=\"32\" save-restore=\"no\" type=\"data_ptr\"/>"
" <reg name=\"special\" bitsize=\"32\" save-restore=\"no\"/>"
" </feature>"
" <feature name=\"org.gnu.gdb.arm.vfp\">"
" <reg name=\"fpscr\" bitsize=\"32\"/>"
" <reg name=\"d0\" bitsize=\"64\" type=\"float\"/>"
" <reg name=\"d1\" bitsize=\"64\" type=\"float\"/>"