[RFA] Fix for testsuite errors with gdbserver (remote)

Pierre Muller pierre.muller@ics-cnrs.unistra.fr
Mon Feb 21 15:47:00 GMT 2011


> That all said, it looks like the python api doesn't define
> exactly what can be done on an ExitedEvent, and even if
> we address the gdbarch issue, if it's intended that the
> python user code can do whatever, we're likely to see python/gdb
> calls there that try to do something that calls has_stack_frames,
> and that will internal error too.  On that ground, I do think
> we should put in Pierre's patch, as I'm not seeing what
> possible harm can it do, and that gets things working again.
> But I'll note that if the handler is allowed to assume the
> whole api is available at this point, and that the current
> global state can be used as if in the top-level, we'll
> probably see other similar cases triggering.


  Should I take this as an approval of my patch?
Or do you want me to wait some more in case someone
else has a better idea of how to fix this issue?

Pierre



More information about the Gdb-patches mailing list