Re: recursion limit exceeded in Python API, but there's only one function in traceback

Phil Muldoon <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 17/10/14 11:52, Ömer Sinan Ağacan wrote:
> IMO, something like dont_block would be more useful for me. What I would expect
> from that argument is that when it's True then `gdb.execute` would return
> immediately after GDB starts running the command.
>
>> A workaround would be to post any gdb.execute statements into the GDB event
>> loop.  See gdb.post_event.  That will return immediately and the gdb.execute
>> function will be scheduled to be called in the event loop.  Note there is no
>> guarantee when this is.  But as long as GDB is not busy processing other
>> events it usually means right away.

> Do you think adding something like `dont_block` would be hard? Maybe I can hack
> on that this weekend.

Hi,

The patch has already been written (I had to fix it for a RH bugzilla
entry).  I just have not gotten around to posting it upstream yet.  I
will do that very soon.  But if you are interested, the patch is here:


https://bugzilla.redhat.com/show_bug.cgi?id=1116957

Cheers

Phil
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.