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: [rfc] DLL support for gdbserver


Pedro Alves wrote:

Attached are the patches to use solib-target.c on WinCE, and a small fix to
gdbserver/win32-low.c to get toolhelp from toolhelp.dll instead
of coredll.dll - not your fault, the version I sent you had it wrong.


And testing on a different device showed up something I never noticed before. On WinCE a toolhelp snapshot is closed with CloseToolhelp32Snapshot, while on desktop Windows, one closes it with CloseHandle. It is documented as producing a leak if the wrong Close function is used, but I found it crashing on this device ...

Sorry, I'm starting to hijack the thread.  It would be less work
for both of us to keep the patches separate.  I can post the
WinCE parts again in a new thread after this has gone in.

Cheers,
Pedro Alves


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