This is the mail archive of the gdb-patches@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: [RFA/win32] Problem storing result of GetProcAddress


On Wed, Jan 07, 2009 at 03:43:22PM +0400, Joel Brobecker wrote:
>2009-01-07  Joel Brobecker  <brobecker@adacore.com>
>
>        * win32-nat.c (has_detach_ability, set_process_privilege):
>        Cast the result of GetProcAddress to (void *) to avoid
>        a compilation warning.
>
>Tested on x86-windows. Note that this depends on one of my previous
>patches that renames certain global variables:
>
>    | * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
>    | DebugSetProcessKillOnExit.  Update all uses in this file.
>    | (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
>    | Update all uses in this file.
>
>OK to apply?

Yes.  I guess that means that the rename to prefix kernel32_ is approved
too but I'd appreciate it if you would universally add the kernel32_ prefix
to everything that is dynamically derived from kernel32.

cgf


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