Ticket #10272: 0001-Fix-debugserver-build-with-gcc48.patch

File 0001-Fix-debugserver-build-with-gcc48.patch, 866 bytes (added by mt, 5 years ago)
  • src/servers/debug/DebugServer.cpp

    From 5f2ecf7593281c91c2b777cb9927d4ed617c1635 Mon Sep 17 00:00:00 2001
    From: Murai Takashi <tmurai01@gmail.com>
    Date: Wed, 18 Dec 2013 20:36:18 +0900
    Subject: [PATCH] Fix debugserver build with gcc48
    
    ---
     src/servers/debug/DebugServer.cpp |    4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/src/servers/debug/DebugServer.cpp b/src/servers/debug/DebugServer.cpp
    index 8386ba3..8c33823 100644
    a b TeamDebugHandler::_HandleMessage(DebugMessage *message) 
    786786
    787787    _PrintStackTrace(thread);
    788788
    789     int32 debugAction;
    790     bool explicitActionFound;
     789    int32 debugAction = kActionPromptUser;
     790    bool explicitActionFound = false;
    791791    if (action_for_team(fExecutablePath, debugAction, explicitActionFound)
    792792            != B_OK) {
    793793        debugAction = kActionPromptUser;