Commit Graph

6 Commits

Author SHA1 Message Date
Denis Shienkov
c0cc33d184 BareMetal: Add 'GDBSERVER' prefix to GDB-specific provider identifiers
Change-Id: I511664932e2cc102e30ac6a2087f0f8e6db56bc3
Reviewed-by: hjk <hjk@qt.io>
2019-11-30 16:59:31 +00:00
Denis Shienkov
2b0dc60f4f BareMetal: Share the 'channel' property for all providers
Change-Id: I619d0ced6231ab57a4ac556f50030112295c58ea
Reviewed-by: hjk <hjk@qt.io>
2019-11-28 16:13:06 +00:00
Denis Shienkov
e73a187246 BareMetal: Get rid of GdbServerProvider::NoStartup mode
This mode is useless, has not sense, and complicates a code
handling. A more useful equivalent for this mode is
"Debug->Start Debugging->Attach to Running Debug Server".

Change-Id: I863dbc5c41ca82db52792a3ff2a1eae16f8e7afd
Reviewed-by: hjk <hjk@qt.io>
2019-11-28 11:09:41 +00:00
Denis Shienkov
f9634d92e3 BareMetal: Get rid of unused GdbServerProviderProcess class
We don't need in this class, because the remote GDB servers are
launches by the RunWorker.

Besides, the BareMetalDevice::canCreateProcess() and the
BareMetalDevice::createProcess() are not even gets called at all.

Tested with the STM32 Nucleo-F767ZI board using the ST-Util GDB provider.

Change-Id: I8d3770ec59738c63aa44dd39d371a1b443a81f9a
Reviewed-by: hjk <hjk@qt.io>
2019-11-26 15:15:50 +00:00
Denis Shienkov
cab228d05a BareMetal: Continue minimize dependency from GDB engine
The BareMetalDevice and the BareMetalDebugSupport classes should
not know anything about the specific implementation of the providers.

For this purpose, we just extend a providers by a new virtual methods
which are should be overridden for a concrete provider.

Change-Id: Ic5fef49f6b79e0ee7e8c4c386b4ed36cb5346dc1
Reviewed-by: hjk <hjk@qt.io>
2019-11-19 10:47:44 +00:00
Dmitry Kovalev
ad754d93ca BareMetal: Add JLink support
Change-Id: Ic780a2905b934adf1f8276396012cdfbf2fbc560
Reviewed-by: hjk <hjk@qt.io>
2019-11-13 15:13:00 +00:00