gdb-add-handler
gdb-add-handler is a compiled Lisp function in `gdb-mi.el
'.
(gdb-add-handler TOKEN-NUMBER HANDLER-FUNCTION &optional PENDING-TRIGGER)
Insert a new GDB command handler in `gdb-handler-list'.
Handlers are used to keep track of the commands sent to GDB
and to handle the replies received.
Upon reception of a reply prefixed with TOKEN-NUMBER,
invoke the callback HANDLER-FUNCTION.
If PENDING-TRIGGER is specified, no new GDB commands will be
sent with this same PENDING-TRIGGER until a reply is received
for this handler.