Hi.
I'm tring to debug under windows also.
Using C::B. Build 21/03/2006 under Windows XP
GDB 6.3.2
Source compiled with -g.
The program not stop at break points.
From debbuger window:
Selecting target: debbug
Compiling: done
Adding source dir: D:\CodeBlocks\bygfoot\bygfoot2-unstable\
Adding source dir: D:\CodeBlocks\bygfoot\bygfoot2-unstable\
Adding file: bygfoot.exe
Starting debugger: done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.3
No symbol table is loaded. Use the "file" command.
No symbol table is loaded. Use the "file" command.
No symbol table is loaded. Use the "file" command.
No symbol table is loaded. Use the "file" command.
No symbol table is loaded. Use the "file" command.
Program exited normally.
Debugger finished with status 0
I have also the logs from GDB
Command-line: D:\CodeBlocks\bin\gdb.exe -nx -fullname -args bygfoot.exe
Working dir : D:\CodeBlocks\bygfoot\bygfoot2-unstable\
> set prompt (gdb)
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...(no debugging symbols found)
(gdb) (gdb)
> set confirm off
(gdb)
> set width 0
(gdb)
> set height 0
(gdb)
> set breakpoint pending on
(gdb)
> set print asm-demangle on
(gdb)
> set disassembly-flavor intel
(gdb)
> directory D:/CodeBlocks/bygfoot/bygfoot2-unstable/
(gdb)
> delete breakpoints
(gdb)
> break src/window.c:139
No symbol table is loaded. Use the "file" command.
(gdb)
> break src/window.c:74
No symbol table is loaded. Use the "file" command.
(gdb)
> break src/window.c:105
No symbol table is loaded. Use the "file" command.
(gdb)
> break src/window.c:87
No symbol table is loaded. Use the "file" command.
(gdb)
> break src/window.c:111
No symbol table is loaded. Use the "file" command.
(gdb)
> run
Program exited normally.
(gdb)
> quit
Any help?
My problem is that when I downloaded cbd.exe from the MingW website, I just copied into the MingW/bin/ directory. However, the executable is a self-extracting zip file! Execute it and unzip it into MingW dir.
I have instaled GDB ok from http://sourceforge.net/projects/mingw/
You can see in the logs that GNU gdb 6.3 is executed.
But.. look this line of the log
(gdb)
> delete breakpoints
It's normal?