This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Patch : gdbserver get_image_name on CE
On Sun, 2009-06-07 at 19:16 +0100, Pedro Alves wrote:
> It's fine to send unfinished patches for comments, if you'd like, but
> please say so explicitly, so I don't waste time trying to understand
> what they're for, for nothing.
This one isn't for nothing, it fixes a problem. It's just not all of the
work to get gdb/gdbserver to work for x86/ce .
> > I sent this one separately because it looked contained.
>
> Thanks for doing that. Splitting self contained patches is
> always good.
>
> In this case, x86 desktop and ARM CE are different in that:
>
> - ARM CE stores dll names in unicode.
> - ARM CE's dll event reports the address of the dll name.
>
> - x86 desktop stores dll names in ascii.
> - x86 desktop's dll event reports a pointer to the address of the dll name.
>
> It may be that x86 CE is a mix of the two:
I don't think so.
CE -> unicode, both ARM and x86.
The DLL name was in the right place, it's just the code to read it
didn't work right.
As I said, I'm still trying to figure out what is happening, how x86/CE
works, etc. But CE on x86 looks similar to CE on ARM.
Except stuff like the packaging. None of the PocketPC type functionality
on the box that I'm using. But the box isn't a PDA so that's logical.
More info/patches when I have them ...
Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info