This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [gdbserver] Fix toolhelp usage on Windows CE
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro_alves at portugalmail dot pt>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 30 Jul 2007 23:01:31 -0400
- Subject: Re: [gdbserver] Fix toolhelp usage on Windows CE
- References: <46AE7420.2020300@portugalmail.pt>
On Tue, Jul 31, 2007 at 12:28:32AM +0100, Pedro Alves wrote:
> Hi,
>
> On Windows CE, the toolhelp functionality is implemented on
> its own dll. Additionally, (and because of the former), the snapshots
> must be closed with a special close
> function - CloseToolhelp32Snapshot - unlike the "desktop" Windows
> versions, which use the standard CloseHandle. The current code isn't
> doing it right. This patch fixes it.
>
> (in case the toolhelp_get_dll_name hunk isn't clear in
> the diff, I'm just 'reorganizing a bit'/'removing the goto'
> to minimize the #ifdefery.)
>
> OK?
OK, thanks.
--
Daniel Jacobowitz
CodeSourcery