Hello,
Here is debug log:
Using gdbinit file: C:\Users\Steph\AppData\Local\Temp\codelite_gdbinit.txt
Current working dir: c:\temp\tst\tst
Launching gdb from : ./Debug
Starting debugger : gdb --command="C:\Users\Steph\AppData\Local\Temp\codelite_gdbinit.txt" --interpreter=mi "./tst"
DEBUG>>set new-console on
DEBUG>>set unwindonsignal on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set print pretty on
DEBUG>>set print elements 200
DEBUG>>00000025-break-insert "\"c:/temp/tst/tst/main.c:5\""
DEBUG>>00000026-break-insert "\"c:/temp/tst/tst/main.c:8\""
DEBUG>>00000027-break-insert "\"c:/temp/tst/tst/main.c:13\""
Debug session started successfully!
DEBUG>>00000028-exec-run
DEBUG>>cygwin warning:
cygwin warning:
DEBUG>>MS-DOS style path detected: C:\Users\Steph\AppData\Local\Temp\codelite_gdbinit.txt
MS-DOS style path detected: C:\Users\Steph\AppData\Local\Temp\codelite_gdbinit.txt
DEBUG>>Preferred POSIX equivalent is: /cygdrive/c/Users/Steph/AppData/Local/Temp/codelite_gdbinit.txt
Preferred POSIX equivalent is: /cygdrive/c/Users/Steph/AppData/Local/Temp/codelite_gdbinit.txt
DEBUG>>CYGWIN environment variable option "nodosfilewarning" turns off this warning.
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
DEBUG>>Consult the user's guide for more details about POSIX paths:
Consult the user's guide for more details about POSIX paths:
DEBUG>>
http://cygwin.com/cygwin-ug-net/using.h ... -pathnames
http://cygwin.com/cygwin-ug-net/using.h ... -pathnames
DEBUG>>~"GNU gdb 6.8.0.20080328-cvs (cygwin-special)\n"
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
DEBUG>>~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
Copyright (C) 2008 Free Software Foundation, Inc.
DEBUG>>~"License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>\n"
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>
DEBUG>>~"This is free software: you are free to change and redistribute it.\n"
This is free software: you are free to change and redistribute it.
DEBUG>>~"There is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\n"
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
DEBUG>>~"and \"show warranty\" for details.\n"
and "show warranty" for details.
DEBUG>>~"This GDB was configured as \"i686-pc-cygwin\"...\n"
This GDB was configured as "i686-pc-cygwin"...
DEBUG>>&"set new-console on\n"
DEBUG>>^done
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set print pretty on\n"
DEBUG>>^done
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
Debuggee process ID: 5376
DEBUG>>00000025^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00401146",func="main",file="c:/temp/tst/tst/main.c",fullname="/cygdrive/c/temp/tst/tst/main.c",line="5",times="0"}
Found the breakpoint ID!
Storing debugger breakpoint Id=1
Successfully set breakpoint 1 at: c:\temp\tst\tst\main.c:5
DEBUG>>00000026^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0040116a",func="main",file="c:/temp/tst/tst/main.c",fullname="/cygdrive/c/temp/tst/tst/main.c",line="8",times="0"}
Found the breakpoint ID!
Storing debugger breakpoint Id=2
Successfully set breakpoint 2 at: c:\temp\tst\tst\main.c:8
DEBUG>>00000027^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x004011a6",func="main",file="c:/temp/tst/tst/main.c",fullname="/cygdrive/c/temp/tst/tst/main.c",line="13",times="0"}
Found the breakpoint ID!
Storing debugger breakpoint Id=3
Successfully set breakpoint 3 at: c:\temp\tst\tst\main.c:13
DEBUG>>00000028^running
Continuing...
DEBUG>>~"[New thread 5376.0x514]\n"
[New thread 5376.0x514]
DEBUG>>~"[New thread 5376.0x14bc]\n"
[New thread 5376.0x14bc]
DEBUG>>~"[New thread 5376.0x1234]\n"
[New thread 5376.0x1234]
DEBUG>>00000028*stopped,reason="breakpoint-hit",bkptno="1",thread-id="1",frame={addr="0x00401146",func="main",args=[],file="c:/temp/tst/tst/main.c",fullname="/cygdrive/c/temp/tst/tst/main.c",line="5"}
DEBUG>>00000029-file-list-exec-source-file
DEBUG>>00000030-break-list
DEBUG>>00000029^done,line="5",file="c:/temp/tst/tst/main.c",fullname="/cygdrive/c/temp/tst/tst/main.c",macro-info="0"
DEBUG>>00000031-stack-list-locals 2
DEBUG>>00000032-stack-list-arguments 2 0 0
DEBUG>>00000030^done,BreakpointTable={nr_rows="3",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00401146",func="main",file="c:/temp/tst/tst/main.c",fullname="/cygdrive/c/temp/tst/tst/main.c",line="5",times="1"},bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0040116a",func="main",file="c:/temp/tst/tst/main.c",fullname="/cygdrive/c/temp/tst/tst/main.c",line="8",times="0"},bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x004011a6",func="main",file="c:/temp/tst/tst/main.c",fullname="/cygdrive/c/temp/tst/tst/main.c",line="13",times="0"}]}
DEBUG>>00000031^done,locals=[]
DEBUG>>00000032^done,stack-args=[frame={level="0",args=[]}]
Hope it will help.
Regards