[patch] [python] python/12686

Kevin Pouget kevin.pouget@gmail.com
Wed Apr 20 20:10:00 GMT 2011


>  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



More information about the Gdb-patches mailing list