Skip to content

Instantly share code, notes, and snippets.

@ecere
Created April 19, 2013 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ecere/5423823 to your computer and use it in GitHub Desktop.
Save ecere/5423823 to your computer and use it in GitHub Desktop.
-exec-next
^running
*running,thread-id="all"
(gdb)
=breakpoint-modified,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x000000000040157a",func="main",file="obj/debug.win32/ide.main.ec",fullnam
e="E:\\\\sdk\\\\ide\\\\obj\\\\debug.win32\\\\ide.main.ec",line="1666",times="1",original-location="obj\\\\debug.win32\\\\ide.main.ec:1666"}
*stopped,reason="breakpoint-hit",disp="keep",bkptno="2",frame={addr="0x000000000040157a",func="main",args=[{name="_argc",value="2"},{name="_argv",value="0x33562
0"}],file="obj/debug.win32/ide.main.ec",fullname="E:\\sdk\\ide\\obj\\debug.win32\\ide.main.ec",line="1666"},thread-id="1",stopped-threads="all"
(gdb)
-break-insert WinMain
^error,msg="Function \"WinMain\" not defined."
(gdb)
-break-insert src\com\instance.c:InternalModuleLoadBreakpoint
^done,bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="0x000000006bbae304",func="InternalModuleLoadBreakpoint",file="src/com/instance.c",fullnam
e="E:\\sdk\\ecere\\src\\com\\instance.c",line="516",times="0",original-location="src\\com\\instance.c:InternalModuleLoadBreakpoint"}
(gdb)
-exec-continue
^running
*running,thread-id="1"
(gdb)
=library-loaded,id="C:\\Windows\\system32\\uxtheme.dll",target-name="C:\\Windows\\system32\\uxtheme.dll",host-name="C:\\Windows\\system32\\uxtheme.dll",symbols-
loaded="0",thread-group="i1"
=thread-created,id="2",group-id="i1"
~"[New Thread 3996.0x2124]\n"
*running,thread-id="all"
&"warning: `C:\\Program Files (x86)\\ECERE SDK\\bin\\ecereCOM.dll': Shared library architecture i386 is not compatible with target architecture i386:x86-64.\n"
=library-loaded,id="C:\\Program Files (x86)\\ECERE SDK\\bin\\ecereCOM.dll",target-name="C:\\Program Files (x86)\\ECERE SDK\\bin\\ecereCOM.dll",host-name="C:\\Pr
ogram Files (x86)\\ECERE SDK\\bin\\ecereCOM.dll",symbols-loaded="0",thread-group="i1"
=library-unloaded,id="C:\\Program Files (x86)\\ECERE SDK\\bin\\ecereCOM.dll",target-name="C:\\Program Files (x86)\\ECERE SDK\\bin\\ecereCOM.dll",host-name="C:\\
Program Files (x86)\\ECERE SDK\\bin\\ecereCOM.dll",thread-group="i1"
=breakpoint-modified,bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="0x000000006bbae304",func="InternalModuleLoadBreakpoint",file="src/com/inst
ance.c",fullname="E:\\\\sdk\\\\ecere\\\\src\\\\com\\\\instance.c",line="516",times="1",original-location="src\\\\com\\\\instance.c:InternalModuleLoadBreakpoint"
}
*stopped,reason="breakpoint-hit",disp="keep",bkptno="4",frame={addr="0x000000006bbae304",func="InternalModuleLoadBreakpoint",args=[],file="src/com/instance.c",f
ullname="E:\\sdk\\ecere\\src\\com\\instance.c",line="516"},thread-id="1",stopped-threads="all"
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment