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: [RFA] Fix for testsuite errors with gdbserver (remote)


> 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


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