Debugger Command: [C:\cygwin\bin\gdb.exe, --nw, --silent, --interpreter=mi] Env[1]: [Path=;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\ASUS Security Center\ASUS Security Protect Manager\bin;C:\Program Files\QuickTime\QTSystem\] workingDirectory: C:/CppProjects/Saboteurs/ ================================================ 100-gdb-version 101-environment-directory "C:/CppProjects/Saboteurs/" 102-gdb-show language 103-gdb-set print repeat 10 104-file-exec-and-symbols C:/CppProjects/Saboteurs/dist/Debug/Cygwin-Windows/saboteurs 105-break-insert -t main 106-break-insert -t WinMain 107-data-list-register-names 108-exec-run 109info threads 100~"GNU gdb 6.8.0.20080328-cvs (cygwin-special)\n" 100~"Copyright (C) 2008 Free Software Foundation, Inc.\n" 100~"License GPLv3+: GNU GPL version 3 or later \n" 100~"This is free software: you are free to change and redistribute it.\n" 100~"There is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\n" 100~"and \"show warranty\" for details.\n" 100~"This GDB was configured as \"i686-pc-cygwin\".\n" 100^done 101^done,source-path="C:/CppProjects/Saboteurs:$cdir:$cwd" 102^done,value="auto; currently c" 103^done 104^done 105^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x00409382",at="",times="0"} 106^done,bkpt={number="2",type="breakpoint",disp="del",enabled="y",addr="0x004048cc",func="WinMain",file="WinDiv.cc",fullname="/cygdrive/c/CppProjects/Saboteurs/WinDiv.cc",line="14",times="0"} 107^done,register-names=["eax","ecx","edx","ebx","esp","ebp","esi","edi","eip","eflags","cs","ss","ds","es","fs","gs","st0","st1","st2","st3","st4","st5","st6","st7","fctrl","fstat","ftag","fiseg","fioff","foseg","fooff","fop","xmm0","xmm1","xmm2","xmm3","xmm4","xmm5","xmm6","xmm7","mxcsr","mm0","mm1","mm2","mm3","mm4","mm5","mm6","mm7"] 108^running ~"[New thread 5060.0x1f0c]\n" ~"[New thread 5060.0x230]\n" ~"Current language: auto; currently c++\n" 108*stopped,thread-id="1",frame={addr="0x00409382",func="main",args=[]} 110info share 111-break-insert -f MainWindow.cc:100 109&"info threads\n" 109~" 2 thread 5060.0x230 0x77979a94 in ntdll!LdrAccessResource ()\n" 109~" from /cygdrive/c/Windows/system32/ntdll.dll\n" 109~"* 1 thread 5060.0x1f0c 0x00409382 in main ()\n" 109^done 110&"info share\n" 110~"From To Syms Read Shared Object Library\n" 110~"0x77921000 0x77a46860 Yes /cygdrive/c/Windows/system32/ntdll.dll\n" 110~"0x771a1000 0x7727aa60 Yes /cygdrive/c/Windows/system32/kernel32.dll\n" 110~"0x61741000 0x617a9852 Yes /cygdrive/c/Windows/SYSTEM32/sysfer.dll\n" 110~"0x75f31000 0x75fa4cf4 Yes /cygdrive/c/Windows/system32/netapi32.dll\n" 110~"0x77721000 0x777c9234 Yes /cygdrive/c/Windows/system32/msvcrt.dll\n" 110~"0x77521000 0x775e551c Yes /cygdrive/c/Windows/system32/advapi32.dll\n" 110~"0x77321000 0x773e1b98 Yes /cygdrive/c/Windows/system32/rpcrt4.dll\n" 110~"0x77a51000 0x77a561a0 Yes /cygdrive/c/Windows/system32/psapi.dll\n" 110~"0x61001000 0x61200000 Yes /usr/bin/cygwin1.dll\n" 110~"0x77ab1000 0x77afa8dc Yes /cygdrive/c/Windows/system32/gdi32.dll\n" 110~"0x76251000 0x762ec12c Yes /cygdrive/c/Windows/system32/user32.dll\n" 110~"0x76031000 0x76043aa8 Yes /cygdrive/c/Windows/system32/secur32.dll\n" 110~"0x77a71000 0x77a8dc78 Yes /cygdrive/c/Windows/system32/imm32.dll\n" 110~"0x77451000 0x77517b0c Yes /cygdrive/c/Windows/system32/msctf.dll\n" 110~"0x77a91000 0x77a98248 Yes /cygdrive/c/Windows/system32/lpk.dll\n" 110~"0x77121000 0x7719c8bc Yes /cygdrive/c/Windows/system32/usp10.dll\n" 110~"0x00271000 0x00284164 Yes /cygdrive/c/Windows/system32/APSHook.dll\n" 110~"0x773f1000 0x77447930 Yes /cygdrive/c/Windows/system32/shlwapi.dll\n" 110~"0x76021000 0x760272f4 Yes /cygdrive/c/Windows/system32/version.dll\n" 110~"0x75bf1000 0x75d8d844 Yes /cygdrive/c/Windows/WinSxS/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_5cdbaa5a083979cc/comctl32.dll\n" 110^done 111^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x00404ffd",func="CMainWindow::MainWinProc(HWND__*, unsigned int, unsigned int, long)",file="MainWindow.cc",fullname="/cygdrive/c/CppProjects/Saboteurs/MainWindow.cc",line="100",times="0"} 112-break-condition 3 wParam == 32 113-break-insert -f dlopen 114-exec-continue 112^done 113^done,bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="0x6100fbb0",at="",times="0"} 114^running 114*stopped,thread-id="1",frame={addr="0x004048cc",func="WinMain",args=[{name="hInstance",value="0x400000"},{name="hPrevInstance",value="0x0"},{name="lpCmdLine",value="0x652160 \" \""},{name="nCmdShow",value="1"}],file="WinDiv.cc",fullname="/cygdrive/c/CppProjects/Saboteurs/WinDiv.cc",line="14"} 115-stack-list-frames 116-stack-select-frame 0 117-stack-list-arguments 1 0 0 118-stack-list-locals --all-values 115^done,stack=[frame={level="0",addr="0x004048cc",func="WinMain",file="WinDiv.cc",fullname="/cygdrive/c/CppProjects/Saboteurs/WinDiv.cc",line="14"},frame={level="1",addr="0x00409423",func="main"}] 116^done 117^done,stack-args=[frame={level="0",args=[{name="hInstance",value="0x400000"},{name="hPrevInstance",value="0x0"},{name="lpCmdLine",value="0x652160 \" \""},{name="nCmdShow",value="1"}]}] 118^done,locals=[{name="Game_window",value="{ = {_vptr$IGameSite = 0x7ffdfc00}, m_hWnd = 0x60030000, m_hInstance = 0x65bd18, m_BkgBrush = 0x0, m_CleanRgn = 0x76250000, m_Game = {_vptr$CGame = 0x0, m_bGame = 2280244, m_bPause = 1998505856, m_bGameOver = 2281064, m_bModified = 0, m_SaboteurPos = {{2280344, 1628406775}, {1628465968, 2281064}}, m_TimeX = 2006095924, m_ImageGameOver = 0x0, m_Gun = {_vptr$CGun = 0x611021a0 <__cygwin_user_data>, m_angle = 4233348}, m_FlyingObjects = {m_pObj = 0x22cbb8}, m_Bullets = {m_pObj = 0x610e5635}, m_pGameSite = 0x400000}, m_bMenuShown = 6627680, static p_mainWindow = 0x0}"},{name="hwnd",value="0xe000c"}] 119whatis this 119&"whatis this\n" 119&"No symbol \"this\" in current context.\n" 119^error,msg="No symbol \"this\" in current context." 120ptype this 120&"ptype this\n" 120&"No symbol \"this\" in current context.\n" 120^error,msg="No symbol \"this\" in current context." 121whatis this 121&"whatis this\n" 121&"No symbol \"this\" in current context.\n" 121^error,msg="No symbol \"this\" in current context." 122whatis this 122&"whatis this\n" 122&"No symbol \"this\" in current context.\n" 122^error,msg="No symbol \"this\" in current context." 123-data-evaluate-expression "this" 122&"No symbol \"this\" in current context.\n" 123^error,msg="No symbol \"this\" in current context." 124whatis hInstance 124&"whatis hInstance\n" 124~"type = HINSTANCE\n" 124^done 125ptype hInstance 125&"ptype hInstance\n" 125~"type = class HINSTANCE__ {\n" 125~" public:\n" 125~" int i;\n" 125~"\n" 125~" HINSTANCE__ & operator=(HINSTANCE__ const&);\n" 125~" HINSTANCE__(HINSTANCE__ const&);\n" 125~" HINSTANCE__();\n" 125~"} *\n" 125^done 126whatis hPrevInstance 126&"whatis hPrevInstance\n" 126~"type = HINSTANCE\n" 126^done 127ptype hPrevInstance 127&"ptype hPrevInstance\n" 127~"type = class HINSTANCE__ {\n" 127~" public:\n" 127~" int i;\n" 127~"\n" 127~" HINSTANCE__ & operator=(HINSTANCE__ const&);\n" 127~" HINSTANCE__(HINSTANCE__ const&);\n" 127~" HINSTANCE__();\n" 127~"} *\n" 127^done 128whatis lpCmdLine 128&"whatis lpCmdLine\n" 128~"type = LPSTR\n" 128^done 129ptype lpCmdLine 129&"ptype lpCmdLine\n" 129~"type = char *\n" 129^done 130whatis nCmdShow 130&"whatis nCmdShow\n" 130~"type = int\n" 130^done 131ptype nCmdShow 131&"ptype nCmdShow\n" 131~"type = int\n" 131^done 132whatis Game_window 132&"whatis Game_window\n" 132~"type = class CMainWindow\n" 132^done 133ptype Game_window 133&"ptype Game_window\n" 133~"type = class CMainWindow : public IGameSite {\n" 133~" protected:\n" 133~" HWND m_hWnd;\n" 133~" HINSTANCE m_hInstance;\n" 133~" HBRUSH m_BkgBrush;\n" 133~" HRGN m_CleanRgn;\n" 133~" class CGame m_Game;\n" 133~" BOOL m_bMenuShown;\n" 133~" static CMainWindow *p_mainWindow;\n" 133~"\n" 133~" public:\n" 133~" CMainWindow();\n" 133~" virtual ~CMainWindow();\n" 133~" HWND CreateWnd(HINSTANCE__*);\n" 133~" virtual void OnIdle();\n" 133~" void OnMenuCommand(unsigned short);\n" 133~" protected:\n" 133~" virtual LRESULT MainWinProc(HWND__*, unsigned int, unsigned int, long);\n" 133~" void UpdateMenu(HMENU__*);\n" 133~" void OnKeyDown(unsigned long);\n" 133~" void OnPaint();\n" 133~" void OnTimer(long);\n" 133~" void OnMouseDown(unsigned int, unsigned int, long);\n" 133~" static LRESULT MyWinProc(HWND__*, unsigned int, unsigned int, long);\n" 133~" private:\n" 133~" void SetTransform(HDC__*);\n" 133~" void ResetTransform(HDC__*);\n" 133~" virtual void CleanUpRect(tagRECT const&);\n" 133~" virtual void DoNotCleanUpRect(tagRECT const&);\n" 133~" virtual BOOL IsRectVisible(tagRECT const&);\n" 133~" virtual void GetSceneRect(tagRECT*);\n" 133~" virtual void GameIsOver();\n" 133~" public:\n" 133~" CMainWindow & operator=(CMainWindow const&);\n" 133~" CMainWindow(CMainWindow const&);\n" 133~"}\n" 133^done 134whatis hwnd 134&"whatis hwnd\n" 134~"type = HWND\n" 134^done 135ptype hwnd 135&"ptype hwnd\n" 135~"type = class HWND__ {\n" 135~" public:\n" 135~" int i;\n" 135~"\n" 135~" HWND__ & operator=(HWND__ const&);\n" 135~" HWND__(HWND__ const&);\n" 135~" HWND__();\n" 135~"} *\n" 135^done 136-exec-continue 136^running &"warning: ****OnPaint\n" &"\n" &"warning: ****OnPaint\n" &"\n" 136*stopped,reason="breakpoint-hit",bkptno="3",thread-id="1",frame={addr="0x00404ffd",func="CMainWindow::MainWinProc",args=[{name="this",value="0x22cb50"},{name="hWnd",value="0x281192"},{name="uMsg",value="256"},{name="wParam",value="32"},{name="lParam",value="3735553"}],file="MainWindow.cc",fullname="/cygdrive/c/CppProjects/Saboteurs/MainWindow.cc",line="100"} 137-stack-list-frames 138-stack-select-frame 0 139-stack-list-arguments 1 0 0 140-stack-list-locals --all-values 137^done,stack=[frame={level="0",addr="0x00404ffd",func="CMainWindow::MainWinProc",file="MainWindow.cc",fullname="/cygdrive/c/CppProjects/Saboteurs/MainWindow.cc",line="100"},frame={level="1",addr="0x00409afc",func="CMainWindow::MyWinProc",file="MainWindow.h",fullname="/cygdrive/c/CppProjects/Saboteurs/MainWindow.h",line="35"},frame={level="2",addr="0x7626f8d2",func="USER32!GetMessageW",from="/cygdrive/c/Windows/system32/user32.dll"},frame={level="3",addr="0x7626f794",func="USER32!GetWindowLongW",from="/cygdrive/c/Windows/system32/user32.dll"},frame={level="4",addr="0x00409ac4",func="CHelicopter::~CHelicopter"},frame={level="5",addr="0x76270008",func="USER32!PeekMessageW",from="/cygdrive/c/Windows/system32/user32.dll"},frame={level="6",addr="0x76265a2c",func="USER32!DispatchMessageA",from="/cygdrive/c/Windows/system32/user32.dll"},frame={level="7",addr="0x004049ab",func="WinMain",file="WinDiv.cc",fullname="/cygdrive/c/CppProjects/Saboteurs/WinDiv.cc",line="31"},frame={level="8",addr="0x00409423",func="main"}] 141whatis this 138^done 139^done,stack-args=[frame={level="0",args=[{name="this",value="0x22cb50"},{name="hWnd",value="0x281192"},{name="uMsg",value="256"},{name="wParam",value="32"},{name="lParam",value="3735553"}]}] 140^done,locals=[] 141&"whatis this\n" 141~"type = CMainWindow * const\n" 141^done 142-data-evaluate-expression "this" 142^done,value="0x22cb50" 143ptype this->*this 143&"ptype this->*this\n" 143&"non-pointer-to-member value used in pointer-to-member construct\n" 143^error,msg="non-pointer-to-member value used in pointer-to-member construct" 144ptype *this->*this 144&"ptype *this->*this\n" 144&"non-pointer-to-member value used in pointer-to-member construct\n" 144^error,msg="non-pointer-to-member value used in pointer-to-member construct" 145ptype **this->*this 145&"ptype **this->*this\n" 145&"non-pointer-to-member value used in pointer-to-member construct\n" 145^error,msg="non-pointer-to-member value used in pointer-to-member construct" 146ptype ***this->*this 146&"ptype ***this->*this\n" 146&"non-pointer-to-member value used in pointer-to-member construct\n" 146^error,msg="non-pointer-to-member value used in pointer-to-member construct" 147ptype ****this->*this 147&"ptype ****this->*this\n" 147&"non-pointer-to-member value used in pointer-to-member construct\n" 147^error,msg="non-pointer-to-member value used in pointer-to-member construct" 148ptype *****this->*this 148&"ptype *****this->*this\n" 148&"non-pointer-to-member value used in pointer-to-member construct\n" 148^error,msg="non-pointer-to-member value used in pointer-to-member construct" 149ptype ******this->*this 149&"ptype ******this->*this\n" 149&"non-pointer-to-member value used in pointer-to-member construct\n" 149^error,msg="non-pointer-to-member value used in pointer-to-member construct" 150ptype *******this->*this 150&"ptype *******this->*this\n" 150&"non-pointer-to-member value used in pointer-to-member construct\n" 150^error,msg="non-pointer-to-member value used in pointer-to-member construct" 151ptype ********this->*this 151&"ptype ********this->*this\n" 151&"non-pointer-to-member value used in pointer-to-member construct\n" 151^error,msg="non-pointer-to-member value used in pointer-to-member construct"