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] [python] python/12686


> ?TBH I think asking the user questions here is weird.

I'm not sure about the right way to do, I haven't had time to consider
your suggestion on the main mailing list, but if you consider the
situation where you want to ask the user (from Python) if s/he wants
to stop the inferior.
Currently, one way would be to do it here, the other would be in the
"stop" event handler, with `gdb.execute("continue")', but I don't
really like this solution, being under a Python callstack during the
execution seems a bit strange, doesn't it ?

Cordially,

Kevin


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