This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [patch gdb]: Fix display for LLP64 target in window-nat.c
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Kai Tietz <ktietz70 at googlemail dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 19 Feb 2013 18:30:46 +0200
- Subject: Re: [patch gdb]: Fix display for LLP64 target in window-nat.c
- References: <CAEwic4aNocEzptVSrg+JWMsUTEYf7CLbZjXWTmC5cezhuwWoug@mail.gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Tue, 19 Feb 2013 15:09:06 +0100
> From: Kai Tietz <ktietz70@googlemail.com>
>
> this patch fixes a pointer-truncation in display on Windows LLP64 target.
>
> ChangeLog 2013-02-19 Kai Tietz <ktietz@redhat.com>
>
> * windows-nat.c (windows_xfer_memory): Fix debug-output
> for LLP64.
>
> Ok for apply?
Isn't DWORD_PTR the right replacement for DWORD in these cases?
Actually, I don't understand what is the cast to uintptr_t doing
there, it seems redundant.