[Mingw-users] two patches for gdb for mingw 32 bit target

Back to archive index

Eli Zaretskii eliz****@gnu*****
Sat Aug 11 19:41:04 JST 2018


> From: asmwarrior <asmwa****@gmail*****>
> Date: Sat, 11 Aug 2018 18:09:46 +0800
> 
> Hi, I'd like to share my two patches for the 32 bit mingw gdb.

Thanks.

> The first patch is my hack to the GDB's inferior call. Mainly, the gcc is now put the "this" pointer in the ECX register, bug gdb still put the "this" pointer in the stack. You can see the detailed problem I described here: Re: [OT] unofficial MinGW GDB gdb with python released(2018-07-25) - http://forums.codeblocks.org/index.php/topic,22185.msg154555.html#msg154555

Please report this as a bug to the GDB developers, preferably via
Bugzilla.  Otherwise, the bug is unlikely to be fixed upstream, no
matter whether they accept this particular patch or fix it in some
other way.

> The second patch is simply path handling of the dll.

This is already reported to Bugzilla, but it's a 4-year old bug.  So I
suggest to ping the GDB list about it, because 4 years is a long time
to leave a bug unresolved.




More information about the MinGW-Users mailing list
Back to archive index