This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/win32] Change the DLL base address type to LPVOID
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 7 Jan 2009 15:42:59 +0100
- Subject: Re: [RFA/win32] Change the DLL base address type to LPVOID
- References: <20090107114620.GE1751@adacore.com>
On Wed, 07 Jan 2009 12:46:20 +0100, Joel Brobecker wrote:
> 2009-01-07 Joel Brobecker <brobecker@adacore.com>
>
> * win32-nat.c (get_module_name): Change the type of parameter
> "base_address" to LPVOID. Remove unnecessary cast.
> (struct lm_info): Change type of load_addr to LPVOID.
> (win32_make_so): Change the type of parameter "load_addr"
> to LPVOID. Remove some unnecessary casts.
> (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
> (win32_xfer_shared_libraries): Add missing cast.
...
[ farproc.diff ]
> - kernel32_DebugSetProcessKillOnExit = GetProcAddress (kernel32,
> - "DebugSetProcessKillOnExit");
> + kernel32_DebugSetProcessKillOnExit =
> + (void *) GetProcAddress (kernel32, "DebugSetProcessKillOnExit");
You have attached a different patch file, the LPVOID patch file is missing.
Regards,
Jan