mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 04:46:11 +00:00
Fixed a segfault during debugging with gdbserver (#2830)
Fixes issue #2829
This commit is contained in:
parent
5440a0ef50
commit
cbda0ad27e
@ -297,6 +297,10 @@ void DebugActions::attachRemoteDebugger()
|
|||||||
|
|
||||||
void DebugActions::onAttachedRemoteDebugger(bool successfully)
|
void DebugActions::onAttachedRemoteDebugger(bool successfully)
|
||||||
{
|
{
|
||||||
|
// TODO(#2829): Investigate why this is happening
|
||||||
|
if (remoteDialog == nullptr)
|
||||||
|
return;
|
||||||
|
|
||||||
if (!successfully) {
|
if (!successfully) {
|
||||||
QMessageBox msgBox;
|
QMessageBox msgBox;
|
||||||
msgBox.setText(tr("Error connecting."));
|
msgBox.setText(tr("Error connecting."));
|
||||||
|
Loading…
Reference in New Issue
Block a user