forked from OSchip/llvm-project
If we fail to attach, return an error rather than returning the success or failure
of sending the error packet. llvm-svn: 200732
This commit is contained in:
parent
5e390e4df7
commit
1c6da87bc9
|
@ -3011,7 +3011,9 @@ RNBRemote::HandlePacket_v (const char *p)
|
|||
m_ctx.LaunchStatus().SetErrorString(err_str);
|
||||
else
|
||||
m_ctx.LaunchStatus().SetErrorString("attach failed");
|
||||
return SendPacket ("E01"); // E01 is our magic error value for attach failed.
|
||||
SendPacket ("E01"); // E01 is our magic error value for attach failed.
|
||||
DNBLogError ("Attach failed: \"%s\".", err_str);
|
||||
return rnb_err;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue