aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/baremetal
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2020-04-23 18:27:39 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2020-04-24 07:51:27 +0000
commitfe076dbe41bb05a4257601cfdc9008599fb31bd7 (patch)
tree5a0d7cda36a5265131647c26d220ff007e2b79f4 /src/plugins/baremetal
parent0f737dd708f5291e9aee7ad86cbcdee4814fcc4d (diff)
BareMetal: Parse missed 'debug' element in *.pdsc file for UVSC provider
Some *.pdsc files contains 'debug' elements inside of 'device' items which are should be handled too. Change-Id: I4ec97dc29c8bbc204f17815183a6afaedcdd3619 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/baremetal')
-rw-r--r--src/plugins/baremetal/debugservers/uvsc/uvtargetdevicemodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/baremetal/debugservers/uvsc/uvtargetdevicemodel.cpp b/src/plugins/baremetal/debugservers/uvsc/uvtargetdevicemodel.cpp
index f627367828c..7742441a027 100644
--- a/src/plugins/baremetal/debugservers/uvsc/uvtargetdevicemodel.cpp
+++ b/src/plugins/baremetal/debugservers/uvsc/uvtargetdevicemodel.cpp
@@ -321,6 +321,8 @@ void DeviceSelectionModel::parseDevice(QXmlStreamReader &in, DeviceSelectionItem
const QStringRef elementName = in.name();
if (elementName == "processor") {
fillCpu(in, child->cpu);
+ } else if (elementName == "debug") {
+ fillSvd(in, child->svd);
} else if (elementName == "memory") {
fillMemories(in, child->memories);
} else if (elementName == "algorithm") {