I have used both your gdb and the one in mingw64 with the new toolchain. It works stepping into the code
Single stepping works as well.
But I cannot set a breakpoint, or more correct it looks like I can. I am setting a breakpoint. Continues with the execution, but it runs until the end.
The debug information from debug.log was interesting:
debug[2015-10-16T00:11:39Z] GDB command_reply: timeout=0
debug[2015-10-16T00:11:39Z] GDB command_reply: command=-break-insert -f Src\\Pc_ezld.c:123
debug[2015-10-16T00:11:39Z] GDB event: empty event packet
debug[2015-10-16T00:11:39Z] GDB send: command=-break-insert -f Src\\Pc_ezld.c:123
debug[2015-10-16T00:11:39Z] GDB command_reply: elapsed=0
debug[2015-10-16T00:11:39Z] GDB event: &"No source file named Src\\\\Pc_ezld.c.\n"
debug[2015-10-16T00:11:39Z] GDB event: ^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="Src\\\\Pc_ezld.c:123",times="0",original-location="Src\\\\Pc_ezld.c:123"}
debug[2015-10-16T00:11:39Z] GDB event: (gdb)
debug[2015-10-16T00:11:39Z] GDB event: found (gdb) prompt
debug[2015-10-16T00:11:39Z] GDB command_reply: reply=^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="Src\\\\Pc_ezld.c:123",times="0",original-location="Src\\\\Pc_ezld.c:123"}
debug[2015-10-16T00:11:39Z] GDB command_reply: elapsed=0
debug[2015-10-16T00:11:39Z] GDB event: empty event packet
debug[2015-10-16T00:11:39Z]GDB command_reply: DONE
I am trying to set a breakpoint at line 123 in pc_ezld.c, but to me it looks like it cannot find the file?
My files are organized as follows:
<root catalog> has slickedit project and workspace.
<root catalog>\Src has all C files
<root catalog>\Include has all header files
<root catalog>\Debug has object files and executable file