Function: def-gdb-memory-show-page

def-gdb-memory-show-page is a macro defined in gdb-mi.el.gz.

Signature

(def-gdb-memory-show-page NAME ADDRESS-VAR &optional DOC)

Documentation

Define a function NAME which show new address in memory buffer.

The defined function switches Memory buffer to show address stored in ADDRESS-VAR variable.

DOC is an optional documentation string.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(defmacro def-gdb-memory-show-page (name address-var &optional doc)
  "Define a function NAME which show new address in memory buffer.

The defined function switches Memory buffer to show address
stored in ADDRESS-VAR variable.

DOC is an optional documentation string."
  `(defun ,name
     ,(when doc doc)
     (interactive)
     (let ((gdb-memory-address ,address-var))
       (gdb-invalidate-memory))))