Is that the handler for a breakpoint? Does the completion of the “si” command invoke the breakpoint handler? If yes, that’s your answer.
paul
On Oct 16, 2014, at 10:55 AM, Ömer Sinan Ağacan <[email protected]> wrote:
> Thanks for tips. I managed to blow the stack using a minimal script.
> Here's the code:
>
> import gdb
> import traceback
>
> def handler(ev):
> try:
> print "handling a stop"
> gdb.execute("si")
> gdb.execute("c")
> except:
> traceback.print_stack()
>
> gdb.events.stop.connect(handler)
>
> Output:
>
> [...snip...]
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.