From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: Re: [RFA/windows] cast of address to DWORD warning (handle_unload_dll)
Date: Wed, 14 Jan 2009 05:24:00 -0000 [thread overview]
Message-ID: <20090114052332.GB24105@adacore.com> (raw)
In-Reply-To: <20090114045137.GA5163@ednor.casa.cgf.cx>
> 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
next prev parent reply other threads:[~2009-01-14 5:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-14 3:42 Joel Brobecker
2009-01-14 4:24 ` Christopher Faylor
2009-01-14 4:47 ` Joel Brobecker
2009-01-14 4:52 ` Christopher Faylor
2009-01-14 5:24 ` Joel Brobecker [this message]
2009-01-14 15:05 ` Christopher Faylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090114052332.GB24105@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox