[rfc] DLL support for gdbserver
Pedro Alves
pedro_alves@portugalmail.pt
Sun Jul 8 01:21:00 GMT 2007
Pedro Alves wrote:
> Daniel Jacobowitz wrote:
>> Here's a final version of gdbserver support for Windows DLLs.
>> It works for me testing with Cygwin. Pedro, would you like to test
>> this on Windows CE to see what I've broken?
>>
>
> It looks alright, except that gdb/config/arm/wince.mt and
> gdb/arm-wince-tdep.c
> (to add solib-target.c, and remove the svr4 copy/paste thinko) hunks
> got left out.
>
Testing on Windows CE didn't show up any new problems.
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.
I had a problem building solib-target.c that I'm reporting in
another thread.
gdb/
* arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related calls.
* config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and
solib-svr4.o, and add solib-target.o
gdb/gdbserver/
* win32-low.c (load_toolhelp) [_WIN32_WCE]: Load functions from
TOOLHELP.DLL.
--
Cheers,
Pedro Alves
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wince_solib-target.diff
Type: text/x-diff
Size: 1353 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070708/853cb801/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdbserver_wince.diff
Type: text/x-diff
Size: 679 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070708/853cb801/attachment-0001.bin>
More information about the Gdb-patches
mailing list