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] Change the DLL base address type to LPVOID


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


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