Revert "debug_server: Remove the "Write core file" button."

This reverts commit 02079c66f3.

Change-Id: I95a4bbef67e2a982da49a18105a4cbd85c4e11e9
Reviewed-on: https://review.haiku-os.org/c/1457
Reviewed-by: Rene Gollent <[email protected]>
This commit is contained in:
Adrien Destugues
2019-05-21 06:55:45 +00:00
committed by Adrien Destugues
parent d906fe3cc7
commit 33fc4f4063
+4 -4
View File
@@ -39,8 +39,8 @@
enum { enum {
kActionKillTeam, kActionKillTeam,
kActionDebugTeam, kActionDebugTeam,
kActionSaveReportTeam,
kActionWriteCoreFile, kActionWriteCoreFile,
kActionSaveReportTeam,
kActionPromptUser kActionPromptUser
}; };
@@ -903,10 +903,10 @@ TeamDebugHandler::_HandleMessage(DebugMessage *message)
// if someone else kills our teams. // if someone else kills our teams.
BAlert *alert = new BAlert(NULL, buffer.String(), BAlert *alert = new BAlert(NULL, buffer.String(),
B_TRANSLATE("Terminate"), B_TRANSLATE("Debug"), B_TRANSLATE("Terminate"), B_TRANSLATE("Debug"),
HANDOVER_USE_DEBUGGER ? B_TRANSLATE("Save report") : NULL, B_TRANSLATE("Write core file"),
B_WIDTH_AS_USUAL, B_WARNING_ALERT); B_WIDTH_AS_USUAL, B_WARNING_ALERT);
#if 0 #ifdef HANDOVER_USE_DEBUGGER
alert->AddButton(B_TRANSLATE("Write core file")); alert->AddButton(B_TRANSLATE("Save report"));
#endif #endif
alert->SetFlags(alert->Flags() | B_CLOSE_ON_ESCAPE); alert->SetFlags(alert->Flags() | B_CLOSE_ON_ESCAPE);
debugAction = alert->Go(); debugAction = alert->Go();