Dave Lasker <[EMAIL PROTECTED]> wrote:
> Do you have an online pointer to the pilot.programmer.gcc thread "GDB and
> POSE's Gremlins"?

If I had had, don't you think I would have posted it? ;-)

However I've been home and looked at my archives now, and the Poser 3.5
patch is quite simple:

    In SrcShared/EmException.cpp:
    Remove the Hordes::Stop() call in EmExceptionEnterDebugger::DoAction()

This prevents the gremlin from stopping when it sees the debugger
continue over the fake PilotMain() breakpoint.  Hopefully it doesn't
also prevent the gremlin from stopping when you drop into the debugger
for real; it's been a long time and I don't remember.

> Do you have any equivalent advice for users of the Simulator?

Perhaps I would care more about the Simulator if it were available for
my platform of choice, but I digress... :-)

> I have not been able to figure out how to attach GDB to the simulator
> after a gremlins run has started, due to the need to enable gdbpanel.

All that GDB Panel really does is set a particular feature, as described
in the documentation.  Perhaps you could use the Simulator's scripting
interface to set it at an appropriate time via a Perl script or so.

Or add to your own PilotMain() to set it on the 15th invocation or
whatever.

    John

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to