diff src/.gdbinit @ 57306:aca7edaa93d4

(pp): Shorthand for p ARG + pr. (ff): New command: flush frame updates (X only).
author Kim F. Storm <storm@cua.dk>
date Mon, 04 Oct 2004 13:34:59 +0000
parents c17438f97e46
children d1917e4b98e7 d83f49cefda3 ff0e824afa37
line wrap: on
line diff
--- a/src/.gdbinit	Mon Oct 04 13:34:31 2004 +0000
+++ b/src/.gdbinit	Mon Oct 04 13:34:59 2004 +0000
@@ -60,6 +60,16 @@
 Works only when an inferior emacs is executing.
 end
 
+# Print out s-expressions
+define pp
+  set $tmp = $arg0
+  set debug_print ($tmp)
+end
+document pp
+Print the argument as an emacs s-expression
+Works only when an inferior emacs is executing.
+end
+
 define xtype
   xgettype $
   output $type
@@ -429,6 +439,16 @@
 end
 xreload
 
+# Flush display (X only)
+define ff
+  set x_flush (0)
+end
+document ff
+Flush pending X window display updates to screen.
+Works only when an inferior emacs is executing.
+end
+
+
 define hook-run
   xreload
 end