This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/windows] cast of address to DWORD warning (handle_unload_dll)
> Ugh. I didn't know Windows behaved that way. I use Cygwin's
> implementation internally but I actually don't know what Cygwin does
> with %p for the rest of the world and my PC is turned off right now.
> Maybe it does the same thing.
I didn't realize that cygwin had its own implementation of printf.
I tried on x86 XP, and cygwin does print %p as 0xdeadbeef. The same
program, compiled with our MinGW compiler generates DEADBEEF.
> I guess that's an argument to change this at some point but for now,
> it is, of course, ok to check this in.
Thanks. Checking in the patch now...
--
Joel