def-gdb-auto-update-handler

def-gdb-auto-update-handler is a Lisp macro in `gdb-mi.el'.

(def-gdb-auto-update-handler HANDLER-NAME CUSTOM-DEFUN &optional NOPRESERVE)

Define a handler HANDLER-NAME calling CUSTOM-DEFUN.

Handlers are normally called from the buffers they put output in.

Erase current buffer and evaluate CUSTOM-DEFUN.
Then call `gdb-update-buffer-name'.

If NOPRESERVE is non-nil, window point is not restored after CUSTOM-DEFUN.