diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2020-04-23 18:27:39 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2020-04-24 07:51:27 +0000 |
commit | fe076dbe41bb05a4257601cfdc9008599fb31bd7 (patch) | |
tree | 5a0d7cda36a5265131647c26d220ff007e2b79f4 /src/plugins/baremetal | |
parent | 0f737dd708f5291e9aee7ad86cbcdee4814fcc4d (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.cpp | 2 |
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") { |