BareMetal: Do not add a duplicate entry for GDB server provider
In case the SDK settings contain some host which was imported, and the server
provider was modified to a different host, it is re-imported on next execution
of Creator.
Also fix a potential memory leak when registration fails.
Change-Id: I96d087ab35e0dc54975768c4bc697218080049ae
Reviewed-by:
hjk <hjk@theqtcompany.com>
Showing
- src/plugins/baremetal/baremetaldevice.cpp 15 additions, 7 deletionssrc/plugins/baremetal/baremetaldevice.cpp
- src/plugins/baremetal/gdbserverprovidermanager.cpp 8 additions, 0 deletionssrc/plugins/baremetal/gdbserverprovidermanager.cpp
- src/plugins/baremetal/gdbserverprovidermanager.h 1 addition, 0 deletionssrc/plugins/baremetal/gdbserverprovidermanager.h
Loading
Please register or sign in to comment