This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch gdb]: Fix display for LLP64 target in window-nat.c


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]