2009/6/26 David Cournapeau <courn...@gmail.com>:
> On Fri, Jun 26, 2009 at 8:56 PM, Kai Tietz<ktiet...@googlemail.com> wrote:
>> Hello David,
>>
>> 2009/6/26 David Cournapeau <courn...@gmail.com>:
>>> Hi,
>>>
>>>    I am building python extensions with the mingw-w64, but I have
>>> some crashes which I would like to debug. Unfortunately, even when the
>>> extension is built with debug options (-g -DDEBUG), running the
>>> offending code under gdb does not bring anything useful: the backtrace
>>> only gives me a couple of absolute addresses. Does gdb work at all on
>>> windows 64 bits ? (I used the one from equations.com)
>>>
>>> cheers,
>>>
>>> David
>>
>> gdb support of x64 is present, but still limited. For the version of
>> equaltions.com I don't know which version they are providing. AFAIK
>> there is an issue about gdb DLLs with symbol information. The version
>> provided on our site gets normally those event, but those from gdb's
>> head doesn't.
>
> The only reason why I am using the version from equations.com is that
> I need native gcc builds (python cannot be cross-compiled easily, even
> from windows 32 bits), and I could not get gdb to build at all. Which
> version of gdb sources should I use ? Last time I tried, the configure
> stage failed telling me that the architecture is not supported (I use
> the same as for gcc/binutils, which work fine).
>
> David
>

Ah, you have to use the head version of gdb. With next release version
of gdb the target will be supported. (Use for configure of gdb
--target=x86_64-pc-mingw32 --host=x86_64-pc-mingw32). This worked fine
for me.

Cheers,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to