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] Implement post_event for Python scripts.


> +@findex gdb.post_event
> +@defun post_event event
> +Put @var{event}, a callable object taking no arguments, into
> +@value{GDBN}'s internal event queue.  This callable will be invoked at
> +some later point, during @value{GDBN}'s event processing.  Events
> +posted using @code{post_event} will be run in the order in which they
> +were posted; however, there is no way to know when they will be
> +processed relative to other events inside @value{GDBN}.

Would it be useful to provide an exemple of how this feature could
be used?  It does not seem obvious, and I am not sure without reading
the GDB Manual that users are familiar with GDB's internal even queue...

-- 
Joel


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