[RFA] Fix cygwin32 failure introduced by [patch] windows-nat.c: Fix offset problem in signal string handling

Eli Zaretskii eliz@gnu.org
Wed Mar 27 14:50:00 GMT 2013


> Date: Wed, 27 Mar 2013 12:46:45 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: brobecker@adacore.com, gdb-patches@sourceware.org, vinschen@redhat.com
> 
>   unsigned long xul;
>   ...
>   xul = strtoull (p, NULL, 0) & ~((DWORD_PTR)0);
>   x = (LPCVOID) xul;

Sorry, one more gotcha: the first line should say this:

  DWORD_PTR xul;

(You could also use uintptr_t instead of DWORD_PTR in both places, but
I prefer not to mix Windows data types with standard ones.)



More information about the Gdb-patches mailing list