stm32f7: also send features to gdb.

So that 'extra' registers (msp, psp, ...) are visible to user.
pull/360/head
Tristan Gingold 2015-12-17 11:05:00 +01:00
rodzic 881ed008da
commit cce54ea2c7
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -840,7 +840,9 @@ int serve(stlink_t *sl, st_state_t *st) {
DLOG("query: %s;%s\n", queryName, params);
if(!strcmp(queryName, "Supported")) {
if(sl->chip_id==STM32_CHIPID_F4 || sl->chip_id==STM32_CHIPID_F4_HD) {
if(sl->chip_id==STM32_CHIPID_F4
|| sl->chip_id==STM32_CHIPID_F4_HD
|| sl->chip_id==STM32_CHIPID_F7) {
reply = strdup("PacketSize=3fff;qXfer:memory-map:read+;qXfer:features:read+");
}
else {