BareMetal: Fix cloning of GDB server providers

Change-Id: Ie063ce3ab2caf5cf2ee709236db891e22bb9cc8b
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Tim Sander <tim@krieglstein.org>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-11-17 16:05:06 +02:00
committed by Tobias Hunger
parent 131c8027da
commit c37193f884

View File

@@ -67,7 +67,7 @@ GdbServerProvider::GdbServerProvider(const QString &id)
}
GdbServerProvider::GdbServerProvider(const GdbServerProvider &other)
: m_id(other.m_id)
: m_id(createId(other.m_id))
, m_startupMode(other.m_startupMode)
, m_initCommands(other.m_initCommands)
, m_resetCommands(other.m_resetCommands)