This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

snapshot issues with mingw-w64 based targets

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)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
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:
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 ()

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

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


Chris Sutcliffe

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]