| Index: experimental/windows_debugger/debugger/base/debug_system.cc
|
| diff --git a/experimental/windows_debugger/debugger/base/debug_system.cc b/experimental/windows_debugger/debugger/base/debug_system.cc
|
| deleted file mode 100644
|
| index e9ea16ed2611003e7ea3008d2b6676ab1cb31f1d..0000000000000000000000000000000000000000
|
| --- a/experimental/windows_debugger/debugger/base/debug_system.cc
|
| +++ /dev/null
|
| @@ -1,20 +0,0 @@
|
| -#include "debug_system.h"
|
| -#include <windows.h>
|
| -
|
| -namespace debug {
|
| -std::string System::GetLastErrorDescription(int error_code) {
|
| - if (0 == error_code)
|
| - error_code = ::GetLastError();
|
| -
|
| - char buff[ 2000 ] = { '?', 0 };
|
| - ::FormatMessageA(FORMAT_MESSAGE_IGNORE_INSERTS | FORMAT_MESSAGE_FROM_SYSTEM,
|
| - 0,
|
| - error_code,
|
| - MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
|
| - buff,
|
| - sizeof(buff),
|
| - 0);
|
| -
|
| - return std::string(buff);
|
| -}
|
| -} // namespace debug
|
|
|