Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* snapshot issues with mingw-w64 based targets
@ 2010-01-25 19:11 Chris Sutcliffe
  2010-01-25 20:06 ` Chris Sutcliffe
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Sutcliffe @ 2010-01-25 19:11 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-25 20:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-25 19:11 snapshot issues with mingw-w64 based targets Chris Sutcliffe
2010-01-25 20:06 ` Chris Sutcliffe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox