Hi,
This is my first time to use debug function in DB 3.12 but I can't
execute the gdb and get the following messages:
----
gdb -nw "P:swprojProject.exe" --directory="P:swproj"
GNU gdb 5.2.1
Copyright 2002 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"...
An internal GDB error was detected. This may make further
debugging unreliable. Quit this debugging session? (y or n) n
Create a core file containing the current state of GDB? (y or n) y
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.
-----
Both "MinGW Debug" and "MinGW Unicode Debug" option got the same
result. I have also tried to debug the example program, which come
from DB, and got the same result.
Then I run the gdb manually in command line and got the following
messages:
-----
GNU gdb 5.2.1
Copyright 2002 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".
(gdb) file Project.exe
Reading symbols from
Project.exe...c:/cygmnt/prj/pkg/src/gdb/mingw32/gdb/dwa
rf2read.c:985: gdb-internal-error: read_comp_unit_head: dwarf from non
elf file
An internal GDB error was detected. This may make further
debugging unreliable. Quit this debugging session? (y or n)
-----
Here the following is my system configuration:
Windows XP Home edition SP2
MinGW 3.1
DialogBlocks 3.12
Does anyone can help me to fix this problem?
Regards,
Vincent
.