snapshot issues with mingw-w64 based targets

Chris Sutcliffe ir0nh34d@gmail.com
Mon Jan 25 19:11:00 GMT 2010


Hi All,

I'm able to build the 20100125 snapshot using i686-w64-mingw32 no
problem, but when debugging I don't see anything beyond addresses:

$ gdb --args tst.exe
GNU gdb (GDB) 7.0.50.20100123
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-w64-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\cygwin\usr\src\gdb\test/tst.exe...done.
(gdb) r
Starting program: C:\cygwin\usr\src\gdb\test/tst.exe
[New Thread 1576.0x17d8]

Program received signal SIGSEGV, Segmentation fault.
0x004013da in main ()
(gdb) bt
#0  0x004013da in main ()
(gdb)

I configured it with:

CFLAGS="-I/usr/src/gdb/expat-w32/include -static
-L/usr/src/gdb/expat-w32/lib" ../gdb-7.0.1/configure
--host=i686-w64-mingw32 --target=i686-w64-mingw32
--build=i386-pc-cygwin

and build with the standard make / make install-gdb, which I used when
compiling 7.0.1 and it seems to work as expected.  Have I missed
something?

Chris

-- 
Chris Sutcliffe
http://emergedesktop.org



More information about the Gdb mailing list