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: Patch : gdbserver get_image_name on CE


On Sat, 2009-06-13 at 19:05 +0100, Pedro Alves wrote:
> > 2. Handle a case where the inferior refuses to start. See the
> >    code after WaitForDebugEvent in win32-low.c .
> 
> This is quite mystifying.  Do you have more details on this?

Not yet, but as I said in the other message, the a simple setjmp demo
application is an example. Other cases I've seen were with invalid
requirements to a DLL (use of an API that was not in the DLL). On a
PocketPC, this causes a dialog to pop up. On Windows Embedded CE the
application appears just not to start up.

> > 3. Setjmp won't work on this platform, I've "#if 0"-ed it out.
> >    Clearly not the right solution. Comment please.
> 
> What does "won't work on this platform" mean?  If longjmp
> doesn't work, then you probably have a bug in your
> headers or import libs?  I'd suspect _JBLEN in the
> mingw headers.

I've been thinking about that too, I'll try to debug this but that's
hard with no debugger.

> IIRC, psapi.dll does exist on WinCE, but it is
> not bundled with the OS usually.  If I'm not confusing
> it with some other dll, I think I have it for ARM, gotten
> from some MSFT redistributable, and it does work.

It isn't on the Windows Embedded for x86 that I'm using. But the
gdbserver code appears to be well written : it silently falls back to
something that does work.

I've not messed with that code because "if it ain't broke, don't fix
it". I could have surrounded it with #ifndef _WIN32_WCE but I didn't see
the point.

	Danny
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


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