fix crash handler for ARM

This commit is contained in:
Eduardo Bart 2011-12-30 01:49:36 -02:00
parent fd9b9a85ce
commit a394033872
2 changed files with 1 additions and 2 deletions

View File

@ -53,7 +53,7 @@ void crashHandler(int signum, siginfo_t* info, void* secret)
ss << " ebp = " << context.uc_mcontext.gregs[REG_EBP] << std::endl;
ss << " esp = " << context.uc_mcontext.gregs[REG_ESP] << std::endl;
ss << " efl = " << context.uc_mcontext.gregs[REG_EFL] << std::endl;
#else // 64-bit
#elif __WORDSIZE == 64
ss << " at rip = " << context.uc_mcontext.gregs[REG_RIP] << std::endl;
ss << " rax = " << context.uc_mcontext.gregs[REG_RAX] << std::endl;
ss << " rbx = " << context.uc_mcontext.gregs[REG_RBX] << std::endl;

View File

@ -472,7 +472,6 @@ LRESULT WIN32Window::windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
case WM_MOVE: {
m_pos.x = LOWORD(lParam);
m_pos.y = HIWORD(lParam);
dump << m_pos;
break;
}
case WM_SIZE: {